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.001726/0.001726, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002033/0.002033, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.547/1.547, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001994/0.001994, allocations: 63.88 kB / 378.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.234, allocations: 53.38 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02988/0.2639, allocations: 27.42 MB / 459.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.2692, allocations: 4.21 MB / 463.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.2694, allocations: 7.938 kB / 463.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006517/0.27, allocations: 206.7 kB / 464 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.2707, allocations: 350.1 kB / 464.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.2746, allocations: 1.467 MB / 465.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2758, allocations: 0.9067 MB / 466.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.276, allocations: 80.83 kB / 466.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/0.2827, allocations: 4.131 MB / 470.9 MB, free: 184 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.2831, allocations: 294.8 kB / 471.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.2831, allocations: 32 kB / 471.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.2847, allocations: 0.7298 MB / 471.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2849, allocations: 95.72 kB / 472 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.2851, allocations: 191.2 kB / 472.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2864, allocations: 0.8569 MB / 473.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2864, allocations: 0 / 473.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2864, allocations: 0 / 473.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.2864, allocations: 4 kB / 473.1 MB, free: 13.98 MB / 382.1 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.0009772/0.2874, allocations: 0.5828 MB / 473.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2874, allocations: 12.03 kB / 473.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.2878, allocations: 60.72 kB / 473.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.2883, allocations: 222 kB / 474 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.2883, allocations: 29.02 kB / 474 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.2884, allocations: 28.38 kB / 474 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.2889, allocations: 339.7 kB / 474.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.289, allocations: 8 kB / 474.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.289, allocations: 12 kB / 474.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.289, allocations: 4 kB / 474.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.2894, allocations: 213.7 kB / 474.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.3021, allocations: 4.668 MB / 479.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3024, allocations: 170.1 kB / 479.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3026, allocations: 84.77 kB / 479.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.3129, allocations: 2.676 MB / 482.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.3129, allocations: 34.56 kB / 482.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 4.528e-06/0.3129, allocations: 3.984 kB / 482.2 MB, free: 4.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006523/0.3195, allocations: 1.272 MB / 483.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3195, allocations: 59.41 kB / 483.5 MB, free: 3.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.3198, allocations: 257.9 kB / 483.8 MB, free: 2.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3198, allocations: 33.64 kB / 483.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.32, allocations: 192.4 kB / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.3201, allocations: 99.17 kB / 484.1 MB, free: 2.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3202, allocations: 69.64 kB / 484.2 MB, free: 2.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3203, allocations: 334.8 kB / 484.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3205, allocations: 87.97 kB / 484.6 MB, free: 2.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.3208, allocations: 186.9 kB / 484.8 MB, free: 1.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.3212, allocations: 307 kB / 485.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3212, allocations: 0 / 485.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007282/0.3219, allocations: 399 kB / 485.5 MB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3219, allocations: 4 kB / 485.5 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.322, allocations: 4 kB / 485.5 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/0.3263, allocations: 0.9285 MB / 486.4 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3266, allocations: 71.84 kB / 486.5 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.3283, allocations: 1.874 MB / 488.3 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.3286, allocations: 12.16 kB / 488.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3286, allocations: 16 kB / 488.4 MB, free: 14.08 MB / 398.1 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.0002001/0.3288, allocations: 149.8 kB / 488.5 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.3289, allocations: 35.75 kB / 488.5 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007924/0.3297, allocations: 0.4908 MB / 489 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3297, allocations: 8 kB / 489 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3297, allocations: 4 kB / 489.1 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007403/0.3304, allocations: 0.7279 MB / 489.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3318, allocations: 0.9177 MB / 490.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3318, allocations: 0 / 490.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.332, allocations: 47.97 kB / 490.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.3338, allocations: 320.4 kB / 491.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.3339, allocations: 11.98 kB / 491.1 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.3344, allocations: 0.6539 MB / 491.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3344, allocations: 0 / 491.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3355, allocations: 0.741 MB / 492.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.3355, allocations: 31.73 kB / 492.5 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.3356, allocations: 4 kB / 492.5 MB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3357, allocations: 11.94 kB / 492.5 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3358, allocations: 15.97 kB / 492.5 MB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3358, allocations: 11.98 kB / 492.5 MB, free: 9.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.336, allocations: 189.3 kB / 492.7 MB, free: 9.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 0 / 492.7 MB, free: 9.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006976/0.3367, allocations: 187.7 kB / 492.9 MB, free: 9.312 MB / 398.1 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.0006199/0.3373, allocations: 274.6 kB / 493.2 MB, free: 9.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008752/0.3382, allocations: 443.4 kB / 493.6 MB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3382, allocations: 0 / 493.6 MB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.3388, allocations: 235.6 kB / 493.8 MB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009868/0.3397, allocations: 174.6 kB / 494 MB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3411, allocations: 0.8121 MB / 494.8 MB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3416, allocations: 0.7797 MB / 495.6 MB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.3418, allocations: 54.94 kB / 495.7 MB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.3418, allocations: 31.42 kB / 495.7 MB, free: 6.453 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3418, allocations: 0 / 495.7 MB, free: 6.453 MB / 398.1 MB Notification: Performance of Templates: time 0.0183/0.3601, allocations: 10.32 MB / 0.4941 GB, free: 12.17 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.703277535736561]