Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009943/0.0009943, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001269/0.001269, allocations: 168.1 kB / 25.7 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.835/0.835, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.228e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001626/0.001638, allocations: 1.429 MB / 253 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008788/0.01043, allocations: 11.96 MB / 265 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.01046, allocations: 0 / 265 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.01047, allocations: 4 kB / 265 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.01253, allocations: 1.006 MB / 266 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.01365, allocations: 0.6367 MB / 266.6 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.255e-05/0.01374, allocations: 75.64 kB / 266.7 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.01376, allocations: 0 / 266.7 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.01382, allocations: 35.95 kB / 266.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.01389, allocations: 27.91 kB / 266.7 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.0139, allocations: 4 kB / 266.7 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.01569, allocations: 1.572 MB / 268.3 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.0157, allocations: 15.91 kB / 268.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.01573, allocations: 19.92 kB / 268.3 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.01687, allocations: 1.239 MB / 269.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01687, allocations: 0 / 269.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01687, allocations: 4 kB / 269.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.01687, allocations: 0 / 269.6 MB, free: 5.133 MB / 250.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.0004174/0.01729, allocations: 466.5 kB / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.01732, allocations: 11.98 kB / 270.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.0174, allocations: 12.92 kB / 270.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.0175, allocations: 125.7 kB / 270.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.01752, allocations: 384 / 270.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.01753, allocations: 4.375 kB / 270.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.01765, allocations: 124 kB / 270.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.01766, allocations: 192 / 270.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.01766, allocations: 12.12 kB / 270.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.01767, allocations: 3.984 kB / 270.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.0177, allocations: 11.94 kB / 270.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.453e-05/0.01779, allocations: 73.89 kB / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.01794, allocations: 53.23 kB / 270.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.01796, allocations: 25.7 kB / 270.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.02028, allocations: 1.406 MB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.0203, allocations: 34.56 kB / 271.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.0203, allocations: 3.938 kB / 271.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000121/0.02042, allocations: 61.61 kB / 272 MB, free: 2.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.02046, allocations: 85.09 kB / 272.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.02051, allocations: 114.6 kB / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.02052, allocations: 33.7 kB / 272.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.02054, allocations: 80.14 kB / 272.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.02057, allocations: 27.78 kB / 272.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.02059, allocations: 17.7 kB / 272.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.02068, allocations: 318.8 kB / 272.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.02069, allocations: 4 kB / 272.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.02071, allocations: 17.7 kB / 272.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.02074, allocations: 33.64 kB / 272.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.02074, allocations: 0 / 272.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.811e-05/0.0208, allocations: 57.61 kB / 272.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.02081, allocations: 8 kB / 272.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.02082, allocations: 0 / 272.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.02083, allocations: 0 / 272.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.122e-05/0.02087, allocations: 11.98 kB / 272.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.02087, allocations: 4 kB / 272.8 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.02089, allocations: 3.938 kB / 272.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.0209, allocations: 4 kB / 272.8 MB, free: 1.711 MB / 250.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.64e-05/0.02094, allocations: 109.8 kB / 272.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.02095, allocations: 7.984 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.02123, allocations: 97.77 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.02123, allocations: 0.5625 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.02123, allocations: 128 / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02124, allocations: 11.94 kB / 273 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.062e-05/0.0213, allocations: 81.81 kB / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.0213, allocations: 0 / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.02133, allocations: 12 kB / 273.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.02133, allocations: 0 / 273.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.02134, allocations: 7.984 kB / 273.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.02134, allocations: 0 / 273.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02134, allocations: 7.984 kB / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.911e-05/0.02141, allocations: 89.84 kB / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.02143, allocations: 7.984 kB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.02144, allocations: 3.938 kB / 273.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/0.02147, allocations: 7.984 kB / 273.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.02149, allocations: 4 kB / 273.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.0215, allocations: 7.984 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.395e-05/0.02151, allocations: 12.86 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02151, allocations: 4 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.02191, allocations: 326.8 kB / 273.6 MB, free: 0.8633 MB / 250.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.0007903/0.0227, allocations: 0.6355 MB / 274.2 MB, free: 224 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.683e-05/0.02277, allocations: 28.78 kB / 274.3 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02277, allocations: 0 / 274.3 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.02279, allocations: 20.84 kB / 274.3 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.732e-05/0.02288, allocations: 12 kB / 274.3 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.02332, allocations: 184.4 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.645e-05/0.02335, allocations: 59.36 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.02342, allocations: 52.09 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.02349, allocations: 71.36 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02349, allocations: 0 / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Templates: time 0.01032/0.03381, allocations: 10.74 MB / 285.4 MB, free: 5.004 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.468019751831889]