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.001639/0.001639, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001762/0.001762, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.001897/0.001897, allocations: 67.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 53.39 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0319/0.2947, allocations: 27.43 MB / 459.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.3006, allocations: 4.202 MB / 464.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.3009, allocations: 7.938 kB / 464.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.3017, allocations: 210.7 kB / 464.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008103/0.3025, allocations: 346.1 kB / 464.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.307, allocations: 1.471 MB / 466.1 MB, free: 5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.3085, allocations: 0.9145 MB / 467 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3087, allocations: 72.83 kB / 467.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007303/0.316, allocations: 4.143 MB / 471.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.3165, allocations: 286.9 kB / 471.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.3165, allocations: 39.88 kB / 471.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.3182, allocations: 0.7259 MB / 472.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3183, allocations: 95.72 kB / 472.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.3186, allocations: 195.2 kB / 472.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3201, allocations: 0.8452 MB / 473.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3201, allocations: 0 / 473.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3201, allocations: 4 kB / 473.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3201, allocations: 0 / 473.4 MB, free: 13.68 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.001061/0.3212, allocations: 0.5945 MB / 474 MB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3212, allocations: 8.031 kB / 474 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.3217, allocations: 56.72 kB / 474.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.3222, allocations: 230 kB / 474.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3222, allocations: 25.03 kB / 474.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.3222, allocations: 28.38 kB / 474.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.3228, allocations: 335.7 kB / 474.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3228, allocations: 4 kB / 474.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3228, allocations: 12 kB / 474.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3229, allocations: 8 kB / 474.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.3232, allocations: 213.7 kB / 474.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.3362, allocations: 4.668 MB / 479.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.3366, allocations: 177.7 kB / 479.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3367, allocations: 84.77 kB / 479.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.3472, allocations: 2.68 MB / 482.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3473, allocations: 30.56 kB / 482.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.384e-06/0.3473, allocations: 0 / 482.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006403/0.3537, allocations: 1.26 MB / 483.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3537, allocations: 59.41 kB / 483.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.354, allocations: 261.9 kB / 484.1 MB, free: 2.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3541, allocations: 29.7 kB / 484.1 MB, free: 2.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3542, allocations: 196.4 kB / 484.3 MB, free: 2.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.3543, allocations: 95.17 kB / 484.4 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3544, allocations: 69.66 kB / 484.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3546, allocations: 338.8 kB / 484.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3547, allocations: 91.95 kB / 484.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.355, allocations: 190.8 kB / 485.1 MB, free: 1.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3554, allocations: 307.7 kB / 485.4 MB, free: 1.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3554, allocations: 0 / 485.4 MB, free: 1.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007778/0.3562, allocations: 391.1 kB / 485.8 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3562, allocations: 10.19 kB / 485.8 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3562, allocations: 4 kB / 485.8 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/0.3604, allocations: 0.9286 MB / 486.7 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.3607, allocations: 75.84 kB / 486.8 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.3624, allocations: 1.867 MB / 488.7 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3627, allocations: 12.19 kB / 488.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3627, allocations: 19.98 kB / 488.7 MB, free: 13.77 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.0001953/0.3629, allocations: 153.8 kB / 488.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.363, allocations: 35.75 kB / 488.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000806/0.3638, allocations: 0.4948 MB / 489.4 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3638, allocations: 4 kB / 489.4 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3638, allocations: 0 / 489.4 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007466/0.3645, allocations: 0.7318 MB / 490.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3659, allocations: 0.9255 MB / 491 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3659, allocations: 0 / 491 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3661, allocations: 35.98 kB / 491.1 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.3679, allocations: 328.4 kB / 491.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.368, allocations: 8 kB / 491.4 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005921/0.3686, allocations: 0.646 MB / 492 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3686, allocations: 0 / 492 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3696, allocations: 0.7449 MB / 492.8 MB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.3697, allocations: 27.78 kB / 492.8 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3697, allocations: 8 kB / 492.8 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3699, allocations: 4 kB / 492.8 MB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.37, allocations: 19.97 kB / 492.8 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.37, allocations: 11.98 kB / 492.9 MB, free: 9.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.3702, allocations: 189.3 kB / 493 MB, free: 9.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3702, allocations: 3.938 kB / 493 MB, free: 9.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.3709, allocations: 183.8 kB / 493.2 MB, free: 9.012 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.0006122/0.3715, allocations: 270.7 kB / 493.5 MB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008921/0.3724, allocations: 447.1 kB / 493.9 MB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3724, allocations: 0 / 493.9 MB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.3729, allocations: 231.6 kB / 494.2 MB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.3739, allocations: 184 kB / 494.3 MB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3754, allocations: 0.8259 MB / 495.2 MB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.3758, allocations: 0.7875 MB / 495.9 MB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.3759, allocations: 31.42 kB / 496 MB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3759, allocations: 0 / 496 MB, free: 6.176 MB / 398.1 MB Notification: Performance of Templates: time 0.01333/0.3892, allocations: 8.469 MB / 0.4926 GB, free: 13.72 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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: 9.078341546002775]