Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 109 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 51.91 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07283/0.07393, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002142/0.07611, allocations: 1.428 MB / 328 MB, free: 3.461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.1043, allocations: 25.52 MB / 353.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.1043, allocations: 0 / 353.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.821e-05/0.1045, allocations: 7.984 kB / 353.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.1155, allocations: 4.582 MB / 358.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.1161, allocations: 311 kB / 358.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1162, allocations: 99.62 kB / 358.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1163, allocations: 3.984 kB / 358.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.1163, allocations: 35.84 kB / 358.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.1164, allocations: 39.89 kB / 358.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1164, allocations: 4 kB / 358.6 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.1296, allocations: 8.8 MB / 367.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.1297, allocations: 19.91 kB / 367.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.1297, allocations: 23.88 kB / 367.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008007/0.1377, allocations: 4.425 MB / 371.9 MB, free: 7.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1378, allocations: 4 kB / 371.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1378, allocations: 0 / 371.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1378, allocations: 0 / 371.9 MB, free: 7.48 MB / 318.1 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.001796/0.1396, allocations: 0.8931 MB / 372.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1396, allocations: 8.031 kB / 372.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.1397, allocations: 8.844 kB / 372.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1399, allocations: 203.7 kB / 373 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1399, allocations: 0 / 373 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1399, allocations: 8 kB / 373 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1401, allocations: 71.33 kB / 373.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1401, allocations: 4 kB / 373.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1401, allocations: 3.984 kB / 373.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1401, allocations: 0 / 373.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1403, allocations: 31.98 kB / 373.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1405, allocations: 190.5 kB / 373.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1408, allocations: 101.1 kB / 373.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.1408, allocations: 29.77 kB / 373.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.1409, allocations: 11.98 kB / 373.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1409, allocations: 38.56 kB / 373.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.1409, allocations: 0 / 373.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002906/0.1412, allocations: 101.5 kB / 373.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1413, allocations: 89.03 kB / 373.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1414, allocations: 137.8 kB / 373.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1414, allocations: 25.7 kB / 373.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.1415, allocations: 88.14 kB / 373.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1415, allocations: 19.75 kB / 373.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1416, allocations: 25.7 kB / 373.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1417, allocations: 314.8 kB / 374.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1417, allocations: 19.98 kB / 374.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.1418, allocations: 33.7 kB / 374.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1419, allocations: 46.08 kB / 374.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1419, allocations: 4 kB / 374.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00018/0.1421, allocations: 93.48 kB / 374.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1421, allocations: 4 kB / 374.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1421, allocations: 0 / 374.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1422, allocations: 4 kB / 374.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.1422, allocations: 8 kB / 374.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1422, allocations: 3.938 kB / 374.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.1423, allocations: 4 kB / 374.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1423, allocations: 3.984 kB / 374.5 MB, free: 4.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 7.468e-05/0.1424, allocations: 121.8 kB / 374.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1424, allocations: 11.84 kB / 374.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1427, allocations: 97.48 kB / 374.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1427, allocations: 0 / 374.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1427, allocations: 4 kB / 374.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1427, allocations: 0 / 374.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1428, allocations: 177.5 kB / 374.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1428, allocations: 0 / 374.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.1429, allocations: 19.98 kB / 374.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1429, allocations: 0 / 374.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1429, allocations: 4 kB / 374.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1429, allocations: 0 / 374.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1429, allocations: 0 / 374.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1431, allocations: 117.8 kB / 375 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.1432, allocations: 85.09 kB / 375.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1432, allocations: 4 kB / 375.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.1433, allocations: 7.984 kB / 375.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1433, allocations: 4 kB / 375.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1433, allocations: 4 kB / 375.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.1434, allocations: 119.6 kB / 375.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1434, allocations: 0 / 375.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00201/0.1454, allocations: 0.9173 MB / 376.1 MB, free: 2.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.003743/0.1492, allocations: 1.351 MB / 377.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1494, allocations: 47.91 kB / 377.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1494, allocations: 0 / 377.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.1495, allocations: 24.2 kB / 377.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1497, allocations: 23.92 kB / 377.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.1501, allocations: 194.2 kB / 377.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.1503, allocations: 0.6809 MB / 378.5 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.1504, allocations: 19.77 kB / 378.5 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.1504, allocations: 19.42 kB / 378.5 MB, free: 436 kB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1504, allocations: 0 / 378.5 MB, free: 436 kB / 318.1 MB Notification: Performance of Templates: time 0.1588/0.3093, allocations: 28.47 MB / 407 MB, free: 35.94 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches