Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 96.03 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 185.8 kB / 24.45 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 51.92 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3255, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002633/0.3282, allocations: 1.343 MB / 425.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.3419, allocations: 10.67 MB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.342, allocations: 0 / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.342, allocations: 7.875 kB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.3452, allocations: 1.033 MB / 436.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.347, allocations: 0.6331 MB / 437.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3471, allocations: 67.66 kB / 437.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.3471, allocations: 3.984 kB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.3472, allocations: 27.92 kB / 437.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.3473, allocations: 35.89 kB / 437.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3473, allocations: 4 kB / 437.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.3503, allocations: 1.483 MB / 439.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.3503, allocations: 11.98 kB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.3503, allocations: 23.86 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.3527, allocations: 1.041 MB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3527, allocations: 0 / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3527, allocations: 0 / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3527, allocations: 4 kB / 440.2 MB, free: 14.05 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.0009006/0.3536, allocations: 488.2 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3537, allocations: 16.02 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3538, allocations: 4.938 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.354, allocations: 134.4 kB / 440.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.354, allocations: 4.312 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.354, allocations: 8.312 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3542, allocations: 118.9 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3542, allocations: 0 / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3542, allocations: 4 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3542, allocations: 0 / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3544, allocations: 23.98 kB / 441 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.3545, allocations: 118.1 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.3548, allocations: 77.28 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.173e-05/0.3549, allocations: 29.77 kB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005687/0.3606, allocations: 1.502 MB / 442.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3606, allocations: 38.5 kB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.3606, allocations: 0 / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003569/0.361, allocations: 85.83 kB / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.3611, allocations: 81.11 kB / 442.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3612, allocations: 117.8 kB / 443 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3612, allocations: 29.64 kB / 443 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3613, allocations: 88.14 kB / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.3613, allocations: 15.86 kB / 443.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.3614, allocations: 25.7 kB / 443.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3615, allocations: 318.8 kB / 443.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.3616, allocations: 11.98 kB / 443.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.704e-05/0.3616, allocations: 25.72 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3618, allocations: 45.67 kB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3618, allocations: 0 / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001733/0.3619, allocations: 61.67 kB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.362, allocations: 11.94 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.362, allocations: 0 / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.362, allocations: 0 / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.3621, allocations: 19.92 kB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3621, allocations: 4 kB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3621, allocations: 7.891 kB / 443.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3621, allocations: 8 kB / 443.7 MB, free: 10.34 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 9.787e-05/0.3622, allocations: 109.8 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3623, allocations: 7.938 kB / 443.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.3625, allocations: 105.6 kB / 443.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3625, allocations: 0 / 443.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3625, allocations: 0 / 443.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3625, allocations: 7.938 kB / 443.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.3627, allocations: 117.2 kB / 444 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3627, allocations: 0 / 444 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.3627, allocations: 12 kB / 444 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3628, allocations: 3.938 kB / 444 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3628, allocations: 7.938 kB / 444 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3628, allocations: 0 / 444 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3628, allocations: 4 kB / 444 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.363, allocations: 93.97 kB / 444.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.363, allocations: 15.94 kB / 444.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.363, allocations: 3.938 kB / 444.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.3631, allocations: 12.11 kB / 444.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3631, allocations: 8 kB / 444.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3632, allocations: 7.984 kB / 444.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.3632, allocations: 95.22 kB / 444.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 444.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008778/0.3641, allocations: 322.8 kB / 444.6 MB, free: 9.359 MB / 350.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.001218/0.3653, allocations: 0.5804 MB / 445.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3655, allocations: 31.92 kB / 445.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3655, allocations: 0 / 445.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.3656, allocations: 20.27 kB / 445.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.3658, allocations: 23.23 kB / 445.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.3663, allocations: 190 kB / 445.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.3663, allocations: 63.34 kB / 445.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.3664, allocations: 27.42 kB / 445.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3664, allocations: 0 / 445.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of Templates: time 0.01039/0.3768, allocations: 5.97 MB / 451.5 MB, free: 2.391 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.484998418018222]