Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001204/0.001204, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002584, 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.0008093/0.0008093, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009093/0.001719, 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.7914/0.7914, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1344/0.9258, allocations: 49.49 MB / 220.6 MB, free: 1.453 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 221.9 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.29e-05, allocations: 2.312 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009511/0.009524, allocations: 12.95 MB / 234.8 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.01182, allocations: 2.234 MB / 237 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.01199, allocations: 11.94 kB / 237.1 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.01228, allocations: 147.1 kB / 237.2 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.01288, allocations: 0.5086 MB / 237.7 MB, free: 232 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.01521, allocations: 1.438 MB / 239.2 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.01618, allocations: 1.35 MB / 240.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.01635, allocations: 122.9 kB / 240.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.01698, allocations: 0.6666 MB / 241.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.01733, allocations: 354.9 kB / 241.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.01739, allocations: 48 kB / 241.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009187/0.01831, allocations: 0.7374 MB / 242.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.01841, allocations: 119.6 kB / 242.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.01856, allocations: 171.8 kB / 242.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.0193, allocations: 0.748 MB / 243.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.01931, allocations: 0 / 243.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01931, allocations: 0 / 243.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.01933, allocations: 0 / 243.5 MB, free: 10.46 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009544/0.02028, allocations: 0.819 MB / 244.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.02032, allocations: 15.89 kB / 244.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.02074, allocations: 241.2 kB / 244.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.021, allocations: 245 kB / 244.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.02102, allocations: 29.38 kB / 244.8 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.02106, allocations: 40.38 kB / 244.8 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.02141, allocations: 0.5562 MB / 245.4 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.02143, allocations: 8.141 kB / 245.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.02145, allocations: 20.12 kB / 245.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.02148, allocations: 12 kB / 245.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.02162, allocations: 142.7 kB / 245.6 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.02678, allocations: 4.166 MB / 249.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.02699, allocations: 162.5 kB / 249.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.02706, allocations: 72.81 kB / 250 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004038/0.0311, allocations: 2.488 MB / 252.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.03112, allocations: 34.56 kB / 252.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.303e-06/0.03112, allocations: 4 kB / 252.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.005452/0.03658, allocations: 2.011 MB / 254.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.03661, allocations: 63.16 kB / 254.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.03675, allocations: 248.9 kB / 254.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.03677, allocations: 41.64 kB / 254.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.03685, allocations: 212.9 kB / 255 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.03692, allocations: 166.6 kB / 255.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.03701, allocations: 94.27 kB / 255.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.03709, allocations: 358.7 kB / 255.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.03715, allocations: 61.28 kB / 255.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.03727, allocations: 184.7 kB / 255.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.03749, allocations: 296.2 kB / 256.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.0375, allocations: 0 / 256.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003564/0.03785, allocations: 345 kB / 256.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.03787, allocations: 8 kB / 256.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.03788, allocations: 3.984 kB / 256.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/0.04139, allocations: 1.83 MB / 258.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.04165, allocations: 127.8 kB / 258.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.0427, allocations: 2.26 MB / 260.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.04282, allocations: 20.03 kB / 260.8 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.04283, allocations: 16 kB / 260.8 MB, free: 8.523 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/0.04293, allocations: 140.5 kB / 260.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.04298, allocations: 47.89 kB / 261 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.04341, allocations: 499.9 kB / 261.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.04342, allocations: 12.08 kB / 261.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.04343, allocations: 7.922 kB / 261.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003217/0.04375, allocations: 0.5708 MB / 262 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.04447, allocations: 0.81 MB / 262.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.04448, allocations: 0 / 262.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.04466, allocations: 99.81 kB / 263 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.0447, allocations: 39.66 kB / 263 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.04592, allocations: 0.5686 MB / 263.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.04594, allocations: 16 kB / 263.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003968/0.04634, allocations: 1.086 MB / 264.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04634, allocations: 0 / 264.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.04682, allocations: 0.6495 MB / 265.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.04685, allocations: 8 kB / 265.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.04695, allocations: 8 kB / 265.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.04698, allocations: 31.94 kB / 265.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.04712, allocations: 11.98 kB / 265.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.1e-05/0.04718, allocations: 86.75 kB / 265.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04718, allocations: 0 / 265.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.04757, allocations: 231.7 kB / 265.7 MB, free: 3.387 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/0.04796, allocations: 288 kB / 266 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.04842, allocations: 461.1 kB / 266.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/0.04843, allocations: 12 kB / 266.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.04877, allocations: 255.2 kB / 266.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.04929, allocations: 256.6 kB / 266.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.05502, allocations: 0.9764 MB / 267.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.006e-05/0.05509, allocations: 130.6 kB / 268 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.05524, allocations: 63.38 kB / 268.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.0555, allocations: 189.2 kB / 268.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0555, allocations: 0 / 268.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of Templates: time 0.01423/0.06973, allocations: 13.98 MB / 282.3 MB, free: 2.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.2614175714552402]