Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001547/0.001547, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001662/0.001662, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 255.4 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.83 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.09749, allocations: 53.32 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2102/0.3077, allocations: 27.23 MB / 455.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.3135, allocations: 4.184 MB / 459.5 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.314, allocations: 4.562 kB / 459.5 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.3149, allocations: 219.3 kB / 459.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009644/0.3158, allocations: 337.8 kB / 460 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.3206, allocations: 1.472 MB / 461.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.3221, allocations: 0.8862 MB / 462.4 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3223, allocations: 80.52 kB / 462.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007199/0.3295, allocations: 4.07 MB / 466.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.33, allocations: 283.8 kB / 466.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.33, allocations: 31.16 kB / 466.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.3319, allocations: 0.7331 MB / 467.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.332, allocations: 100.2 kB / 467.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.3323, allocations: 194.7 kB / 467.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.3337, allocations: 0.851 MB / 468.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3337, allocations: 1.688 kB / 468.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3337, allocations: 0 / 468.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3338, allocations: 0 / 468.7 MB, free: 3.262 MB / 366.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.001085/0.3348, allocations: 0.6622 MB / 469.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3349, allocations: 12.56 kB / 469.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004664/0.3353, allocations: 62.19 kB / 469.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.3358, allocations: 290.7 kB / 469.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3358, allocations: 23.47 kB / 469.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.3359, allocations: 26.84 kB / 469.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.3364, allocations: 341.5 kB / 470.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3365, allocations: 5.406 kB / 470.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.3365, allocations: 16.44 kB / 470.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3365, allocations: 8.484 kB / 470.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.3369, allocations: 208.4 kB / 470.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.3502, allocations: 5.915 MB / 476.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.3506, allocations: 172.6 kB / 476.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.3507, allocations: 85.48 kB / 476.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.3615, allocations: 3.879 MB / 480.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.3615, allocations: 40.06 kB / 480.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.3616, allocations: 0 / 480.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006484/0.368, allocations: 1.414 MB / 481.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3681, allocations: 53.59 kB / 481.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.3684, allocations: 262.6 kB / 482.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.3684, allocations: 32.39 kB / 482.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.3686, allocations: 183.6 kB / 482.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.3687, allocations: 98.06 kB / 482.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3688, allocations: 75.77 kB / 482.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3689, allocations: 336.4 kB / 482.9 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3691, allocations: 91.88 kB / 483 MB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3693, allocations: 201.2 kB / 483.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.3698, allocations: 298.1 kB / 483.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3698, allocations: 1.375 kB / 483.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007055/0.3705, allocations: 389.1 kB / 483.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3705, allocations: 8 kB / 483.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3705, allocations: 4 kB / 483.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/0.3747, allocations: 0.9359 MB / 484.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.375, allocations: 67.91 kB / 484.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.3769, allocations: 1.979 MB / 486.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.3771, allocations: 11.97 kB / 486.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3771, allocations: 16 kB / 486.8 MB, free: 4.648 MB / 382.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.0002175/0.3774, allocations: 157.7 kB / 487 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.3774, allocations: 39.8 kB / 487 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/0.3782, allocations: 488.2 kB / 487.5 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3782, allocations: 7.984 kB / 487.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3782, allocations: 0 / 487.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007318/0.3789, allocations: 0.716 MB / 488.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3803, allocations: 0.9392 MB / 489.2 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3803, allocations: 8.031 kB / 489.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.3805, allocations: 43.91 kB / 489.2 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.3823, allocations: 320.3 kB / 489.5 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.3823, allocations: 7.984 kB / 489.5 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005915/0.3829, allocations: 0.6422 MB / 490.2 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3829, allocations: 3.984 kB / 490.2 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3839, allocations: 0.7141 MB / 490.9 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.384, allocations: 112.9 kB / 491 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.3841, allocations: 6.938 kB / 491 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3843, allocations: 8 kB / 491 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.3843, allocations: 15.98 kB / 491 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.3843, allocations: 11.98 kB / 491.1 MB, free: 192 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.3845, allocations: 186 kB / 491.2 MB, free: 8 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3845, allocations: 0 / 491.2 MB, free: 8 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007455/0.3853, allocations: 191.7 kB / 491.4 MB, free: 15.82 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.0006289/0.3859, allocations: 275.7 kB / 491.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.3868, allocations: 450 kB / 492.1 MB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3868, allocations: 0.75 kB / 492.1 MB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.3873, allocations: 220.3 kB / 492.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.3883, allocations: 177.6 kB / 492.5 MB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3897, allocations: 0.8218 MB / 493.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3902, allocations: 0.7799 MB / 494.1 MB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.3903, allocations: 35.42 kB / 494.2 MB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3903, allocations: 0 / 494.2 MB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.01282/0.4031, allocations: 8.45 MB / 0.4908 GB, free: 4.605 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.589432111941278]