Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007302/0.0007302, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009499/0.00168, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006142/0.0006142, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008485/0.001463, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8513/0.8513, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1423/0.9936, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.349e-05, allocations: 2.312 kB / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0141/0.01413, allocations: 12.96 MB / 252.7 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.01658, allocations: 2.234 MB / 255 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.01682, allocations: 11.94 kB / 255 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.01715, allocations: 143 kB / 255.1 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.01776, allocations: 0.5086 MB / 255.6 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.02046, allocations: 1.445 MB / 257.1 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.02159, allocations: 1.354 MB / 258.4 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.02177, allocations: 119 kB / 258.5 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.02243, allocations: 0.6671 MB / 259.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.02278, allocations: 350.9 kB / 259.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.02283, allocations: 48 kB / 259.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.02387, allocations: 0.7413 MB / 260.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.02398, allocations: 111.6 kB / 260.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.02414, allocations: 179.8 kB / 260.6 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.02503, allocations: 0.7326 MB / 261.3 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.02504, allocations: 4 kB / 261.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02504, allocations: 0 / 261.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.02505, allocations: 3.938 kB / 261.4 MB, free: 0.707 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.0007806/0.02583, allocations: 0.8151 MB / 262.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.02586, allocations: 12.03 kB / 262.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004494/0.02631, allocations: 245.1 kB / 262.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.02658, allocations: 249 kB / 262.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.0266, allocations: 29.38 kB / 262.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.02665, allocations: 48.38 kB / 262.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.027, allocations: 0.5523 MB / 263.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.02701, allocations: 192 / 263.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.02704, allocations: 24.12 kB / 263.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.02705, allocations: 8 kB / 263.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.02719, allocations: 150.7 kB / 263.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/0.03246, allocations: 4.154 MB / 267.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.03268, allocations: 166.2 kB / 267.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.03275, allocations: 80.75 kB / 267.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003782/0.03654, allocations: 2.488 MB / 270.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.03657, allocations: 43.09 kB / 270.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.866e-06/0.03657, allocations: 0 / 270.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.006001/0.04258, allocations: 2.059 MB / 272.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.0426, allocations: 55.41 kB / 272.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.04275, allocations: 260.8 kB / 272.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.04278, allocations: 29.7 kB / 272.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.04286, allocations: 220.9 kB / 273 MB, free: 4.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.04293, allocations: 166.6 kB / 273.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.04302, allocations: 98.25 kB / 273.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.04311, allocations: 350.7 kB / 273.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.04317, allocations: 57.28 kB / 273.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.04329, allocations: 184.7 kB / 273.8 MB, free: 3.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.04352, allocations: 306.2 kB / 274.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.04352, allocations: 4 kB / 274.1 MB, free: 3.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003716/0.04389, allocations: 348.6 kB / 274.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.04391, allocations: 8.469 kB / 274.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.04391, allocations: 4 kB / 274.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/0.04725, allocations: 1.825 MB / 276.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.04754, allocations: 127.9 kB / 276.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.0486, allocations: 2.264 MB / 278.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.04877, allocations: 16 kB / 278.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.04879, allocations: 16 kB / 278.7 MB, free: 14.73 MB / 282.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 0.0001211/0.04891, allocations: 148.5 kB / 278.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.04895, allocations: 35.97 kB / 278.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.0494, allocations: 0.4998 MB / 279.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.04941, allocations: 12 kB / 279.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.04941, allocations: 3.938 kB / 279.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003256/0.04974, allocations: 0.5708 MB / 280 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007979/0.05053, allocations: 0.8132 MB / 280.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.05054, allocations: 0 / 280.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.05074, allocations: 107.8 kB / 280.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.05079, allocations: 39.66 kB / 281 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.05211, allocations: 0.5609 MB / 281.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.05215, allocations: 15.98 kB / 281.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005186/0.05266, allocations: 1.078 MB / 282.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.05267, allocations: 0 / 282.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.05327, allocations: 0.6574 MB / 283.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.05331, allocations: 4.047 kB / 283.3 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.05344, allocations: 15.98 kB / 283.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.05347, allocations: 39.94 kB / 283.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.05349, allocations: 11.98 kB / 283.4 MB, free: 9.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.05356, allocations: 78.78 kB / 283.4 MB, free: 9.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05356, allocations: 0 / 283.4 MB, free: 9.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.0541, allocations: 231.7 kB / 283.7 MB, free: 9.582 MB / 282.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.0004733/0.05457, allocations: 287.8 kB / 283.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005896/0.05516, allocations: 462.4 kB / 284.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.001e-05/0.05518, allocations: 12 kB / 284.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.0556, allocations: 277.2 kB / 284.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008034/0.0564, allocations: 0.9705 MB / 285.6 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.06206, allocations: 0.9828 MB / 286.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.731e-05/0.06213, allocations: 126.8 kB / 286.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.06235, allocations: 60.16 kB / 286.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.06263, allocations: 197.2 kB / 287 MB, free: 5.992 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.06263, allocations: 0 / 287 MB, free: 5.992 MB / 282.7 MB Notification: Performance of Templates: time 0.01378/0.07642, allocations: 13.3 MB / 300.3 MB, free: 8.836 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.2302954476326704]