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.0009642/0.0009642, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.0009028/0.0009028, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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 0.939/0.939, allocations: 173.4 MB / 201.1 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783e-06/1.783e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.711e-05/3.889e-05, allocations: 2.312 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002618/0.002657, allocations: 1.385 MB / 269.4 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.01645, allocations: 11.98 MB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.0165, allocations: 0 / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.01654, allocations: 7.938 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.02006, allocations: 1.041 MB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.02201, allocations: 0.6719 MB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.02214, allocations: 59.72 kB / 283.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.02218, allocations: 4 kB / 283.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.02226, allocations: 39.89 kB / 283.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.02236, allocations: 27.89 kB / 283.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.02237, allocations: 4 kB / 283.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.02552, allocations: 1.494 MB / 284.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.02554, allocations: 11.94 kB / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.02559, allocations: 19.98 kB / 284.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.02795, allocations: 1.243 MB / 286 MB, free: 4.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.02795, allocations: 4 kB / 286 MB, free: 4.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02796, allocations: 0 / 286 MB, free: 4.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.02796, allocations: 0 / 286 MB, free: 4.398 MB / 266.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.0009155/0.02888, allocations: 0.5768 MB / 286.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.02893, allocations: 8.922 kB / 286.6 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.02907, allocations: 12.89 kB / 286.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.02921, allocations: 124.5 kB / 286.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.02924, allocations: 8.312 kB / 286.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.02925, allocations: 384 / 286.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.02947, allocations: 137.7 kB / 286.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.02948, allocations: 192 / 286.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.0295, allocations: 12.06 kB / 286.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.02951, allocations: 0 / 286.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.133e-05/0.02957, allocations: 11.98 kB / 286.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.02974, allocations: 132.3 kB / 287 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.02998, allocations: 94.23 kB / 287.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.03001, allocations: 31.36 kB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0028/0.03281, allocations: 1.496 MB / 288.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.03284, allocations: 37.39 kB / 288.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.03284, allocations: 0 / 288.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001948/0.03304, allocations: 73.56 kB / 288.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.03307, allocations: 88.98 kB / 288.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.03316, allocations: 173.9 kB / 289 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.03317, allocations: 29.7 kB / 289 MB, free: 1.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.03321, allocations: 126.9 kB / 289.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.03324, allocations: 27.78 kB / 289.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.03327, allocations: 23.38 kB / 289.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.03338, allocations: 492.1 kB / 289.7 MB, free: 476 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.0334, allocations: 11.98 kB / 289.7 MB, free: 464 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.03343, allocations: 23.38 kB / 289.7 MB, free: 432 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.03348, allocations: 39.36 kB / 289.7 MB, free: 384 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.03348, allocations: 0 / 289.7 MB, free: 384 kB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.868e-05/0.03357, allocations: 69.56 kB / 289.8 MB, free: 308 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.03359, allocations: 4 kB / 289.8 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.03359, allocations: 7.938 kB / 289.8 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.03361, allocations: 0 / 289.8 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.03366, allocations: 12.41 kB / 289.8 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.03367, allocations: 4.062 kB / 289.8 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.03369, allocations: 8 kB / 289.8 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.03371, allocations: 3.984 kB / 289.8 MB, free: 268 kB / 266.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 7.156e-05/0.03378, allocations: 164.6 kB / 290 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.03379, allocations: 4 kB / 290 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.11/0.1438, allocations: 95.52 kB / 290.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1438, allocations: 1.062 kB / 290.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1438, allocations: 5.078 kB / 290.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1438, allocations: 0.5312 kB / 290.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1439, allocations: 126.5 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1439, allocations: 0 / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.144, allocations: 14.25 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.144, allocations: 2.281 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.144, allocations: 1.188 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.144, allocations: 6.953 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.144, allocations: 3.844 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1441, allocations: 102 kB / 290.3 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1442, allocations: 22.34 kB / 290.4 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1442, allocations: 1.812 kB / 290.4 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.1442, allocations: 8.312 kB / 290.4 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1443, allocations: 6.219 kB / 290.4 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1443, allocations: 3.375 kB / 290.4 MB, free: 21.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.1443, allocations: 133.6 kB / 290.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1443, allocations: 0.875 kB / 290.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007756/0.1451, allocations: 325.6 kB / 290.8 MB, free: 20.92 MB / 266.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.001104/0.1462, allocations: 0.622 MB / 291.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1463, allocations: 40.75 kB / 291.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1463, allocations: 0 / 291.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.1464, allocations: 24.36 kB / 291.5 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.1465, allocations: 22.25 kB / 291.5 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.1472, allocations: 173.4 kB / 291.7 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.1472, allocations: 60.03 kB / 291.8 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1473, allocations: 47.53 kB / 291.8 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.1474, allocations: 25.78 kB / 291.8 MB, free: 20.58 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1474, allocations: 0.75 kB / 291.8 MB, free: 20.58 MB / 266.7 MB Notification: Performance of Templates: time 0.01279/0.1602, allocations: 9.249 MB / 301.1 MB, free: 18.57 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.046818384900689]