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.001066/0.001066, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.001077/0.001077, allocations: 188.3 kB / 18.67 MB, free: 4.395 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000965/0.000965, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.21, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002283/0.2123, allocations: 1.365 MB / 402.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02701/0.2394, allocations: 23.54 MB / 426.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.2394, allocations: 0 / 426.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2395, allocations: 7.922 kB / 426.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.2522, allocations: 5.987 MB / 432.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.2528, allocations: 350.7 kB / 432.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.253, allocations: 79.69 kB / 432.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.253, allocations: 11.94 kB / 432.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.2531, allocations: 27.92 kB / 432.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.2532, allocations: 31.89 kB / 432.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2532, allocations: 4 kB / 432.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.2666, allocations: 8.868 MB / 441.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.2667, allocations: 15.92 kB / 441.7 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.2667, allocations: 31.84 kB / 441.7 MB, free: 460 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.2731, allocations: 4.363 MB / 446.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2732, allocations: 3.938 kB / 446.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2732, allocations: 0 / 446.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2732, allocations: 0 / 446.1 MB, free: 12.07 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.001902/0.2751, allocations: 0.9124 MB / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2751, allocations: 8.031 kB / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.2752, allocations: 8.844 kB / 447 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2753, allocations: 207.8 kB / 447.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2754, allocations: 0 / 447.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2754, allocations: 4 kB / 447.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2755, allocations: 67.39 kB / 447.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2756, allocations: 3.984 kB / 447.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2756, allocations: 8 kB / 447.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2756, allocations: 0 / 447.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2757, allocations: 39.91 kB / 447.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2759, allocations: 186.5 kB / 447.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.2762, allocations: 101.2 kB / 447.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.2763, allocations: 29.64 kB / 447.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.2764, allocations: 12 kB / 447.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2764, allocations: 38.56 kB / 447.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2764, allocations: 0 / 447.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003052/0.2767, allocations: 97.5 kB / 447.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2768, allocations: 85.11 kB / 447.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2769, allocations: 137.8 kB / 448 MB, free: 9.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2769, allocations: 29.69 kB / 448 MB, free: 9.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.277, allocations: 84.14 kB / 448.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.277, allocations: 15.75 kB / 448.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.277, allocations: 21.7 kB / 448.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2771, allocations: 322.8 kB / 448.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.2772, allocations: 16.36 kB / 448.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.2773, allocations: 33.7 kB / 448.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.2774, allocations: 53.64 kB / 448.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2774, allocations: 0 / 448.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001968/0.2776, allocations: 89.86 kB / 448.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2777, allocations: 7.938 kB / 448.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2777, allocations: 0 / 448.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2777, allocations: 4 kB / 448.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.2777, allocations: 12 kB / 448.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2778, allocations: 0 / 448.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.2778, allocations: 4 kB / 448.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2778, allocations: 4 kB / 448.7 MB, free: 9.203 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 7.197e-05/0.2779, allocations: 117.8 kB / 448.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.2779, allocations: 7.938 kB / 448.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.2782, allocations: 105.4 kB / 448.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2782, allocations: 7.984 kB / 448.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2782, allocations: 0 / 448.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.2783, allocations: 89.09 kB / 449 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2783, allocations: 0 / 449 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.2784, allocations: 7.938 kB / 449 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2784, allocations: 7.984 kB / 449 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000248/0.2787, allocations: 236.2 kB / 449.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002836/0.279, allocations: 329.9 kB / 449.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.679e-05/0.2791, allocations: 27.92 kB / 449.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.2791, allocations: 111.2 kB / 449.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of Backend: time 2.1e-07/0.2791, allocations: 0 / 449.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.2847, allocations: 1.688 MB / 451.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of SimCode: time 0.0004761/0.2851, allocations: 0.6178 MB / 452 MB, free: 5.762 MB / 366.1 MB Notification: Performance of Templates: time 0.04338/0.3285, allocations: 35.2 MB / 487.2 MB, free: 2.531 MB / 398.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/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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches