Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009928/0.0009928, allocations: 191.2 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007535/0.0007537, allocations: 92.59 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002155, allocations: 8 kB / 356.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1855, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001017/0.1866, allocations: 1.076 MB / 409.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2853/0.4719, allocations: 135.1 MB / 0.5315 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.472, allocations: 0.625 kB / 0.5315 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.472, allocations: 6.047 kB / 0.5315 GB, free: 13.42 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007409/0.4728, allocations: 191 kB / 0.5317 GB, free: 13.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.4736, allocations: 330.4 kB / 0.532 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.665e-05/0.4737, allocations: 51.5 kB / 0.532 GB, free: 13.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.4737, allocations: 5.219 kB / 0.532 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.4738, allocations: 24.59 kB / 0.5321 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.4738, allocations: 26.14 kB / 0.5321 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.4739, allocations: 6.75 kB / 0.5321 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.4748, allocations: 0.5852 MB / 0.5327 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.4748, allocations: 13.53 kB / 0.5327 GB, free: 13.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.4749, allocations: 47.39 kB / 0.5327 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.4753, allocations: 350.5 kB / 0.5331 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4754, allocations: 0.5625 kB / 0.5331 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4754, allocations: 0 / 0.5331 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.4754, allocations: 0.5312 kB / 0.5331 GB, free: 13.18 MB / 394.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.0004921/0.4759, allocations: 415.2 kB / 0.5335 GB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4759, allocations: 9.219 kB / 0.5335 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.4772, allocations: 113.7 kB / 0.5336 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.4775, allocations: 223.4 kB / 0.5338 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4775, allocations: 4.875 kB / 0.5338 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.4776, allocations: 6.656 kB / 0.5338 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.4778, allocations: 92 kB / 0.5339 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4778, allocations: 0.5625 kB / 0.5339 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4778, allocations: 6.312 kB / 0.5339 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4778, allocations: 5.25 kB / 0.5339 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.478, allocations: 40.38 kB / 0.5339 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.4782, allocations: 206.7 kB / 0.5341 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.4787, allocations: 129.8 kB / 0.5343 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.4788, allocations: 37.59 kB / 0.5343 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.4794, allocations: 0.982 MB / 0.5352 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4794, allocations: 43.75 kB / 0.5353 GB, free: 11.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.4794, allocations: 6.719 kB / 0.5353 GB, free: 11.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004268/0.4799, allocations: 125.3 kB / 0.5354 GB, free: 11.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4799, allocations: 83.27 kB / 0.5355 GB, free: 10.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.4801, allocations: 155.5 kB / 0.5356 GB, free: 10.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4802, allocations: 27.2 kB / 0.5357 GB, free: 10.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.4802, allocations: 83.83 kB / 0.5357 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.4803, allocations: 24.53 kB / 0.5358 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.4803, allocations: 1.312 kB / 0.5358 GB, free: 10.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.4804, allocations: 321.1 kB / 0.5361 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.4805, allocations: 30.28 kB / 0.5361 GB, free: 10.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.4806, allocations: 48.38 kB / 0.5362 GB, free: 10.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4808, allocations: 81.81 kB / 0.5362 GB, free: 10.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4808, allocations: 5.656 kB / 0.5362 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003177/0.4812, allocations: 119.7 kB / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4812, allocations: 5.75 kB / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4812, allocations: 1.5 kB / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4812, allocations: 1.469 kB / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4814, allocations: 28.48 kB / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4814, allocations: 0 / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.4815, allocations: 10.5 kB / 0.5364 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4816, allocations: 11.5 kB / 0.5364 GB, free: 10.27 MB / 394.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 7.465e-05/0.4817, allocations: 115.3 kB / 0.5365 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.4817, allocations: 6.5 kB / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.4822, allocations: 244 kB / 0.5368 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4822, allocations: 5.312 kB / 0.5368 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4822, allocations: 4.109 kB / 0.5368 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4822, allocations: 4.328 kB / 0.5368 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4824, allocations: 217.8 kB / 0.537 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.4824, allocations: 1.375 kB / 0.537 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.4826, allocations: 23.78 kB / 0.537 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4826, allocations: 0 / 0.537 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.4826, allocations: 5.109 kB / 0.537 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4826, allocations: 0 / 0.537 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4826, allocations: 4 kB / 0.537 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.483, allocations: 183.7 kB / 0.5372 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.4831, allocations: 97.83 kB / 0.5373 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4831, allocations: 4.062 kB / 0.5373 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4833, allocations: 5.312 kB / 0.5373 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.4834, allocations: 14.69 kB / 0.5373 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4834, allocations: 5.438 kB / 0.5373 GB, free: 9.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4835, allocations: 126.3 kB / 0.5374 GB, free: 9.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4835, allocations: 0 / 0.5374 GB, free: 9.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.484, allocations: 137 kB / 0.5376 GB, free: 9.609 MB / 394.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 (8): * Single equations (assignments): 7 * 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.0006291/0.4847, allocations: 309.4 kB / 0.5379 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.4849, allocations: 83.61 kB / 0.5379 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4849, allocations: 2.938 kB / 0.5379 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.485, allocations: 39.5 kB / 0.538 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.4853, allocations: 16.5 kB / 0.538 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.4858, allocations: 387.3 kB / 0.5384 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.486, allocations: 0.6897 MB / 0.539 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.4861, allocations: 50.05 kB / 0.5391 GB, free: 8.477 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4861, allocations: 0 / 0.5391 GB, free: 8.477 MB / 394.7 MB Notification: Performance of Templates: time 0.005483/0.4916, allocations: 4.17 MB / 0.5432 GB, free: 6.664 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches