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.0007706/0.0007706, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.00185, allocations: 445.7 kB / 10.37 MB, free: 328 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.0006944/0.0006944, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009106/0.001605, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8274/0.8274, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1234/0.9509, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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.282e-06/1.282e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.371e-05, allocations: 6.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001423/0.001437, allocations: 1.433 MB / 223.3 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.0098, allocations: 12 MB / 235.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.009831, allocations: 4 kB / 235.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.009843, allocations: 7.922 kB / 235.3 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.01188, allocations: 0.994 MB / 236.3 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.01296, allocations: 0.6368 MB / 236.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.01304, allocations: 59.67 kB / 237 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.01308, allocations: 7.984 kB / 237 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.01315, allocations: 39.89 kB / 237 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.01322, allocations: 31.95 kB / 237 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.01324, allocations: 0 / 237 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.01505, allocations: 1.584 MB / 238.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.01506, allocations: 8 kB / 238.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.01508, allocations: 15.94 kB / 238.7 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.01617, allocations: 1.06 MB / 239.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.01618, allocations: 11.92 kB / 239.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01618, allocations: 0 / 239.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.0162, allocations: 0 / 239.7 MB, free: 14.2 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.0005445/0.01674, allocations: 0.5454 MB / 240.3 MB, free: 13.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.576e-05/0.01677, allocations: 12.03 kB / 240.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.01688, allocations: 94.03 kB / 240.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.01696, allocations: 117.7 kB / 240.5 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.01698, allocations: 4.375 kB / 240.5 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.01698, allocations: 4.375 kB / 240.5 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.01711, allocations: 128 kB / 240.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.01711, allocations: 4.188 kB / 240.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.01712, allocations: 4.125 kB / 240.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.01712, allocations: 0 / 240.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.01715, allocations: 11.94 kB / 240.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.257e-05/0.01723, allocations: 73.88 kB / 240.7 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.01738, allocations: 69.16 kB / 240.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.0174, allocations: 13.72 kB / 240.8 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/0.01986, allocations: 1.417 MB / 242.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01989, allocations: 42.56 kB / 242.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01989, allocations: 0 / 242.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001139/0.02, allocations: 57.61 kB / 242.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.02004, allocations: 77.11 kB / 242.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.02009, allocations: 122.6 kB / 242.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.0201, allocations: 33.7 kB / 242.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.02012, allocations: 88.12 kB / 242.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.02014, allocations: 15.8 kB / 242.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.02017, allocations: 25.7 kB / 242.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.02023, allocations: 314.8 kB / 243 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.02024, allocations: 7.938 kB / 243 MB, free: 10.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.02026, allocations: 25.69 kB / 243 MB, free: 10.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.0203, allocations: 25.7 kB / 243 MB, free: 10.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.0203, allocations: 0 / 243 MB, free: 10.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.204e-05/0.02035, allocations: 57.61 kB / 243.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.02036, allocations: 4 kB / 243.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.02037, allocations: 0 / 243.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.02037, allocations: 4 kB / 243.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.02042, allocations: 15.98 kB / 243.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.02042, allocations: 4 kB / 243.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.02044, allocations: 3.938 kB / 243.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.02045, allocations: 4 kB / 243.1 MB, free: 10.57 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 4.29e-05/0.02049, allocations: 109.8 kB / 243.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.0205, allocations: 15.98 kB / 243.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.02062, allocations: 82.09 kB / 243.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.02062, allocations: 0 / 243.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.02062, allocations: 3.938 kB / 243.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02062, allocations: 7.938 kB / 243.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.795e-05/0.02068, allocations: 77.83 kB / 243.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.02068, allocations: 0 / 243.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.02071, allocations: 15.98 kB / 243.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.02073, allocations: 19.97 kB / 243.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.02073, allocations: 0 / 243.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.02074, allocations: 4 kB / 243.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02074, allocations: 3.984 kB / 243.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02074, allocations: 0 / 243.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.525e-05/0.02081, allocations: 85.86 kB / 243.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.02082, allocations: 192 / 243.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.02084, allocations: 11.98 kB / 243.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.02087, allocations: 7.984 kB / 243.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.02087, allocations: 4 kB / 243.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.341e-05/0.02089, allocations: 20.84 kB / 243.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02089, allocations: 0 / 243.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.02131, allocations: 326.8 kB / 243.9 MB, free: 9.734 MB / 250.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.0007113/0.02202, allocations: 0.6354 MB / 244.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.235e-05/0.02209, allocations: 28.84 kB / 244.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.0221, allocations: 0 / 244.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.02212, allocations: 24.78 kB / 244.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.368e-05/0.02221, allocations: 28.48 kB / 244.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.02328, allocations: 180.5 kB / 244.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.02331, allocations: 59.34 kB / 244.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.02338, allocations: 47.88 kB / 244.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.02344, allocations: 75.34 kB / 245 MB, free: 8.602 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02344, allocations: 0 / 245 MB, free: 8.602 MB / 250.7 MB Notification: Performance of Templates: time 0.01315/0.03659, allocations: 10.77 MB / 255.7 MB, free: 13.82 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",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.258897289633751]