Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.3 MB / 214.4 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001006, allocations: 90.22 kB / 262.5 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.566e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7816/0.888, allocations: 189.6 MB / 0.5397 GB, free: 149.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8883, allocations: 77.89 kB / 0.5398 GB, free: 149.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0842/0.9726, allocations: 36.73 MB / 0.5757 GB, free: 119.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.9726, allocations: 0 / 0.5757 GB, free: 119.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.9727, allocations: 4 kB / 0.5757 GB, free: 119.9 MB / 410.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.0008776/0.9736, allocations: 0.4901 MB / 0.5761 GB, free: 119.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9736, allocations: 8.031 kB / 0.5761 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.9737, allocations: 4 kB / 0.5761 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.9739, allocations: 187.7 kB / 0.5763 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.9739, allocations: 3.953 kB / 0.5763 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.9739, allocations: 0 / 0.5763 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.611e-05/0.974, allocations: 15.98 kB / 0.5763 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.975e-05/0.9741, allocations: 59.34 kB / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9741, allocations: 0 / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.9742, allocations: 0 / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9742, allocations: 0 / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.9744, allocations: 151 kB / 0.5765 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.9746, allocations: 69.38 kB / 0.5766 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.9746, allocations: 21.78 kB / 0.5766 GB, free: 118.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009996/0.9756, allocations: 1.908 MB / 0.5785 GB, free: 116.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.9757, allocations: 34.55 kB / 0.5785 GB, free: 116.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.9757, allocations: 0 / 0.5785 GB, free: 116.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006223/0.9763, allocations: 121.5 kB / 0.5786 GB, free: 116.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.9764, allocations: 81.11 kB / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.9764, allocations: 108.9 kB / 0.5788 GB, free: 116 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.9765, allocations: 25.7 kB / 0.5788 GB, free: 116 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.9765, allocations: 84.14 kB / 0.5789 GB, free: 115.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.9765, allocations: 19.7 kB / 0.5789 GB, free: 115.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.9765, allocations: 0 / 0.5789 GB, free: 115.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.9766, allocations: 318.8 kB / 0.5793 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.9766, allocations: 7.938 kB / 0.5793 GB, free: 115.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.9767, allocations: 39.42 kB / 0.5793 GB, free: 115.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.9771, allocations: 75.91 kB / 0.5794 GB, free: 115.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.9771, allocations: 0 / 0.5794 GB, free: 115.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004498/0.9775, allocations: 137.6 kB / 0.5795 GB, free: 115.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9776, allocations: 4 kB / 0.5795 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9776, allocations: 3.953 kB / 0.5795 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9776, allocations: 8.062 kB / 0.5795 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.9777, allocations: 19.92 kB / 0.5795 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9777, allocations: 0 / 0.5795 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.9777, allocations: 11.88 kB / 0.5795 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.9778, allocations: 4 kB / 0.5795 GB, free: 115.2 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.9778, allocations: 105 kB / 0.5796 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.9778, allocations: 7.906 kB / 0.5797 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.9785, allocations: 169.8 kB / 0.5798 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9785, allocations: 3.953 kB / 0.5798 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9785, allocations: 4 kB / 0.5798 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9785, allocations: 0 / 0.5798 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.64e-05/0.9786, allocations: 154.1 kB / 0.58 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9786, allocations: 0 / 0.58 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.451e-05/0.9787, allocations: 19.92 kB / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9787, allocations: 0 / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.9787, allocations: 4 kB / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9787, allocations: 4 kB / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9787, allocations: 0 / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.9793, allocations: 207.4 kB / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.9793, allocations: 93.06 kB / 0.5803 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.9794, allocations: 0 / 0.5803 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.9794, allocations: 4 kB / 0.5803 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.9795, allocations: 12 kB / 0.5803 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.9795, allocations: 4 kB / 0.5803 GB, free: 114.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.9795, allocations: 95.2 kB / 0.5804 GB, free: 114.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9795, allocations: 0 / 0.5804 GB, free: 114.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005869/0.9801, allocations: 187.7 kB / 0.5806 GB, free: 114.1 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007652/0.9809, allocations: 386.8 kB / 0.5809 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.981, allocations: 31.94 kB / 0.581 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.981, allocations: 0 / 0.581 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.9811, allocations: 31.92 kB / 0.581 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.9813, allocations: 8 kB / 0.581 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.9817, allocations: 217.5 kB / 0.5812 GB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.9819, allocations: 0.6885 MB / 0.5819 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.9819, allocations: 35.91 kB / 0.5819 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.982, allocations: 19.42 kB / 0.5819 GB, free: 112.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.982, allocations: 0 / 0.5819 GB, free: 112.6 MB / 410.7 MB Notification: Performance of Templates: time 0.006404/0.9884, allocations: 3.469 MB / 0.5853 GB, free: 109.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches