Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2106, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00255/0.2132, allocations: 1.355 MB / 433.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2271, allocations: 10.71 MB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.2271, allocations: 0 / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.2271, allocations: 7.922 kB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.2298, allocations: 1.018 MB / 445.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2314, allocations: 0.64 MB / 446.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2315, allocations: 67.7 kB / 446.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.2315, allocations: 0 / 446.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.2315, allocations: 27.92 kB / 446.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.2316, allocations: 39.83 kB / 446.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2317, allocations: 4 kB / 446.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.2341, allocations: 1.561 MB / 447.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.2341, allocations: 15.97 kB / 447.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.2341, allocations: 15.94 kB / 447.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.2357, allocations: 1.052 MB / 448.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2357, allocations: 4 kB / 448.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2357, allocations: 0 / 448.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.2357, allocations: 0 / 448.8 MB, free: 6.141 MB / 350.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.0007139/0.2364, allocations: 484.2 kB / 449.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2364, allocations: 8.031 kB / 449.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2366, allocations: 16.88 kB / 449.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2367, allocations: 114.5 kB / 449.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.2367, allocations: 4.375 kB / 449.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2367, allocations: 8.312 kB / 449.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2369, allocations: 122.9 kB / 449.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2369, allocations: 4 kB / 449.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.237, allocations: 8 kB / 449.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.237, allocations: 3.938 kB / 449.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2371, allocations: 15.98 kB / 449.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.2373, allocations: 130.1 kB / 449.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.2375, allocations: 77.22 kB / 449.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.2376, allocations: 29.77 kB / 449.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006628/0.2442, allocations: 1.506 MB / 451.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2443, allocations: 38.5 kB / 451.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2443, allocations: 4 kB / 451.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000307/0.2446, allocations: 77.55 kB / 451.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2446, allocations: 81.11 kB / 451.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2447, allocations: 109.8 kB / 451.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2448, allocations: 33.7 kB / 451.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.2448, allocations: 88.12 kB / 451.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.2448, allocations: 15.86 kB / 451.8 MB, free: 3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.2449, allocations: 25.7 kB / 451.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.245, allocations: 310.8 kB / 452.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.2451, allocations: 15.98 kB / 452.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.2451, allocations: 17.72 kB / 452.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2453, allocations: 41.64 kB / 452.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2453, allocations: 128 / 452.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001926/0.2454, allocations: 77.62 kB / 452.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2455, allocations: 8 kB / 452.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2455, allocations: 3.938 kB / 452.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2455, allocations: 0 / 452.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.2456, allocations: 19.92 kB / 452.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2456, allocations: 0 / 452.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.2456, allocations: 3.938 kB / 452.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2456, allocations: 7.938 kB / 452.3 MB, free: 2.445 MB / 350.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 8.232e-05/0.2457, allocations: 109.8 kB / 452.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2457, allocations: 15.94 kB / 452.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.246, allocations: 101.5 kB / 452.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.246, allocations: 4.547 kB / 452.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.246, allocations: 0 / 452.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.246, allocations: 7.984 kB / 452.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2461, allocations: 8 kB / 452.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.2461, allocations: 4 kB / 452.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2462, allocations: 11.92 kB / 452.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002597/0.2464, allocations: 220.2 kB / 452.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003021/0.2467, allocations: 333.8 kB / 453.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.246e-05/0.2468, allocations: 15.98 kB / 453.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.2469, allocations: 87.59 kB / 453.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Backend: time 1.91e-07/0.2469, allocations: 0 / 453.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.2485, allocations: 0.6244 MB / 453.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005196/0.249, allocations: 0.5902 MB / 454.4 MB, free: 240 kB / 350.1 MB Notification: Performance of Templates: time 0.01578/0.2648, allocations: 10.1 MB / 464.5 MB, free: 6.137 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.5341262919973815]