Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.0009058, allocations: 75.7 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009414/0.0009414, allocations: 162.6 kB / 24.99 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9524/0.9524, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 273 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.927e-05, allocations: 6.312 kB / 273 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00266/0.002689, allocations: 1.399 MB / 274.4 MB, free: 400 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.008503, allocations: 4.056 MB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.008549, allocations: 0 / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.008578, allocations: 7.922 kB / 278.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.009727, allocations: 302.7 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.01084, allocations: 0.5173 MB / 279.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.01094, allocations: 55.61 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.01098, allocations: 4 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.01112, allocations: 47.88 kB / 279.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000719/0.01184, allocations: 367.2 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.01186, allocations: 0 / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009076/0.01277, allocations: 0.5456 MB / 280.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.01278, allocations: 3.938 kB / 280.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.01281, allocations: 12 kB / 280.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.01356, allocations: 498.6 kB / 280.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01356, allocations: 0 / 280.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01356, allocations: 4 kB / 280.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.01357, allocations: 0 / 280.8 MB, free: 9.965 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005517/0.01412, allocations: 471.6 kB / 281.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.01416, allocations: 11.98 kB / 281.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.01421, allocations: 8.938 kB / 281.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.01441, allocations: 128.5 kB / 281.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.01443, allocations: 4.359 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.01445, allocations: 12.31 kB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.0146, allocations: 78.08 kB / 281.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.01461, allocations: 4 kB / 281.5 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.01462, allocations: 4 kB / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.01463, allocations: 0 / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.01468, allocations: 11.98 kB / 281.5 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.01484, allocations: 132.3 kB / 281.6 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.0151, allocations: 90.19 kB / 281.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.01514, allocations: 27.42 kB / 281.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.01549, allocations: 131.9 kB / 281.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.01552, allocations: 41.33 kB / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.01552, allocations: 0 / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002231/0.01574, allocations: 81.86 kB / 282 MB, free: 8.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.01579, allocations: 77.11 kB / 282.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.01589, allocations: 173.9 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.0159, allocations: 25.7 kB / 282.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.01595, allocations: 134.9 kB / 282.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.01599, allocations: 19.8 kB / 282.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.01603, allocations: 31.36 kB / 282.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.01616, allocations: 492.1 kB / 282.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.01619, allocations: 15.98 kB / 282.9 MB, free: 7.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.01624, allocations: 42.75 kB / 283 MB, free: 7.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.01632, allocations: 58.67 kB / 283 MB, free: 7.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01632, allocations: 4 kB / 283 MB, free: 7.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001494/0.01647, allocations: 81.5 kB / 283.1 MB, free: 7.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01649, allocations: 4 kB / 283.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01649, allocations: 4 kB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01651, allocations: 8 kB / 283.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.01658, allocations: 15.98 kB / 283.2 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01658, allocations: 0 / 283.2 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.01662, allocations: 7.938 kB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01663, allocations: 0 / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.01671, allocations: 160.6 kB / 283.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.01674, allocations: 7.953 kB / 283.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.017, allocations: 113.1 kB / 283.4 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.01701, allocations: 8 kB / 283.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01701, allocations: 0 / 283.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01702, allocations: 0 / 283.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.01713, allocations: 132.5 kB / 283.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01714, allocations: 0 / 283.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.01721, allocations: 12 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.01722, allocations: 3.984 kB / 283.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01723, allocations: 4 kB / 283.6 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.01723, allocations: 7.938 kB / 283.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01723, allocations: 0 / 283.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.01746, allocations: 136.5 kB / 283.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.01749, allocations: 7.938 kB / 283.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.0175, allocations: 8 kB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.01754, allocations: 3.938 kB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.01758, allocations: 7.984 kB / 283.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.01759, allocations: 0 / 283.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.01765, allocations: 139.2 kB / 283.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01765, allocations: 0 / 283.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.01806, allocations: 131.5 kB / 284 MB, free: 6.371 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005074/0.01857, allocations: 306.8 kB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.0187, allocations: 43.61 kB / 284.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01871, allocations: 4 kB / 284.4 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.01876, allocations: 27.61 kB / 284.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01898, allocations: 23.86 kB / 284.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007787/0.01976, allocations: 262 kB / 284.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.0198, allocations: 63.28 kB / 284.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.01987, allocations: 35.77 kB / 284.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.01991, allocations: 16.5 kB / 284.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01991, allocations: 0 / 284.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of Templates: time 0.006818/0.02673, allocations: 3.18 MB / 288 MB, free: 2.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7807080999482423]