Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001192/0.001192, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001288/0.001288, allocations: 179.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002271, allocations: 5.406 kB / 300.7 MB, free: 5.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08016/0.0804, allocations: 50.43 MB / 351.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001162/0.0816, allocations: 1.039 MB / 352.2 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02234/0.1039, allocations: 20.39 MB / 372.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.104, allocations: 0 / 372.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.1041, allocations: 7.938 kB / 372.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.1163, allocations: 4.494 MB / 377.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.1169, allocations: 215.4 kB / 377.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.117, allocations: 55.84 kB / 377.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1171, allocations: 4 kB / 377.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.1171, allocations: 23.92 kB / 377.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.1172, allocations: 39.89 kB / 377.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1172, allocations: 0 / 377.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.1308, allocations: 7.834 MB / 385.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.1309, allocations: 15.97 kB / 385.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.1309, allocations: 37.64 kB / 385.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.1359, allocations: 2.784 MB / 388.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1359, allocations: 0 / 388.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1359, allocations: 0 / 388.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1359, allocations: 0 / 388.1 MB, free: 6.723 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.001928/0.1379, allocations: 0.8889 MB / 389 MB, free: 5.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1379, allocations: 12.03 kB / 389 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.138, allocations: 3.906 kB / 389 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1381, allocations: 195 kB / 389.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1382, allocations: 12 kB / 389.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1382, allocations: 0 / 389.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1383, allocations: 79.22 kB / 389.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1384, allocations: 0 / 389.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1384, allocations: 4 kB / 389.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1384, allocations: 3.984 kB / 389.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1385, allocations: 27.98 kB / 389.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1387, allocations: 190.6 kB / 389.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.139, allocations: 97.2 kB / 389.6 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.1391, allocations: 12.05 kB / 389.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1391, allocations: 42.5 kB / 389.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1391, allocations: 4 kB / 389.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002904/0.1394, allocations: 97.61 kB / 389.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1395, allocations: 85.03 kB / 389.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1396, allocations: 138 kB / 389.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1396, allocations: 29.7 kB / 390 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.1397, allocations: 80.14 kB / 390 MB, free: 4.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1397, allocations: 23.66 kB / 390.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1397, allocations: 7.938 kB / 390.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.1398, allocations: 318.8 kB / 390.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.1399, allocations: 15.98 kB / 390.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.1399, allocations: 33.7 kB / 390.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.14, allocations: 16 kB / 390.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.14, allocations: 0 / 390.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000171/0.1402, allocations: 77.59 kB / 390.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1402, allocations: 12 kB / 390.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1402, allocations: 480 / 390.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1402, allocations: 3.953 kB / 390.5 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1403, allocations: 12 kB / 390.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1403, allocations: 4 kB / 390.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.03e-05/0.1404, allocations: 0 / 390.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1404, allocations: 7.984 kB / 390.6 MB, free: 3.977 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.1405, allocations: 109.8 kB / 390.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.1405, allocations: 15.91 kB / 390.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.1407, allocations: 97.84 kB / 390.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1407, allocations: 4 kB / 390.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1407, allocations: 8.078 kB / 390.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1408, allocations: 0 / 390.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1409, allocations: 185.4 kB / 391 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1409, allocations: 0 / 391 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.141, allocations: 11.98 kB / 391 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.141, allocations: 4 kB / 391 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.141, allocations: 0 / 391 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.141, allocations: 4 kB / 391 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.141, allocations: 0 / 391 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1412, allocations: 127.6 kB / 391.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.1413, allocations: 96.98 kB / 391.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1413, allocations: 0 / 391.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1414, allocations: 8 kB / 391.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1414, allocations: 11.94 kB / 391.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1414, allocations: 4 kB / 391.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.1415, allocations: 111.2 kB / 391.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1415, allocations: 0 / 391.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00223/0.1438, allocations: 0.929 MB / 392.3 MB, free: 2.156 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 (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.003972/0.1477, allocations: 1.216 MB / 393.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1479, allocations: 47.91 kB / 393.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1479, allocations: 0 / 393.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.148, allocations: 23.98 kB / 393.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.1482, allocations: 12.28 kB / 393.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.1486, allocations: 227.1 kB / 393.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1489, allocations: 0.6887 MB / 394.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.1489, allocations: 11.98 kB / 394.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.149, allocations: 15.44 kB / 394.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.149, allocations: 0 / 394.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.03753/0.1865, allocations: 27.4 MB / 421.9 MB, free: 4.422 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches