Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 112.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 203.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.105/2.105, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 68.02 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4123, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.004324/0.4167, allocations: 1.367 MB / 411.3 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05622/0.4729, allocations: 23.6 MB / 434.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.4731, allocations: 0 / 434.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.4734, allocations: 7.922 kB / 434.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02896/0.5023, allocations: 5.985 MB / 440.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.5038, allocations: 334.8 kB / 441.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.504, allocations: 87.62 kB / 441.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.5041, allocations: 7.938 kB / 441.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.5042, allocations: 35.89 kB / 441.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.5043, allocations: 39.83 kB / 441.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.5044, allocations: 4 kB / 441.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02794/0.5323, allocations: 8.882 MB / 450.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.5325, allocations: 11.98 kB / 450.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.5326, allocations: 31.86 kB / 450.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.5492, allocations: 4.379 MB / 454.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.5493, allocations: 0 / 454.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5493, allocations: 0 / 454.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.5493, allocations: 3.938 kB / 454.7 MB, free: 4.738 MB / 366.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.003673/0.553, allocations: 0.9163 MB / 455.6 MB, free: 3.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.5531, allocations: 12.03 kB / 455.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.5532, allocations: 8.844 kB / 455.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.5534, allocations: 203.8 kB / 455.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.5535, allocations: 0 / 455.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.5535, allocations: 7.984 kB / 455.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.5538, allocations: 67.39 kB / 455.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5538, allocations: 4 kB / 455.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5538, allocations: 0 / 455.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5538, allocations: 7.938 kB / 455.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.5541, allocations: 35.91 kB / 455.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.5544, allocations: 194.5 kB / 456.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.5549, allocations: 93.19 kB / 456.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.555, allocations: 37.7 kB / 456.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.5551, allocations: 11.98 kB / 456.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.5552, allocations: 30.56 kB / 456.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.5552, allocations: 0 / 456.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005172/0.5557, allocations: 105.5 kB / 456.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5558, allocations: 77.11 kB / 456.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.556, allocations: 141.8 kB / 456.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.556, allocations: 25.7 kB / 456.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.5561, allocations: 84.14 kB / 456.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.5561, allocations: 19.8 kB / 456.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.5562, allocations: 17.72 kB / 456.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5564, allocations: 322.8 kB / 457.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.5565, allocations: 20 kB / 457.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5566, allocations: 25.7 kB / 457.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.5569, allocations: 58 kB / 457.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5569, allocations: 0 / 457.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003234/0.5573, allocations: 81.98 kB / 457.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5573, allocations: 8 kB / 457.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5573, allocations: 7.938 kB / 457.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5573, allocations: 3.984 kB / 457.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5575, allocations: 11.98 kB / 457.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5575, allocations: 4 kB / 457.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.5576, allocations: 4.125 kB / 457.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5576, allocations: 4 kB / 457.3 MB, free: 1.859 MB / 366.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 0.0001132/0.5577, allocations: 121.7 kB / 457.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.5578, allocations: 7.906 kB / 457.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.5582, allocations: 109.5 kB / 457.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.5582, allocations: 0 / 457.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5582, allocations: 0 / 457.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5582, allocations: 0 / 457.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.5585, allocations: 181.6 kB / 457.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5585, allocations: 3.938 kB / 457.7 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.5586, allocations: 15.94 kB / 457.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5586, allocations: 0 / 457.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.5586, allocations: 4 kB / 457.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5586, allocations: 0 / 457.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5587, allocations: 11.98 kB / 457.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.559, allocations: 109.8 kB / 457.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5591, allocations: 89.09 kB / 457.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.5592, allocations: 0 / 457.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5593, allocations: 0 / 457.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.5594, allocations: 11.98 kB / 458 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.5594, allocations: 8 kB / 458 MB, free: 1.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.5595, allocations: 111.2 kB / 458.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5596, allocations: 0 / 458.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004148/0.5637, allocations: 0.9486 MB / 459 MB, free: 36 kB / 366.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.008201/0.572, allocations: 1.34 MB / 460.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.5724, allocations: 47.97 kB / 460.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5724, allocations: 4 kB / 460.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.5726, allocations: 23.92 kB / 460.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.573, allocations: 18.64 kB / 460.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.5737, allocations: 210.1 kB / 460.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.574, allocations: 0.6846 MB / 461.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.5741, allocations: 19.44 kB / 461.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5741, allocations: 0 / 461.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of Templates: time 0.04586/0.62, allocations: 18.33 MB / 479.7 MB, free: 11.27 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches