Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002722/0.002727, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.653/3.653, allocations: 205.4 MB / 222.5 MB, free: 9.098 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 89.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006399/0.0006401, allocations: 12 kB / 326.9 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.5423, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.003695/0.5461, allocations: 1.044 MB / 375.6 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.5625, allocations: 5.514 MB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.5627, allocations: 4 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.5627, allocations: 3.984 kB / 381.1 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.5647, allocations: 236.8 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.5684, allocations: 0.5083 MB / 381.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.5686, allocations: 41.95 kB / 381.9 MB, free: 39.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.5687, allocations: 2.562 kB / 381.9 MB, free: 39.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.5689, allocations: 34.56 kB / 381.9 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.5706, allocations: 375.5 kB / 382.3 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.5707, allocations: 1.5 kB / 382.3 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.5734, allocations: 0.5457 MB / 382.8 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.5735, allocations: 9.125 kB / 382.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.5736, allocations: 39.28 kB / 382.9 MB, free: 39.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.576, allocations: 318.6 kB / 383.2 MB, free: 39.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5761, allocations: 0 / 383.2 MB, free: 39.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.398e-06/0.5761, allocations: 0 / 383.2 MB, free: 39.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.5761, allocations: 0 / 383.2 MB, free: 39.12 MB / 298.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.001182/0.5773, allocations: 450.2 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/0.5774, allocations: 9.375 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.5775, allocations: 6.406 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.5779, allocations: 194.1 kB / 383.8 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5779, allocations: 1.156 kB / 383.8 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.5779, allocations: 2.562 kB / 383.8 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.5782, allocations: 62.36 kB / 383.9 MB, free: 38.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5782, allocations: 0 / 383.9 MB, free: 38.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.5783, allocations: 1.406 kB / 383.9 MB, free: 38.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.5783, allocations: 0 / 383.9 MB, free: 38.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.5785, allocations: 22.98 kB / 383.9 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.5788, allocations: 179.8 kB / 384.1 MB, free: 38.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.5794, allocations: 75.09 kB / 384.2 MB, free: 38.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.5809, allocations: 1.533 MB / 385.7 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.581, allocations: 35.88 kB / 385.7 MB, free: 36.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.338e-06/0.581, allocations: 1.219 kB / 385.7 MB, free: 36.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006656/0.5817, allocations: 84 kB / 385.8 MB, free: 36.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5818, allocations: 78.61 kB / 385.9 MB, free: 36.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5819, allocations: 112.9 kB / 386 MB, free: 35.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.582, allocations: 29.7 kB / 386 MB, free: 35.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.582, allocations: 154.6 kB / 386.2 MB, free: 35.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.5821, allocations: 31.25 kB / 386.2 MB, free: 35.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.5821, allocations: 0 / 386.2 MB, free: 35.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.5822, allocations: 312.2 kB / 386.5 MB, free: 35.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5824, allocations: 15.77 kB / 386.5 MB, free: 35.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.5826, allocations: 41.92 kB / 386.6 MB, free: 35.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.5828, allocations: 21.2 kB / 386.6 MB, free: 35.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5828, allocations: 1.062 kB / 386.6 MB, free: 35.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004828/0.5833, allocations: 83.8 kB / 386.7 MB, free: 35.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5834, allocations: 5.406 kB / 386.7 MB, free: 35.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5834, allocations: 4.812 kB / 386.7 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.5834, allocations: 1.062 kB / 386.7 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.5837, allocations: 17.23 kB / 386.7 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.5837, allocations: 9.312 kB / 386.7 MB, free: 35.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5838, allocations: 10.47 kB / 386.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.5839, allocations: 2.438 kB / 386.7 MB, free: 35.29 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.584, allocations: 112.6 kB / 386.8 MB, free: 35.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.5841, allocations: 7.719 kB / 386.8 MB, free: 35.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.5848, allocations: 131.3 kB / 387 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.5849, allocations: 0.7812 kB / 387 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5849, allocations: 0.8438 kB / 387 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5849, allocations: 1.156 kB / 387 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.5851, allocations: 173 kB / 387.1 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5852, allocations: 5.078 kB / 387.1 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.5854, allocations: 13.75 kB / 387.2 MB, free: 34.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.5855, allocations: 1.094 kB / 387.2 MB, free: 34.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.5855, allocations: 8.984 kB / 387.2 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.5855, allocations: 1.125 kB / 387.2 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5855, allocations: 4 kB / 387.2 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.5862, allocations: 147.1 kB / 387.3 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.5863, allocations: 96.42 kB / 387.4 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.5864, allocations: 0.9688 kB / 387.4 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5865, allocations: 0.9375 kB / 387.4 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.5866, allocations: 15.33 kB / 387.4 MB, free: 34.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5867, allocations: 7.469 kB / 387.4 MB, free: 34.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.725e-05/0.5868, allocations: 86.45 kB / 387.5 MB, free: 34.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5868, allocations: 0 / 387.5 MB, free: 34.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001309/0.5881, allocations: 173 kB / 387.7 MB, free: 34.48 MB / 298.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 (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.001892/0.5901, allocations: 373.9 kB / 388.1 MB, free: 34.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.5906, allocations: 48.41 kB / 388.1 MB, free: 34.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5906, allocations: 0 / 388.1 MB, free: 34.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.5909, allocations: 33.06 kB / 388.1 MB, free: 34.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.5912, allocations: 21.33 kB / 388.2 MB, free: 34.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5923, allocations: 370.7 kB / 388.5 MB, free: 33.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.5926, allocations: 0.6898 MB / 389.2 MB, free: 33.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5927, allocations: 24.64 kB / 389.2 MB, free: 33.17 MB / 298.7 MB Notification: Performance of SimCode: time 3.817e-06/0.5927, allocations: 0 / 389.2 MB, free: 33.17 MB / 298.7 MB Notification: Performance of Templates: time 0.01562/0.6084, allocations: 3.76 MB / 393 MB, free: 29.61 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches