Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.0009793, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006965/0.0006965, allocations: 88.14 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.0002441, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2348, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001501/0.2364, allocations: 1.066 MB / 377.7 MB, free: 44.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3157/0.5521, allocations: 139.5 MB / 0.5051 GB, free: 1.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.5522, allocations: 2.062 kB / 0.5051 GB, free: 1.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.5522, allocations: 1.781 kB / 0.5051 GB, free: 1.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008454/0.5531, allocations: 206.9 kB / 0.5053 GB, free: 1.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.5545, allocations: 0.5246 MB / 0.5058 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.5546, allocations: 59.27 kB / 0.5058 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.5547, allocations: 6.078 kB / 0.5058 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.5547, allocations: 20.33 kB / 0.5059 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.5548, allocations: 29.75 kB / 0.5059 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5548, allocations: 3 kB / 0.5059 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.5562, allocations: 0.7494 MB / 0.5066 GB, free: 1.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.5562, allocations: 4.516 kB / 0.5066 GB, free: 1.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.5562, allocations: 52.03 kB / 0.5067 GB, free: 1.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.5573, allocations: 0.6114 MB / 0.5073 GB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5573, allocations: 0 / 0.5073 GB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5573, allocations: 0 / 0.5073 GB, free: 1.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.5573, allocations: 0 / 0.5073 GB, free: 1.211 MB / 378.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.0005856/0.5579, allocations: 441 kB / 0.5077 GB, free: 16.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.558, allocations: 15.16 kB / 0.5077 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/0.5589, allocations: 100.4 kB / 0.5078 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.5592, allocations: 219.7 kB / 0.508 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5592, allocations: 3.938 kB / 0.508 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.5593, allocations: 7.094 kB / 0.508 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.5594, allocations: 99.3 kB / 0.5081 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5595, allocations: 0 / 0.5081 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5595, allocations: 1.75 kB / 0.5081 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5595, allocations: 3.984 kB / 0.5081 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.5597, allocations: 47.25 kB / 0.5082 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.5599, allocations: 213.2 kB / 0.5084 GB, free: 16.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.5604, allocations: 131 kB / 0.5085 GB, free: 16.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5605, allocations: 35.22 kB / 0.5085 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.5611, allocations: 0.9884 MB / 0.5095 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.5611, allocations: 36.34 kB / 0.5095 GB, free: 15.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5612, allocations: 0 / 0.5095 GB, free: 15.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004266/0.5616, allocations: 127.8 kB / 0.5097 GB, free: 15.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5616, allocations: 80.39 kB / 0.5097 GB, free: 14.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.5618, allocations: 150.1 kB / 0.5099 GB, free: 14.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5619, allocations: 28.7 kB / 0.5099 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.5619, allocations: 84.91 kB / 0.51 GB, free: 14.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.5619, allocations: 29.61 kB / 0.51 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.562, allocations: 7.875 kB / 0.51 GB, free: 14.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5621, allocations: 316.7 kB / 0.5103 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.5622, allocations: 26.2 kB / 0.5103 GB, free: 14.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.5623, allocations: 53.27 kB / 0.5104 GB, free: 14.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5625, allocations: 85.48 kB / 0.5105 GB, free: 14.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5625, allocations: 3.938 kB / 0.5105 GB, free: 14.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002812/0.5628, allocations: 119.3 kB / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5628, allocations: 9.531 kB / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5628, allocations: 0 / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5628, allocations: 1.906 kB / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5629, allocations: 31.7 kB / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.563, allocations: 3.375 kB / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.5631, allocations: 6.188 kB / 0.5106 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.5632, allocations: 7.172 kB / 0.5106 GB, free: 14.3 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.565e-05/0.5633, allocations: 119.7 kB / 0.5108 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.5633, allocations: 7.25 kB / 0.5108 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.5638, allocations: 241.7 kB / 0.511 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5639, allocations: 2.938 kB / 0.511 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5639, allocations: 0 / 0.511 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5639, allocations: 0 / 0.511 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.564, allocations: 214.5 kB / 0.5112 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5641, allocations: 0 / 0.5112 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.5642, allocations: 29.92 kB / 0.5112 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.5642, allocations: 0 / 0.5112 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5643, allocations: 4.688 kB / 0.5112 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5643, allocations: 10.89 kB / 0.5113 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5643, allocations: 1.75 kB / 0.5113 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.5646, allocations: 181.9 kB / 0.5114 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.5647, allocations: 96.33 kB / 0.5115 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.5648, allocations: 3.219 kB / 0.5115 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5649, allocations: 9.594 kB / 0.5115 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.565, allocations: 7.938 kB / 0.5115 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.565, allocations: 5.984 kB / 0.5115 GB, free: 13.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.5652, allocations: 135.6 kB / 0.5117 GB, free: 13.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5652, allocations: 0 / 0.5117 GB, free: 13.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.5657, allocations: 163.9 kB / 0.5118 GB, free: 13.64 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.0007276/0.5665, allocations: 383.9 kB / 0.5122 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.5667, allocations: 76.88 kB / 0.5123 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5667, allocations: 5.859 kB / 0.5123 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.5668, allocations: 36.27 kB / 0.5123 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.567, allocations: 20.94 kB / 0.5123 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.5675, allocations: 357 kB / 0.5127 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.5678, allocations: 0.6884 MB / 0.5133 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.5683, allocations: 428.8 kB / 0.5138 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.5685, allocations: 39.17 kB / 0.5138 GB, free: 12.51 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5685, allocations: 0 / 0.5138 GB, free: 12.51 MB / 394.7 MB Notification: Performance of Templates: time 0.009845/0.5783, allocations: 5.953 MB / 0.5196 GB, free: 11.84 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches