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.00107/0.00107, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002787, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0011/0.0011, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006721/0.007821, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8817/0.8817, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1363/1.018, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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.603e-06/1.603e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.439e-05, allocations: 3.719 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002164/0.002178, allocations: 1.436 MB / 241.2 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.01513, allocations: 12 MB / 253.2 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.01518, allocations: 0 / 253.2 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.01519, allocations: 3.984 kB / 253.2 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.01735, allocations: 0.9979 MB / 254.2 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.01863, allocations: 0.6329 MB / 254.8 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.902e-05/0.01873, allocations: 59.66 kB / 254.9 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.01876, allocations: 15.92 kB / 254.9 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.01884, allocations: 39.89 kB / 254.9 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.01892, allocations: 39.89 kB / 255 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.01893, allocations: 4 kB / 255 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.02117, allocations: 1.572 MB / 256.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.0212, allocations: 7.938 kB / 256.5 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.02123, allocations: 12 kB / 256.6 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.02301, allocations: 1.048 MB / 257.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.02303, allocations: 0 / 257.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02303, allocations: 0 / 257.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.02304, allocations: 4 kB / 257.6 MB, free: 4.453 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.0006375/0.02368, allocations: 0.5532 MB / 258.2 MB, free: 3.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.02371, allocations: 15.97 kB / 258.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.02383, allocations: 102 kB / 258.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.02392, allocations: 117.7 kB / 258.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.02394, allocations: 4.375 kB / 258.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.02395, allocations: 4.375 kB / 258.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.02408, allocations: 132 kB / 258.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.02409, allocations: 4.188 kB / 258.5 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.0241, allocations: 4.125 kB / 258.5 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.0241, allocations: 0 / 258.5 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.02413, allocations: 19.98 kB / 258.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.93e-05/0.02422, allocations: 65.91 kB / 258.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.02437, allocations: 73.14 kB / 258.7 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.02439, allocations: 13.72 kB / 258.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/0.02671, allocations: 1.398 MB / 260.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.02674, allocations: 38.5 kB / 260.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.02674, allocations: 0 / 260.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001788/0.02692, allocations: 61.59 kB / 260.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.02695, allocations: 85.09 kB / 260.3 MB, free: 1.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.02701, allocations: 118.6 kB / 260.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.02702, allocations: 29.7 kB / 260.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.02705, allocations: 84.12 kB / 260.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.02707, allocations: 15.86 kB / 260.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.02711, allocations: 25.69 kB / 260.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.02717, allocations: 318.8 kB / 260.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.02719, allocations: 4 kB / 260.9 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.02721, allocations: 17.7 kB / 260.9 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.02725, allocations: 37.62 kB / 260.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02725, allocations: 3.938 kB / 260.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.853e-05/0.02731, allocations: 49.67 kB / 261 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.02732, allocations: 8 kB / 261 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.02733, allocations: 0 / 261 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.02734, allocations: 0 / 261 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.0274, allocations: 27.92 kB / 261 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.0274, allocations: 0 / 261 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.02743, allocations: 11.88 kB / 261 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.02744, allocations: 0 / 261 MB, free: 0.8125 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 5.226e-05/0.02749, allocations: 109.8 kB / 261.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.0275, allocations: 11.98 kB / 261.1 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.02762, allocations: 77.58 kB / 261.2 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.02763, allocations: 8 kB / 261.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.02763, allocations: 0 / 261.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.02763, allocations: 3.938 kB / 261.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.068e-05/0.0277, allocations: 77.88 kB / 261.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0277, allocations: 0 / 261.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.02774, allocations: 19.92 kB / 261.3 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.02777, allocations: 12.52 kB / 261.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.02777, allocations: 0 / 261.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.02777, allocations: 3.984 kB / 261.3 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02778, allocations: 0 / 261.3 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.02778, allocations: 4.125 kB / 261.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.35e-05/0.02785, allocations: 93.91 kB / 261.4 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.02786, allocations: 3.984 kB / 261.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.605e-05/0.02789, allocations: 0 / 261.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.02792, allocations: 15.92 kB / 261.5 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.02793, allocations: 4 kB / 261.5 MB, free: 332 kB / 250.7 MB Notification: Performance of sorting global known variables: time 1.694e-05/0.02794, allocations: 13.17 kB / 261.5 MB, free: 316 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02794, allocations: 0 / 261.5 MB, free: 316 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.02852, allocations: 330.9 kB / 261.8 MB, free: 15.98 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.000861/0.02938, allocations: 0.6472 MB / 262.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.041e-05/0.02946, allocations: 32.84 kB / 262.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.02947, allocations: 0 / 262.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.0295, allocations: 24.78 kB / 262.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.02963, allocations: 83.11 kB / 262.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.03072, allocations: 173.4 kB / 262.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.03075, allocations: 55.36 kB / 262.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.03083, allocations: 47.86 kB / 262.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.0309, allocations: 79.34 kB / 262.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.0309, allocations: 4 kB / 262.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Templates: time 0.009941/0.04084, allocations: 9.969 MB / 272.9 MB, free: 4.809 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2089575519785285]