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.001048/0.001048, allocations: 110.6 kB / 18.4 MB, free: 4.66 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.001013/0.001013, allocations: 190 kB / 19.34 MB, free: 3.73 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.236/1.236, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001211/0.001211, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06888/0.0701, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002004/0.07212, allocations: 1.361 MB / 377.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1645/0.2366, allocations: 23.68 MB / 400.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.2367, allocations: 0 / 400.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.835e-05/0.2368, allocations: 10.61 kB / 400.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.2505, allocations: 5.643 MB / 406.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.2511, allocations: 343.2 kB / 406.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2513, allocations: 77.19 kB / 406.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.2513, allocations: 5.859 kB / 406.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.2514, allocations: 35.22 kB / 407 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.2514, allocations: 38.77 kB / 407 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2515, allocations: 2.938 kB / 407 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.2651, allocations: 8.751 MB / 415.8 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.2651, allocations: 17.75 kB / 415.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.2652, allocations: 28.98 kB / 415.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006101/0.2713, allocations: 4.349 MB / 420.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2713, allocations: 0 / 420.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2713, allocations: 0 / 420.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2713, allocations: 0 / 420.2 MB, free: 3.328 MB / 334.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.001752/0.2731, allocations: 0.9434 MB / 421.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2731, allocations: 8.031 kB / 421.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.2732, allocations: 8.891 kB / 421.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2733, allocations: 196 kB / 421.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2733, allocations: 3.844 kB / 421.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.2733, allocations: 0 / 421.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.2735, allocations: 75.38 kB / 421.4 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2735, allocations: 4 kB / 421.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2735, allocations: 0.875 kB / 421.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2736, allocations: 4 kB / 421.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2737, allocations: 31.92 kB / 421.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.2739, allocations: 190.5 kB / 421.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.2742, allocations: 105 kB / 421.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.2743, allocations: 33.77 kB / 421.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.2743, allocations: 11.94 kB / 421.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2743, allocations: 30.56 kB / 421.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.2743, allocations: 0 / 421.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003029/0.2747, allocations: 109.5 kB / 421.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2747, allocations: 81.11 kB / 422 MB, free: 1.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2748, allocations: 137.8 kB / 422.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2749, allocations: 25.7 kB / 422.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.2749, allocations: 84.14 kB / 422.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.2749, allocations: 23.8 kB / 422.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.275, allocations: 17.7 kB / 422.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.2751, allocations: 322.8 kB / 422.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.2751, allocations: 19.98 kB / 422.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.2752, allocations: 36.2 kB / 422.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2754, allocations: 49.7 kB / 422.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2754, allocations: 0 / 422.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/0.2756, allocations: 86.62 kB / 422.8 MB, free: 476 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2756, allocations: 8 kB / 422.8 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2756, allocations: 4 kB / 422.8 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2756, allocations: 0 / 422.8 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.2757, allocations: 12 kB / 422.8 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2757, allocations: 0 / 422.8 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.2757, allocations: 3.984 kB / 422.8 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2757, allocations: 4 kB / 422.8 MB, free: 444 kB / 334.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.317e-05/0.2758, allocations: 113.8 kB / 422.9 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.2759, allocations: 4 kB / 422.9 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.2761, allocations: 115.9 kB / 423 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2761, allocations: 0 / 423 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2761, allocations: 0 / 423 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.2762, allocations: 89.03 kB / 423.1 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2762, allocations: 0 / 423.1 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.2763, allocations: 7.938 kB / 423.1 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.2764, allocations: 15.92 kB / 423.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002527/0.2766, allocations: 236.6 kB / 423.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000254/0.2769, allocations: 334.8 kB / 423.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.79e-05/0.277, allocations: 29.09 kB / 423.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.718e-05/0.277, allocations: 115.1 kB / 423.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.2771, allocations: 0 / 423.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005/0.2821, allocations: 1.729 MB / 425.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004594/0.2825, allocations: 0.624 MB / 426.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Templates: time 0.04381/0.3264, allocations: 36.63 MB / 462.8 MB, free: 8.25 MB / 382.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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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