Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.00133/0.00133, allocations: 85.28 kB / 20.68 MB, free: 1.035 MB / 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.00146/0.00146, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 325 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.175e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002209/0.002231, allocations: 1.363 MB / 326.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03072/0.03295, allocations: 21.16 MB / 347.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.03303, allocations: 0 / 347.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.03315, allocations: 11.86 kB / 347.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.04985, allocations: 6.019 MB / 353.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009555/0.05081, allocations: 366.4 kB / 354 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.05096, allocations: 79.62 kB / 354 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.051, allocations: 3.938 kB / 354 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.05109, allocations: 51.88 kB / 354.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.05119, allocations: 35.89 kB / 354.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.05121, allocations: 4 kB / 354.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/0.06851, allocations: 8.405 MB / 362.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.06857, allocations: 19.91 kB / 362.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.06864, allocations: 19.98 kB / 362.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.08165, allocations: 5.488 MB / 368.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.08165, allocations: 0 / 368.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.08166, allocations: 4 kB / 368.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.08166, allocations: 0 / 368.1 MB, free: 10.09 MB / 334.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.002493/0.08416, allocations: 0.8602 MB / 368.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.0842, allocations: 11.97 kB / 368.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.08426, allocations: 12.89 kB / 369 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.08445, allocations: 145.6 kB / 369.1 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.08447, allocations: 4.375 kB / 369.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.08448, allocations: 7.875 kB / 369.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.08472, allocations: 122.8 kB / 369.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.08473, allocations: 0 / 369.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.08474, allocations: 4 kB / 369.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.08475, allocations: 4 kB / 369.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.08488, allocations: 35.91 kB / 369.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.08507, allocations: 134.2 kB / 369.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.08539, allocations: 97.11 kB / 369.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.08547, allocations: 29.77 kB / 369.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.08552, allocations: 19.92 kB / 369.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.08555, allocations: 30.56 kB / 369.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.08556, allocations: 0 / 369.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003288/0.08588, allocations: 101.5 kB / 369.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.08594, allocations: 77.11 kB / 369.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.0861, allocations: 145.8 kB / 369.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.08612, allocations: 25.7 kB / 369.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.0862, allocations: 84.14 kB / 370 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.08624, allocations: 27.78 kB / 370 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.08628, allocations: 13.72 kB / 370 MB, free: 7.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.08645, allocations: 318.8 kB / 370.4 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.08653, allocations: 19.98 kB / 370.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.0866, allocations: 29.64 kB / 370.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.08676, allocations: 53.69 kB / 370.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.08676, allocations: 0 / 370.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002075/0.08697, allocations: 89.55 kB / 370.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.08699, allocations: 4 kB / 370.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.08699, allocations: 0 / 370.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.08701, allocations: 4 kB / 370.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.08707, allocations: 11.98 kB / 370.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.08708, allocations: 3.938 kB / 370.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.08713, allocations: 4 kB / 370.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.08713, allocations: 0 / 370.6 MB, free: 7.359 MB / 334.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.244e-05/0.08722, allocations: 114.2 kB / 370.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.08726, allocations: 15.89 kB / 370.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.08751, allocations: 102.1 kB / 370.8 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.08752, allocations: 0 / 370.8 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.08752, allocations: 7.938 kB / 370.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.08752, allocations: 0 / 370.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.08765, allocations: 125.2 kB / 370.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.08765, allocations: 0 / 370.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.08772, allocations: 15.92 kB / 370.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.08772, allocations: 3.938 kB / 370.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.08773, allocations: 4 kB / 371 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.08774, allocations: 4 kB / 371 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.08774, allocations: 0 / 371 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.08796, allocations: 114.1 kB / 371.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.08801, allocations: 11.88 kB / 371.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.08802, allocations: 4 kB / 371.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.0881, allocations: 4 kB / 371.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.08815, allocations: 7.984 kB / 371.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.08816, allocations: 4 kB / 371.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.08825, allocations: 115.2 kB / 371.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08825, allocations: 4 kB / 371.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002719/0.09097, allocations: 0.9547 MB / 372.2 MB, free: 5.691 MB / 334.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.005017/0.09598, allocations: 1.472 MB / 373.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.09621, allocations: 43.97 kB / 373.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.09621, allocations: 0 / 373.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.09629, allocations: 27.92 kB / 373.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.09653, allocations: 24.05 kB / 373.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.09698, allocations: 169.5 kB / 373.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.658e-05/0.09706, allocations: 71.33 kB / 374 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.09711, allocations: 19.77 kB / 374 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.09715, allocations: 16.5 kB / 374 MB, free: 3.793 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09715, allocations: 0 / 374 MB, free: 3.793 MB / 334.1 MB Notification: Performance of Templates: time 0.04179/0.1389, allocations: 27.51 MB / 401.5 MB, free: 8.281 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 8.531487945467234]