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.001369/0.001369, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001426/0.001426, allocations: 192.5 kB / 23.71 MB, free: 4.406 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.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.00163/0.00163, allocations: 51.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2268, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002416/0.2292, allocations: 1.343 MB / 424.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.2423, allocations: 10.68 MB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.2423, allocations: 0 / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.2423, allocations: 7.922 kB / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.2455, allocations: 1.022 MB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.247, allocations: 0.6399 MB / 436.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2471, allocations: 59.72 kB / 436.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.2472, allocations: 4 kB / 436.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.2472, allocations: 27.91 kB / 436.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.2473, allocations: 43.83 kB / 436.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2473, allocations: 4 kB / 436.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.2499, allocations: 1.483 MB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.25, allocations: 4 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.25, allocations: 27.91 kB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.2517, allocations: 1.052 MB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2517, allocations: 0 / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2517, allocations: 0 / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2517, allocations: 0 / 439.5 MB, free: 14 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.000801/0.2525, allocations: 484.3 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2525, allocations: 12.03 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2526, allocations: 8.922 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2528, allocations: 126.4 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2528, allocations: 384 / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2528, allocations: 384 / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.253, allocations: 130.8 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.253, allocations: 0 / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.253, allocations: 0 / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.253, allocations: 4 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2532, allocations: 23.98 kB / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.2533, allocations: 118.3 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.2536, allocations: 77.19 kB / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.2537, allocations: 29.7 kB / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005669/0.2594, allocations: 1.506 MB / 442 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2594, allocations: 38.48 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.2594, allocations: 3.984 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003209/0.2597, allocations: 85.5 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2598, allocations: 77.11 kB / 442.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2599, allocations: 117.8 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2599, allocations: 25.7 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.2599, allocations: 92.12 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.26, allocations: 19.84 kB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.26, allocations: 17.72 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2602, allocations: 326.8 kB / 442.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.2602, allocations: 4 kB / 442.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.2603, allocations: 29.83 kB / 442.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.2604, allocations: 45.64 kB / 442.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2604, allocations: 0 / 442.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001786/0.2606, allocations: 65.67 kB / 442.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2606, allocations: 7.938 kB / 442.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2606, allocations: 4 kB / 442.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2606, allocations: 4 kB / 442.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.2607, allocations: 19.86 kB / 442.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2607, allocations: 0 / 442.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.2607, allocations: 11.89 kB / 442.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2608, allocations: 0 / 442.9 MB, free: 10.3 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.49e-05/0.2609, allocations: 113.8 kB / 443 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.2609, allocations: 7.938 kB / 443 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.2612, allocations: 101.6 kB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2612, allocations: 0 / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2612, allocations: 0 / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2612, allocations: 4.547 kB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2613, allocations: 113.3 kB / 443.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2613, allocations: 7.938 kB / 443.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.2614, allocations: 11.98 kB / 443.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2614, allocations: 0 / 443.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2614, allocations: 7.938 kB / 443.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2614, allocations: 0 / 443.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2614, allocations: 4 kB / 443.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.2616, allocations: 102 kB / 443.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.2616, allocations: 11.94 kB / 443.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2616, allocations: 3.938 kB / 443.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.2617, allocations: 8 kB / 443.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.2618, allocations: 7.922 kB / 443.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.2618, allocations: 4 kB / 443.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.697e-05/0.2618, allocations: 99.5 kB / 443.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2618, allocations: 0 / 443.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007525/0.2626, allocations: 334.8 kB / 443.8 MB, free: 9.312 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.001221/0.2638, allocations: 0.5797 MB / 444.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.264, allocations: 39.91 kB / 444.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.264, allocations: 0 / 444.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.2641, allocations: 15.98 kB / 444.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.2643, allocations: 12 kB / 444.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.2647, allocations: 168.2 kB / 444.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.899e-05/0.2647, allocations: 63.34 kB / 444.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2648, allocations: 48.11 kB / 444.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.2649, allocations: 15.44 kB / 444.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2649, allocations: 0 / 444.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of Templates: time 0.01501/0.2799, allocations: 9.06 MB / 453.8 MB, free: 15.26 MB / 366.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/jenkins/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/jenkins/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: 6.495480269193649]