Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 98.98 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009657/0.0009659, allocations: 47.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1949, allocations: 50.45 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001877/0.1968, allocations: 1.432 MB / 408.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.2053, allocations: 12.36 MB / 420.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.2054, allocations: 0 / 420.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.2054, allocations: 7.984 kB / 420.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.2074, allocations: 0.8571 MB / 421.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.2084, allocations: 0.5327 MB / 422.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.2085, allocations: 67.66 kB / 422.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.2085, allocations: 4 kB / 422.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.2086, allocations: 31.91 kB / 422.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.2086, allocations: 27.91 kB / 422.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2087, allocations: 4 kB / 422.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.2107, allocations: 1.561 MB / 423.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2107, allocations: 7.984 kB / 423.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.2108, allocations: 39.72 kB / 424 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.212, allocations: 1.057 MB / 425 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2121, allocations: 0 / 425 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.2121, allocations: 0 / 425 MB, free: 9.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2121, allocations: 4 kB / 425 MB, free: 9.781 MB / 298.7 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.0005361/0.2126, allocations: 0.5419 MB / 425.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2127, allocations: 16.02 kB / 425.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2128, allocations: 8.938 kB / 425.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.2129, allocations: 180.2 kB / 425.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2129, allocations: 12.36 kB / 425.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2129, allocations: 4.375 kB / 425.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.213, allocations: 67.52 kB / 425.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2131, allocations: 0 / 425.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2131, allocations: 4 kB / 425.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2131, allocations: 0 / 425.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.2132, allocations: 19.92 kB / 425.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.2133, allocations: 182.6 kB / 426.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.2136, allocations: 77.12 kB / 426.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.2136, allocations: 25.78 kB / 426.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005307/0.2189, allocations: 3.29 MB / 429.5 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.219, allocations: 42.5 kB / 429.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.219, allocations: 0 / 429.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002732/0.2193, allocations: 89.5 kB / 429.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2193, allocations: 77.11 kB / 429.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.2194, allocations: 109.8 kB / 429.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.2194, allocations: 29.7 kB / 429.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.2194, allocations: 84.14 kB / 429.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.2195, allocations: 19.66 kB / 429.9 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.2195, allocations: 25.7 kB / 429.9 MB, free: 4.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.2196, allocations: 314.8 kB / 430.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.2196, allocations: 15.98 kB / 430.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.2197, allocations: 21.7 kB / 430.3 MB, free: 3.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/0.2198, allocations: 46 kB / 430.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2198, allocations: 0 / 430.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001396/0.2199, allocations: 73.55 kB / 430.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.22, allocations: 10.66 kB / 430.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.22, allocations: 4.125 kB / 430.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.22, allocations: 4 kB / 430.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.22, allocations: 8 kB / 430.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2201, allocations: 0 / 430.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.2201, allocations: 7.984 kB / 430.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2201, allocations: 0 / 430.4 MB, free: 3.699 MB / 298.7 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 4.715e-05/0.2202, allocations: 123.2 kB / 430.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2202, allocations: 11.84 kB / 430.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.2204, allocations: 113.6 kB / 430.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2204, allocations: 4 kB / 430.7 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2204, allocations: 0 / 430.7 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2205, allocations: 0 / 430.7 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.877e-05/0.2205, allocations: 169.6 kB / 430.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2205, allocations: 8 kB / 430.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.2206, allocations: 19.92 kB / 430.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2206, allocations: 0 / 430.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2206, allocations: 0 / 430.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2206, allocations: 4 kB / 430.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2206, allocations: 0 / 430.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.221, allocations: 0.6755 MB / 431.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.221, allocations: 89 kB / 431.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.221, allocations: 4 kB / 431.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.2211, allocations: 4 kB / 431.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.2212, allocations: 7.984 kB / 431.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2212, allocations: 3.938 kB / 431.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.2212, allocations: 95.27 kB / 431.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2212, allocations: 0 / 431.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007631/0.222, allocations: 343.6 kB / 432.1 MB, free: 1.902 MB / 298.7 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.0009287/0.2229, allocations: 0.5808 MB / 432.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.2231, allocations: 27.98 kB / 432.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2231, allocations: 0 / 432.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.2232, allocations: 23.92 kB / 432.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.2233, allocations: 12 kB / 432.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.2237, allocations: 284.7 kB / 433 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2238, allocations: 0.6926 MB / 433.7 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.695e-05/0.2239, allocations: 48.53 kB / 433.7 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.224, allocations: 19.38 kB / 433.8 MB, free: 144 kB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.224, allocations: 0 / 433.8 MB, free: 144 kB / 298.7 MB Notification: Performance of Templates: time 0.0118/0.2358, allocations: 8.912 MB / 442.7 MB, free: 7.223 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches