Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007305/0.0007305, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.001686, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006784/0.0006784, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001592, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8731/0.8731, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.081/0.9541, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.917e-06/1.002e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00141/0.00142, allocations: 1.449 MB / 246.5 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008482/0.009902, allocations: 12.03 MB / 258.5 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.009935, allocations: 0 / 258.5 MB, free: 112 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.009947, allocations: 11.94 kB / 258.5 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.01204, allocations: 0.9904 MB / 259.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.01326, allocations: 0.6406 MB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.01335, allocations: 67.72 kB / 260.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.01338, allocations: 7.938 kB / 260.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.01345, allocations: 43.95 kB / 260.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.01353, allocations: 27.91 kB / 260.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.01354, allocations: 4 kB / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.01542, allocations: 1.576 MB / 261.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.01543, allocations: 7.938 kB / 261.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.01545, allocations: 12 kB / 261.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.0166, allocations: 1.06 MB / 262.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.01662, allocations: 8 kB / 262.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01662, allocations: 4 kB / 262.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.01664, allocations: 0 / 262.9 MB, free: 11.63 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.0005193/0.01716, allocations: 0.5532 MB / 263.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.01718, allocations: 12.62 kB / 263.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.01729, allocations: 90.03 kB / 263.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.01738, allocations: 133.6 kB / 263.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.0174, allocations: 384 / 263.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.01741, allocations: 8.375 kB / 263.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.01754, allocations: 120.1 kB / 263.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.01755, allocations: 4.188 kB / 263.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.01756, allocations: 8.125 kB / 263.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.01756, allocations: 0 / 263.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.01759, allocations: 15.92 kB / 263.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.01781, allocations: 65.91 kB / 263.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.01798, allocations: 69.2 kB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.018, allocations: 13.72 kB / 264 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/0.02018, allocations: 1.414 MB / 265.4 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.0202, allocations: 34.55 kB / 265.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.02021, allocations: 0 / 265.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001205/0.02033, allocations: 65.61 kB / 265.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.02036, allocations: 77.11 kB / 265.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.02041, allocations: 122.6 kB / 265.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.02042, allocations: 29.7 kB / 265.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.02044, allocations: 88.12 kB / 265.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.02047, allocations: 23.78 kB / 265.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.0205, allocations: 17.72 kB / 265.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.02056, allocations: 318.8 kB / 266.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.02057, allocations: 7.984 kB / 266.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.02059, allocations: 21.72 kB / 266.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.02063, allocations: 33.62 kB / 266.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02063, allocations: 0 / 266.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.301e-05/0.02068, allocations: 53.62 kB / 266.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.02069, allocations: 4 kB / 266.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.0207, allocations: 0 / 266.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.0207, allocations: 0 / 266.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.02076, allocations: 15.98 kB / 266.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.02076, allocations: 4 kB / 266.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.02078, allocations: 3.938 kB / 266.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.02079, allocations: 4 kB / 266.3 MB, free: 8.004 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.52e-05/0.02083, allocations: 117.8 kB / 266.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.02084, allocations: 4 kB / 266.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.02096, allocations: 101.5 kB / 266.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02096, allocations: 0 / 266.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02096, allocations: 0 / 266.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.02097, allocations: 4.5 kB / 266.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.966e-05/0.02102, allocations: 69.91 kB / 266.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.02103, allocations: 0 / 266.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.02106, allocations: 15.98 kB / 266.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.02108, allocations: 15.92 kB / 266.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.02108, allocations: 4 kB / 266.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.02109, allocations: 0 / 266.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02109, allocations: 4 kB / 266.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02109, allocations: 3.984 kB / 266.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.73e-05/0.02116, allocations: 93.83 kB / 266.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.02117, allocations: 0 / 266.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.02119, allocations: 4.188 kB / 266.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.02122, allocations: 3.984 kB / 266.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.02123, allocations: 15.94 kB / 266.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.562e-05/0.02124, allocations: 16.84 kB / 266.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02124, allocations: 4 kB / 266.8 MB, free: 7.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.02165, allocations: 326.8 kB / 267.1 MB, free: 7.156 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.0009975/0.02265, allocations: 0.6398 MB / 267.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.02272, allocations: 32.77 kB / 267.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.02272, allocations: 0 / 267.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.02274, allocations: 16.8 kB / 267.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.953e-05/0.02284, allocations: 31.06 kB / 267.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02393, allocations: 177.5 kB / 268 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.02396, allocations: 59.23 kB / 268.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.133e-05/0.02403, allocations: 47.88 kB / 268.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.0241, allocations: 75.34 kB / 268.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.0241, allocations: 4 kB / 268.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of Templates: time 0.09677/0.1209, allocations: 10.76 MB / 279 MB, free: 13.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3562220502644777]