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.0009004/0.0009004, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002127, allocations: 453.8 kB / 10.46 MB, free: 236 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.001257/0.001257, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002704, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9713/0.9713, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1724/1.144, allocations: 49.5 MB / 220.7 MB, free: 1.348 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 2.094e-06/2.094e-06, allocations: 0 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.264e-05, allocations: 10.25 kB / 222 MB, free: 36 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01665/0.01668, allocations: 12 MB / 234 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.01909, allocations: 1.97 MB / 236 MB, free: 2 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.01933, allocations: 4 kB / 236 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.01971, allocations: 123.1 kB / 236.1 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.02029, allocations: 369.8 kB / 236.5 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.02386, allocations: 1.321 MB / 237.8 MB, free: 188 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.02494, allocations: 0.9418 MB / 238.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.02512, allocations: 70.86 kB / 238.8 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/0.02947, allocations: 4.183 MB / 243 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.0298, allocations: 243.2 kB / 243.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.02984, allocations: 32 kB / 243.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.0311, allocations: 0.7179 MB / 244 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.03122, allocations: 79.72 kB / 244 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.03137, allocations: 119.9 kB / 244.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.0323, allocations: 0.639 MB / 244.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.03231, allocations: 0 / 244.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.03231, allocations: 0 / 244.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.03232, allocations: 0 / 244.8 MB, free: 9.16 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.0007654/0.03309, allocations: 0.6632 MB / 245.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.03312, allocations: 8.031 kB / 245.5 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.03352, allocations: 201.3 kB / 245.7 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.0338, allocations: 197.3 kB / 245.9 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.03382, allocations: 21.03 kB / 245.9 MB, free: 8.008 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.03386, allocations: 28.38 kB / 245.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.03416, allocations: 421.9 kB / 246.3 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.03418, allocations: 11.89 kB / 246.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.0342, allocations: 16 kB / 246.3 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.03421, allocations: 11.98 kB / 246.4 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.03432, allocations: 95.31 kB / 246.4 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005292/0.03961, allocations: 3.738 MB / 250.2 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.03977, allocations: 98.47 kB / 250.3 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.03981, allocations: 52.75 kB / 250.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003922/0.04374, allocations: 2.469 MB / 252.8 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.04378, allocations: 38.56 kB / 252.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.056e-06/0.04378, allocations: 0 / 252.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.003507/0.04729, allocations: 1.139 MB / 254 MB, free: 15.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.04731, allocations: 51.41 kB / 254 MB, free: 15.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.04747, allocations: 231.2 kB / 254.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.04749, allocations: 33.7 kB / 254.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.04757, allocations: 180.1 kB / 254.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.04762, allocations: 99.16 kB / 254.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.04769, allocations: 65.62 kB / 254.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.04778, allocations: 334.8 kB / 254.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.04782, allocations: 35.98 kB / 255 MB, free: 14.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.455e-05/0.04792, allocations: 126.9 kB / 255.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.0481, allocations: 214.6 kB / 255.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.0481, allocations: 7.938 kB / 255.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002882/0.04839, allocations: 231 kB / 255.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.04841, allocations: 8 kB / 255.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.04842, allocations: 4 kB / 255.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.05022, allocations: 0.9312 MB / 256.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.05041, allocations: 87.83 kB / 256.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009646/0.05138, allocations: 1.707 MB / 258.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.05149, allocations: 12 kB / 258.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.05151, allocations: 15.98 kB / 258.3 MB, free: 11.11 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 0.0001052/0.05161, allocations: 140.6 kB / 258.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.05165, allocations: 19.98 kB / 258.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.05197, allocations: 316.5 kB / 258.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.05198, allocations: 4 kB / 258.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.05198, allocations: 0 / 258.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002824/0.05227, allocations: 0.515 MB / 259.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.05288, allocations: 0.5384 MB / 259.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.05288, allocations: 4.031 kB / 259.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.05301, allocations: 59.89 kB / 259.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.05305, allocations: 23.75 kB / 259.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007081/0.05376, allocations: 287.2 kB / 260.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.05378, allocations: 11.94 kB / 260.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002691/0.05405, allocations: 0.55 MB / 260.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.05405, allocations: 3.938 kB / 260.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.05442, allocations: 447.3 kB / 261.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.05445, allocations: 4 kB / 261.2 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.05454, allocations: 8 kB / 261.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.05456, allocations: 11.97 kB / 261.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.05457, allocations: 11.98 kB / 261.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.155e-05/0.05464, allocations: 63.41 kB / 261.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05464, allocations: 0 / 261.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.05515, allocations: 191.8 kB / 261.5 MB, free: 7.727 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.0005057/0.05566, allocations: 287.8 kB / 261.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.05609, allocations: 306.9 kB / 262.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.0561, allocations: 7.984 kB / 262.1 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.05635, allocations: 157.7 kB / 262.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.05697, allocations: 0.6909 MB / 262.9 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.06139, allocations: 0.6559 MB / 263.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.571e-05/0.06146, allocations: 105 kB / 263.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.06162, allocations: 42.91 kB / 263.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.06187, allocations: 153.2 kB / 263.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.06187, allocations: 0 / 263.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of Templates: time 0.01273/0.0746, allocations: 10.07 MB / 273.9 MB, free: 11.09 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.173699523322284]