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.001379/0.001379, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001586/0.001586, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.395/1.395, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001946/0.001946, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2553, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03049/0.2858, allocations: 27.41 MB / 459.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005219/0.291, allocations: 4.206 MB / 463.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.2913, allocations: 8 kB / 463.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.2919, allocations: 214.7 kB / 463.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007104/0.2926, allocations: 334.1 kB / 464.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.2969, allocations: 1.471 MB / 465.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2983, allocations: 0.8951 MB / 466.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.2985, allocations: 80.64 kB / 466.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006745/0.3053, allocations: 4.115 MB / 470.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.3057, allocations: 282.9 kB / 471.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.3058, allocations: 32 kB / 471.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.3073, allocations: 0.7375 MB / 471.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.3075, allocations: 95.66 kB / 471.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.3077, allocations: 195.3 kB / 472.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3091, allocations: 0.8452 MB / 473 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3091, allocations: 7.984 kB / 473 MB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3091, allocations: 0 / 473 MB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3091, allocations: 0 / 473 MB, free: 14.34 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.001087/0.3102, allocations: 0.6658 MB / 473.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3102, allocations: 8.031 kB / 473.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.3107, allocations: 56.73 kB / 473.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.3112, allocations: 296.3 kB / 474 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3112, allocations: 20.94 kB / 474 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.3113, allocations: 24.38 kB / 474 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.3118, allocations: 342.6 kB / 474.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3118, allocations: 3.938 kB / 474.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.3119, allocations: 16 kB / 474.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3119, allocations: 8 kB / 474.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.3122, allocations: 210 kB / 474.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.3257, allocations: 5.916 MB / 480.5 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.3261, allocations: 166.6 kB / 480.7 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3262, allocations: 88.77 kB / 480.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.3371, allocations: 3.885 MB / 484.6 MB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.3372, allocations: 38.56 kB / 484.7 MB, free: 1.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.3372, allocations: 0 / 484.7 MB, free: 1.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006321/0.3435, allocations: 1.41 MB / 486.1 MB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3435, allocations: 51.41 kB / 486.1 MB, free: 132 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.3439, allocations: 262.5 kB / 486.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3439, allocations: 33.7 kB / 486.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3441, allocations: 188.5 kB / 486.6 MB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.3442, allocations: 103.2 kB / 486.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3443, allocations: 65.66 kB / 486.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3444, allocations: 338.8 kB / 487.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3446, allocations: 91.89 kB / 487.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3448, allocations: 190.8 kB / 487.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3453, allocations: 303.5 kB / 487.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3453, allocations: 0 / 487.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007429/0.346, allocations: 394.8 kB / 488.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.346, allocations: 4 kB / 488.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3461, allocations: 4 kB / 488.1 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/0.3502, allocations: 0.946 MB / 489 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.3505, allocations: 63.91 kB / 489.1 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.3524, allocations: 1.974 MB / 491.1 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.3526, allocations: 12 kB / 491.1 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.3526, allocations: 15.98 kB / 491.1 MB, free: 10.89 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.0002083/0.3529, allocations: 163.5 kB / 491.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.3529, allocations: 31.75 kB / 491.3 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.3537, allocations: 494.6 kB / 491.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3537, allocations: 0 / 491.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3537, allocations: 3.938 kB / 491.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007436/0.3545, allocations: 0.7162 MB / 492.5 MB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.3558, allocations: 0.9541 MB / 493.4 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3558, allocations: 0 / 493.4 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.356, allocations: 39.92 kB / 493.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.3578, allocations: 320.5 kB / 493.8 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3578, allocations: 8 kB / 493.8 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006017/0.3584, allocations: 0.646 MB / 494.4 MB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3584, allocations: 0 / 494.4 MB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3594, allocations: 0.7216 MB / 495.2 MB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3595, allocations: 109.1 kB / 495.3 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.3596, allocations: 8 kB / 495.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3597, allocations: 0 / 495.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3598, allocations: 24.05 kB / 495.3 MB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3598, allocations: 8 kB / 495.3 MB, free: 6.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.36, allocations: 190 kB / 495.5 MB, free: 6.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 495.5 MB, free: 6.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007102/0.3607, allocations: 191.6 kB / 495.7 MB, free: 6.051 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.0005829/0.3613, allocations: 266.8 kB / 495.9 MB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008387/0.3621, allocations: 443 kB / 496.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3621, allocations: 0 / 496.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.3627, allocations: 224.1 kB / 496.6 MB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/0.3636, allocations: 173.2 kB / 496.8 MB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.365, allocations: 0.8465 MB / 497.6 MB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3655, allocations: 0.7876 MB / 498.4 MB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.3655, allocations: 27.44 kB / 498.4 MB, free: 3.234 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3655, allocations: 0 / 498.4 MB, free: 3.234 MB / 398.1 MB Notification: Performance of Templates: time 0.01255/0.3781, allocations: 8.459 MB / 0.495 GB, free: 10.79 MB / 414.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.524606506340206]