Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 181.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 225.7 MB / 243.2 MB, free: 8.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007346/0.0007346, allocations: 94.28 kB / 294.4 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002464, allocations: 15.94 kB / 354.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1818, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001027/0.1828, allocations: 1.076 MB / 405.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2881/0.471, allocations: 137.9 MB / 0.5308 GB, free: 13.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.4711, allocations: 0 / 0.5308 GB, free: 13.7 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.4711, allocations: 7.938 kB / 0.5308 GB, free: 13.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.4721, allocations: 201.2 kB / 0.531 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4734, allocations: 341.5 kB / 0.5313 GB, free: 13.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.4735, allocations: 55.81 kB / 0.5314 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.4735, allocations: 6.109 kB / 0.5314 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.4736, allocations: 21.16 kB / 0.5314 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.4737, allocations: 32.55 kB / 0.5314 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.4737, allocations: 4 kB / 0.5314 GB, free: 13.56 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.475, allocations: 0.5888 MB / 0.532 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.4751, allocations: 8.953 kB / 0.532 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.4751, allocations: 50.94 kB / 0.5321 GB, free: 13.48 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.4764, allocations: 0.4902 MB / 0.5326 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4764, allocations: 0 / 0.5326 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4764, allocations: 0 / 0.5326 GB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4764, allocations: 0 / 0.5326 GB, free: 13.45 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.0005559/0.477, allocations: 427.1 kB / 0.533 GB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.477, allocations: 8.75 kB / 0.533 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.478, allocations: 96.52 kB / 0.5331 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.4783, allocations: 215.2 kB / 0.5333 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.4783, allocations: 15.05 kB / 0.5333 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.4783, allocations: 7.844 kB / 0.5333 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.4785, allocations: 92 kB / 0.5334 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4786, allocations: 0.875 kB / 0.5334 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4786, allocations: 3.375 kB / 0.5334 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4786, allocations: 0 / 0.5334 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.4788, allocations: 42.72 kB / 0.5334 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.479, allocations: 214.5 kB / 0.5336 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.4795, allocations: 122.8 kB / 0.5337 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4796, allocations: 36.92 kB / 0.5338 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/0.4803, allocations: 0.9909 MB / 0.5347 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4803, allocations: 32.94 kB / 0.5348 GB, free: 11.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4803, allocations: 3.5 kB / 0.5348 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004261/0.4808, allocations: 127.5 kB / 0.5349 GB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.4808, allocations: 77.11 kB / 0.535 GB, free: 11.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.481, allocations: 157.2 kB / 0.5351 GB, free: 11.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.481, allocations: 33.52 kB / 0.5352 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.4811, allocations: 86.33 kB / 0.5352 GB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.4811, allocations: 20.86 kB / 0.5353 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.4812, allocations: 3.688 kB / 0.5353 GB, free: 10.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4813, allocations: 320.9 kB / 0.5356 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.4814, allocations: 25.42 kB / 0.5356 GB, free: 10.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.4815, allocations: 56.95 kB / 0.5356 GB, free: 10.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.4817, allocations: 81.11 kB / 0.5357 GB, free: 10.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4817, allocations: 0 / 0.5357 GB, free: 10.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003009/0.482, allocations: 126.1 kB / 0.5358 GB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.482, allocations: 6.844 kB / 0.5359 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4821, allocations: 3.594 kB / 0.5359 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4821, allocations: 4 kB / 0.5359 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4822, allocations: 28.27 kB / 0.5359 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.4822, allocations: 0 / 0.5359 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.4824, allocations: 12.75 kB / 0.5359 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.4824, allocations: 9.203 kB / 0.5359 GB, free: 10.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.4825, allocations: 121.4 kB / 0.536 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.4826, allocations: 11.25 kB / 0.536 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.4831, allocations: 226.5 kB / 0.5362 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4831, allocations: 5.953 kB / 0.5363 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4831, allocations: 0 / 0.5363 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4831, allocations: 7.938 kB / 0.5363 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.4833, allocations: 214.1 kB / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4833, allocations: 0 / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.4835, allocations: 23.25 kB / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4835, allocations: 3.375 kB / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4835, allocations: 9.25 kB / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4835, allocations: 0 / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4835, allocations: 3.375 kB / 0.5365 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.4839, allocations: 180.7 kB / 0.5367 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.484, allocations: 98.38 kB / 0.5368 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.4841, allocations: 4.094 kB / 0.5368 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4843, allocations: 2.781 kB / 0.5368 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.4843, allocations: 12.2 kB / 0.5368 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4843, allocations: 5.109 kB / 0.5368 GB, free: 9.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4845, allocations: 131.2 kB / 0.5369 GB, free: 9.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4845, allocations: 0 / 0.5369 GB, free: 9.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005595/0.4851, allocations: 128.1 kB / 0.537 GB, free: 9.863 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 (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.0008118/0.4859, allocations: 330.3 kB / 0.5374 GB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.4862, allocations: 84.31 kB / 0.5374 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4862, allocations: 0 / 0.5374 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4863, allocations: 40.75 kB / 0.5375 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.4865, allocations: 14.36 kB / 0.5375 GB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.4871, allocations: 355.8 kB / 0.5378 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4873, allocations: 0.6895 MB / 0.5385 GB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005638/0.4879, allocations: 434.6 kB / 0.5389 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4881, allocations: 38.39 kB / 0.539 GB, free: 8.543 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4881, allocations: 0 / 0.539 GB, free: 8.543 MB / 394.7 MB Notification: Performance of Templates: time 0.008515/0.4966, allocations: 5.03 MB / 0.5439 GB, free: 5.941 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches