Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001073/0.001073, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.00277, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001076/0.001076, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002489, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9242/0.9242, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.012, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.126e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001812/0.001823, allocations: 1.445 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.01323, allocations: 12.04 MB / 258.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.01326, allocations: 0 / 258.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.01327, allocations: 7.922 kB / 258.2 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.0151, allocations: 0.9824 MB / 259.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.01625, allocations: 0.6485 MB / 259.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.01634, allocations: 59.66 kB / 259.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.01637, allocations: 7.984 kB / 259.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.01646, allocations: 47.89 kB / 259.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.01653, allocations: 31.91 kB / 260 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.01654, allocations: 0 / 260 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.01814, allocations: 1.576 MB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.01815, allocations: 11.94 kB / 261.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.01817, allocations: 16 kB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.01911, allocations: 1.052 MB / 262.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/0.01912, allocations: 0 / 262.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01912, allocations: 0 / 262.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.01913, allocations: 0 / 262.6 MB, free: 12.23 MB / 266.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.0004498/0.01958, allocations: 0.5532 MB / 263.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.561e-05/0.0196, allocations: 15.95 kB / 263.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01971, allocations: 94.03 kB / 263.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.11e-05/0.01978, allocations: 117.7 kB / 263.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.01979, allocations: 8.375 kB / 263.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.0198, allocations: 8.375 kB / 263.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.0199, allocations: 128 kB / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.01991, allocations: 192 / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.01992, allocations: 8.125 kB / 263.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.01993, allocations: 0 / 263.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.01995, allocations: 15.97 kB / 263.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.421e-05/0.02003, allocations: 69.91 kB / 263.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.02016, allocations: 69.14 kB / 263.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.02018, allocations: 21.72 kB / 263.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002138/0.02231, allocations: 1.398 MB / 265.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.02234, allocations: 38.56 kB / 265.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.02234, allocations: 0 / 265.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001025/0.02244, allocations: 57.61 kB / 265.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.02247, allocations: 93.03 kB / 265.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.02251, allocations: 114.6 kB / 265.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.02252, allocations: 33.7 kB / 265.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.02254, allocations: 84.12 kB / 265.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.02257, allocations: 19.8 kB / 265.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.02259, allocations: 21.7 kB / 265.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.02265, allocations: 318.8 kB / 265.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.02266, allocations: 4 kB / 265.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.02268, allocations: 17.7 kB / 265.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.02271, allocations: 29.7 kB / 265.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.02271, allocations: 3.938 kB / 265.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.094e-05/0.02276, allocations: 54.03 kB / 266 MB, free: 8.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.02277, allocations: 8 kB / 266 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.02278, allocations: 0 / 266 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-06/0.02278, allocations: 0 / 266 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.02283, allocations: 16.03 kB / 266 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.02283, allocations: 4.25 kB / 266 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.02285, allocations: 15.92 kB / 266 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.02286, allocations: 4 kB / 266 MB, free: 8.586 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 4.222e-05/0.0229, allocations: 113.8 kB / 266.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.02291, allocations: 7.984 kB / 266.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.02301, allocations: 85.56 kB / 266.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02301, allocations: 4 kB / 266.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.02301, allocations: 0 / 266.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.02302, allocations: 3.938 kB / 266.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.476e-05/0.02307, allocations: 73.84 kB / 266.3 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.02307, allocations: 8 kB / 266.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.0231, allocations: 15.92 kB / 266.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.02313, allocations: 11.94 kB / 266.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.02313, allocations: 4 kB / 266.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-06/0.02313, allocations: 3.984 kB / 266.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.02313, allocations: 0 / 266.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.02313, allocations: 0 / 266.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.376e-05/0.0232, allocations: 90.03 kB / 266.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.02321, allocations: 7.984 kB / 266.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.02323, allocations: 0 / 266.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.02326, allocations: 15.98 kB / 266.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.02326, allocations: 0 / 266.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.395e-05/0.02328, allocations: 12.86 kB / 266.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02328, allocations: 0 / 266.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004778/0.02375, allocations: 334.8 kB / 266.8 MB, free: 7.75 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.0006688/0.02442, allocations: 0.6381 MB / 267.5 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.933e-05/0.02448, allocations: 32.83 kB / 267.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02448, allocations: 4 kB / 267.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.02451, allocations: 20.84 kB / 267.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.578e-05/0.0246, allocations: 87.28 kB / 267.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.0256, allocations: 169.4 kB / 267.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.296e-05/0.02563, allocations: 59.36 kB / 267.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.02569, allocations: 52.09 kB / 267.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.02576, allocations: 75.34 kB / 267.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02576, allocations: 0 / 267.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of Templates: time 0.08568/0.1114, allocations: 9.963 MB / 277.9 MB, free: 13.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.332219355739653]