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.002553/0.002553, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001971/0.001971, allocations: 164.2 kB / 25.03 MB, free: 8.422 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 1.273/1.273, allocations: 158.6 MB / 186.8 MB, free: 2.871 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.764e-06/1.764e-06, allocations: 0 / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.993e-05, allocations: 6.25 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002581/0.002611, allocations: 1.365 MB / 251.7 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.01887, allocations: 11.95 MB / 263.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.01891, allocations: 0 / 263.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.01893, allocations: 3.938 kB / 263.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.02214, allocations: 1.045 MB / 264.7 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.02376, allocations: 0.6563 MB / 265.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.02389, allocations: 71.64 kB / 265.4 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.02392, allocations: 0 / 265.4 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.024, allocations: 35.91 kB / 265.5 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.02409, allocations: 31.95 kB / 265.5 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.02411, allocations: 4 kB / 265.5 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.02696, allocations: 1.498 MB / 267 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.02698, allocations: 7.984 kB / 267 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.02703, allocations: 23.92 kB / 267 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.02912, allocations: 1.239 MB / 268.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.02912, allocations: 0 / 268.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02912, allocations: 0 / 268.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.02913, allocations: 3.938 kB / 268.3 MB, free: 1.93 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.0008274/0.02995, allocations: 0.5686 MB / 268.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.02999, allocations: 11.98 kB / 268.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.03012, allocations: 16.88 kB / 268.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.03029, allocations: 128.5 kB / 269 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.0303, allocations: 8.375 kB / 269 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.03032, allocations: 4.375 kB / 269 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.03053, allocations: 117 kB / 269.1 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.03054, allocations: 192 / 269.1 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.03056, allocations: 8.125 kB / 269.1 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.03056, allocations: 4 kB / 269.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.03069, allocations: 23.91 kB / 269.2 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.03091, allocations: 132.3 kB / 269.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.03124, allocations: 94.25 kB / 269.4 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.03132, allocations: 35.36 kB / 269.4 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005953/0.03728, allocations: 1.507 MB / 270.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.03732, allocations: 37.39 kB / 271 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.03732, allocations: 0 / 271 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003977/0.03772, allocations: 85.59 kB / 271.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.03779, allocations: 85.05 kB / 271.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.03796, allocations: 173.9 kB / 271.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.03798, allocations: 25.7 kB / 271.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.03806, allocations: 134.9 kB / 271.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.0381, allocations: 19.78 kB / 271.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.03815, allocations: 23.38 kB / 271.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002747/0.03843, allocations: 0.4962 MB / 272 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.03848, allocations: 8 kB / 272 MB, free: 13.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.03856, allocations: 39.3 kB / 272 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.03868, allocations: 39.36 kB / 272.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.03868, allocations: 0 / 272.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001889/0.03887, allocations: 77.56 kB / 272.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.03889, allocations: 4 kB / 272.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.03889, allocations: 0 / 272.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.03891, allocations: 4.125 kB / 272.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.03898, allocations: 15.94 kB / 272.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.03898, allocations: 3.984 kB / 272.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.03903, allocations: 8 kB / 272.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.03904, allocations: 0 / 272.2 MB, free: 13.75 MB / 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 0.0001205/0.03916, allocations: 160.6 kB / 272.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.03919, allocations: 7.953 kB / 272.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.03948, allocations: 106.3 kB / 272.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.03949, allocations: 0 / 272.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.0395, allocations: 7.938 kB / 272.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0395, allocations: 0 / 272.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.03964, allocations: 128.6 kB / 272.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.03964, allocations: 0 / 272.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.03971, allocations: 11.98 kB / 272.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.03971, allocations: 8.031 kB / 272.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.03972, allocations: 4 kB / 272.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.03973, allocations: 3.938 kB / 272.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03973, allocations: 0 / 272.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.03997, allocations: 123.9 kB / 272.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.04001, allocations: 15.92 kB / 272.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.04002, allocations: 0 / 272.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.04008, allocations: 4 kB / 272.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.04013, allocations: 15.92 kB / 272.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.04014, allocations: 4 kB / 272.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.876e-05/0.04024, allocations: 139.2 kB / 272.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04024, allocations: 0 / 272.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008583/0.0411, allocations: 326.8 kB / 273.2 MB, free: 12.62 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.001417/0.04252, allocations: 0.6227 MB / 273.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.04273, allocations: 43.59 kB / 273.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.04273, allocations: 4 kB / 273.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.04281, allocations: 31.61 kB / 273.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.04302, allocations: 8 kB / 274 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.0435, allocations: 169 kB / 274.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.19e-05/0.04357, allocations: 67.34 kB / 274.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.04369, allocations: 48.09 kB / 274.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.04374, allocations: 20.5 kB / 274.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04374, allocations: 4 kB / 274.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01674/0.06048, allocations: 9.26 MB / 283.5 MB, free: 2.281 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.262875644955784]