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.00147/0.00147, allocations: 82.5 kB / 21.43 MB, free: 296 kB / 14.72 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.001481/0.001481, allocations: 160.6 kB / 24.7 MB, free: 3.551 MB / 14.72 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.371/1.371, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.492e-06/1.492e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.635e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00245/0.002476, allocations: 1.326 MB / 300.3 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.01713, allocations: 10.69 MB / 311 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.0172, allocations: 0 / 311 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.01723, allocations: 3.938 kB / 311 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.02043, allocations: 1.041 MB / 312 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.02212, allocations: 0.6563 MB / 312.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.02225, allocations: 67.66 kB / 312.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.02229, allocations: 3.984 kB / 312.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.02236, allocations: 39.91 kB / 312.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.02245, allocations: 19.97 kB / 312.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.02247, allocations: 4 kB / 312.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.02513, allocations: 1.498 MB / 314.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.02515, allocations: 15.97 kB / 314.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.02519, allocations: 19.94 kB / 314.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.0272, allocations: 1.247 MB / 315.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0272, allocations: 0 / 315.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0272, allocations: 0 / 315.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.02721, allocations: 3.938 kB / 315.6 MB, free: 8.031 MB / 302.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.0007978/0.02801, allocations: 484.2 kB / 316 MB, free: 7.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.02806, allocations: 11.98 kB / 316.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.0282, allocations: 16.88 kB / 316.1 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.02835, allocations: 117.7 kB / 316.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.02837, allocations: 4.375 kB / 316.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.02838, allocations: 4.312 kB / 316.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.0286, allocations: 123.4 kB / 316.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.02861, allocations: 192 / 316.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.02862, allocations: 4.125 kB / 316.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.02863, allocations: 0 / 316.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.02874, allocations: 19.98 kB / 316.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.02893, allocations: 122.2 kB / 316.5 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.02925, allocations: 73.19 kB / 316.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.02933, allocations: 25.77 kB / 316.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006078/0.03541, allocations: 1.517 MB / 318.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.03544, allocations: 34.5 kB / 318.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.03544, allocations: 0 / 318.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003452/0.03578, allocations: 81.59 kB / 318.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.03585, allocations: 89.05 kB / 318.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.03596, allocations: 113.8 kB / 318.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.03598, allocations: 25.7 kB / 318.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.03604, allocations: 84.14 kB / 318.5 MB, free: 4.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.03607, allocations: 19.84 kB / 318.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.03611, allocations: 17.72 kB / 318.5 MB, free: 4.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.03627, allocations: 322.8 kB / 318.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.03632, allocations: 8 kB / 318.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.0364, allocations: 29.7 kB / 318.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.03653, allocations: 41.64 kB / 318.9 MB, free: 4.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.03653, allocations: 4 kB / 318.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000182/0.03672, allocations: 65.62 kB / 319 MB, free: 4.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.03673, allocations: 8 kB / 319 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.03674, allocations: 0 / 319 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.03675, allocations: 0 / 319 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.03683, allocations: 19.86 kB / 319 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.03684, allocations: 4.312 kB / 319 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.03688, allocations: 3.938 kB / 319 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.0369, allocations: 8 kB / 319 MB, free: 4.344 MB / 302.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.536e-05/0.03699, allocations: 109.8 kB / 319.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.03702, allocations: 7.953 kB / 319.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.03732, allocations: 106 kB / 319.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.03732, allocations: 4.078 kB / 319.3 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.03733, allocations: 7.875 kB / 319.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.03733, allocations: 4 kB / 319.3 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.03746, allocations: 109.3 kB / 319.4 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.03746, allocations: 0 / 319.4 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.03753, allocations: 27.86 kB / 319.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.03753, allocations: 0 / 319.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.03754, allocations: 4 kB / 319.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.03754, allocations: 0 / 319.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.03754, allocations: 0 / 319.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.03775, allocations: 101.9 kB / 319.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.03779, allocations: 11.98 kB / 319.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.03781, allocations: 0 / 319.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.03788, allocations: 4 kB / 319.5 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.03793, allocations: 12.11 kB / 319.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.03794, allocations: 12 kB / 319.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.03801, allocations: 99.2 kB / 319.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03801, allocations: 0 / 319.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008078/0.03882, allocations: 322.8 kB / 320 MB, free: 3.352 MB / 302.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.001275/0.04009, allocations: 0.6148 MB / 320.6 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.04028, allocations: 35.98 kB / 320.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.04028, allocations: 3.938 kB / 320.6 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.04035, allocations: 19.98 kB / 320.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.04056, allocations: 14.64 kB / 320.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.04099, allocations: 157.5 kB / 320.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.321e-05/0.04107, allocations: 67.34 kB / 320.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.04118, allocations: 56.03 kB / 320.9 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.04123, allocations: 20.48 kB / 320.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.04123, allocations: 0 / 320.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Templates: time 0.1441/0.1853, allocations: 9.108 MB / 330 MB, free: 33.86 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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.46206721663475]