Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009352/0.0009352, allocations: 84.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000913/0.000913, allocations: 159.6 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9292/0.9292, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 3.984 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.136e-05, allocations: 2.312 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01232/0.01234, allocations: 11.86 MB / 286 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.01403, allocations: 1.919 MB / 287.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.01414, allocations: 7.938 kB / 287.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.01445, allocations: 107.3 kB / 288 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.01483, allocations: 369.8 kB / 288.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.01648, allocations: 1.38 MB / 289.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.01706, allocations: 0.9377 MB / 290.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.0172, allocations: 76.88 kB / 290.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.02064, allocations: 4.252 MB / 295 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.02088, allocations: 251.2 kB / 295.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.02091, allocations: 35.94 kB / 295.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.02155, allocations: 0.6711 MB / 296 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.02162, allocations: 103.6 kB / 296.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.02172, allocations: 143.8 kB / 296.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.02234, allocations: 0.752 MB / 297 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.02235, allocations: 0 / 297 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.02235, allocations: 0 / 297 MB, free: 13.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.02235, allocations: 4 kB / 297 MB, free: 13.34 MB / 282.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.0005659/0.02292, allocations: 0.6746 MB / 297.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.02295, allocations: 8.031 kB / 297.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.02323, allocations: 124.1 kB / 297.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.02344, allocations: 240 kB / 298 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.02346, allocations: 25.03 kB / 298 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.0235, allocations: 28.38 kB / 298.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.02378, allocations: 442.6 kB / 298.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.0238, allocations: 4.125 kB / 298.5 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.02382, allocations: 20.12 kB / 298.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.02382, allocations: 8 kB / 298.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.02394, allocations: 111.3 kB / 298.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.02933, allocations: 4.309 MB / 302.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.02947, allocations: 119.5 kB / 303.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.02952, allocations: 51.59 kB / 303.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004229/0.03375, allocations: 2.488 MB / 305.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.03377, allocations: 41.33 kB / 305.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.03377, allocations: 4 kB / 305.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002782/0.03656, allocations: 1.068 MB / 306.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.03658, allocations: 59.33 kB / 306.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.03672, allocations: 282.5 kB / 307 MB, free: 2.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.03674, allocations: 29.7 kB / 307.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.03683, allocations: 239.1 kB / 307.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.03688, allocations: 99.16 kB / 307.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.03695, allocations: 75.28 kB / 307.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.03707, allocations: 0.5079 MB / 308 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.03711, allocations: 39.75 kB / 308 MB, free: 1.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.03722, allocations: 175.8 kB / 308.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.0374, allocations: 244.5 kB / 308.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.0374, allocations: 3.938 kB / 308.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000317/0.03772, allocations: 288.8 kB / 308.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.03773, allocations: 8 kB / 308.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.03774, allocations: 4 kB / 308.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.03962, allocations: 0.9324 MB / 309.7 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.03975, allocations: 67.91 kB / 309.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/0.04073, allocations: 2.541 MB / 312.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/0.04081, allocations: 11.94 kB / 312.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.04083, allocations: 16 kB / 312.3 MB, free: 13.39 MB / 298.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.461e-05/0.04092, allocations: 184.5 kB / 312.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.04097, allocations: 31.86 kB / 312.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.04128, allocations: 315.6 kB / 312.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.04128, allocations: 4 kB / 312.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.04129, allocations: 0 / 312.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002844/0.04157, allocations: 0.5509 MB / 313.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.04215, allocations: 0.639 MB / 314 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.04216, allocations: 7.938 kB / 314 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.04225, allocations: 43.97 kB / 314.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007622/0.04302, allocations: 299.1 kB / 314.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.04303, allocations: 7.938 kB / 314.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/0.04331, allocations: 0.8117 MB / 315.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.04331, allocations: 0 / 315.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.04369, allocations: 0.4968 MB / 315.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.04371, allocations: 31.73 kB / 315.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.04373, allocations: 4 kB / 315.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.04383, allocations: 8 kB / 315.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.04385, allocations: 19.97 kB / 315.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.04386, allocations: 7.984 kB / 315.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.065e-05/0.04393, allocations: 177.5 kB / 315.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04393, allocations: 0 / 315.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.04429, allocations: 187.7 kB / 316.1 MB, free: 9.363 MB / 298.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.0003815/0.04467, allocations: 302.8 kB / 316.4 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.04505, allocations: 381.6 kB / 316.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.04505, allocations: 0 / 316.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.04526, allocations: 147.4 kB / 316.9 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.0457, allocations: 143 kB / 317 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.04661, allocations: 0.6654 MB / 317.7 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.04666, allocations: 97.11 kB / 317.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.04677, allocations: 38.95 kB / 317.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.04697, allocations: 182.1 kB / 318 MB, free: 7.355 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04697, allocations: 0 / 318 MB, free: 7.355 MB / 298.7 MB Notification: Performance of Templates: time 0.01063/0.05761, allocations: 10.64 MB / 328.7 MB, free: 12.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.261695354245603]