Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0008603/0.0008603, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002067, 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.0007763/0.0007763, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00099/0.001766, 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.8623/0.8623, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1443/1.007, 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.703e-05, allocations: 2.312 kB / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009603/0.00962, allocations: 11.98 MB / 233.8 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.01166, allocations: 1.981 MB / 235.8 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.01184, allocations: 11.94 kB / 235.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.01213, allocations: 103.3 kB / 235.9 MB, free: 2 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.01271, allocations: 365.7 kB / 236.3 MB, free: 1.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.01538, allocations: 1.329 MB / 237.6 MB, free: 312 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.01639, allocations: 0.9416 MB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.01654, allocations: 70.86 kB / 238.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.0204, allocations: 4.183 MB / 242.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.02081, allocations: 235.3 kB / 243 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.02087, allocations: 35.94 kB / 243.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.02195, allocations: 0.7179 MB / 243.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.02205, allocations: 83.72 kB / 243.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.02217, allocations: 119.9 kB / 244 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008763/0.02305, allocations: 0.6468 MB / 244.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.02306, allocations: 0 / 244.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.02306, allocations: 0 / 244.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.02307, allocations: 4 kB / 244.7 MB, free: 9.27 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001003/0.02407, allocations: 0.6516 MB / 245.3 MB, free: 8.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.0241, allocations: 8.031 kB / 245.3 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.02451, allocations: 197.4 kB / 245.5 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.02477, allocations: 193.3 kB / 245.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.02479, allocations: 25.03 kB / 245.7 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.02482, allocations: 36.36 kB / 245.8 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.0251, allocations: 421.8 kB / 246.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.02511, allocations: 15.88 kB / 246.2 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.02513, allocations: 12 kB / 246.2 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.02514, allocations: 4 kB / 246.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.02525, allocations: 95.3 kB / 246.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/0.03066, allocations: 3.742 MB / 250 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.0308, allocations: 102.5 kB / 250.1 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.03085, allocations: 44.83 kB / 250.2 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004102/0.03495, allocations: 2.48 MB / 252.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.03498, allocations: 34.56 kB / 252.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.03498, allocations: 0 / 252.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.003198/0.03818, allocations: 1.116 MB / 253.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.0382, allocations: 59.41 kB / 253.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.03837, allocations: 223 kB / 254.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.03839, allocations: 29.7 kB / 254.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.03846, allocations: 184.1 kB / 254.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.0385, allocations: 99.14 kB / 254.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.03857, allocations: 65.62 kB / 254.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.03864, allocations: 334.8 kB / 254.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.03869, allocations: 35.97 kB / 254.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.03877, allocations: 130.9 kB / 254.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.03894, allocations: 205.7 kB / 255.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.03894, allocations: 0 / 255.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002722/0.03922, allocations: 231 kB / 255.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.03923, allocations: 8 kB / 255.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.03924, allocations: 4 kB / 255.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.04098, allocations: 0.9249 MB / 256.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.04117, allocations: 87.84 kB / 256.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.0422, allocations: 1.711 MB / 258.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.04232, allocations: 16.09 kB / 258.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.04233, allocations: 15.94 kB / 258.1 MB, free: 11.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/0.04243, allocations: 136.5 kB / 258.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.04248, allocations: 23.98 kB / 258.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.04278, allocations: 312.5 kB / 258.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.04279, allocations: 4 kB / 258.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.04279, allocations: 0 / 258.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002559/0.04305, allocations: 0.515 MB / 259.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.04376, allocations: 0.546 MB / 259.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.04376, allocations: 0 / 259.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.04389, allocations: 59.89 kB / 259.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.04392, allocations: 27.75 kB / 259.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/0.04457, allocations: 287.1 kB / 260 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.04459, allocations: 8 kB / 260 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002188/0.0448, allocations: 0.55 MB / 260.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.04481, allocations: 3.938 kB / 260.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.04513, allocations: 444.2 kB / 261 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.04516, allocations: 8 kB / 261 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.04524, allocations: 8 kB / 261 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.04526, allocations: 11.97 kB / 261 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.04527, allocations: 11.98 kB / 261.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.04532, allocations: 63.47 kB / 261.1 MB, free: 8.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04532, allocations: 4 kB / 261.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.04574, allocations: 187.7 kB / 261.3 MB, free: 7.875 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/0.04615, allocations: 279.9 kB / 261.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.04653, allocations: 310.7 kB / 261.9 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.04655, allocations: 7.984 kB / 261.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.04675, allocations: 141.4 kB / 262 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.04716, allocations: 184 kB / 262.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.05167, allocations: 0.6636 MB / 262.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.727e-05/0.05173, allocations: 93.12 kB / 263 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.05188, allocations: 50.94 kB / 263 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.05209, allocations: 145.2 kB / 263.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.05209, allocations: 0 / 263.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of Templates: time 0.01366/0.06575, allocations: 10.8 MB / 274 MB, free: 11.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.1068547843024135]