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.001874/0.001874, allocations: 109 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.00229/0.00229, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001963/0.001963, allocations: 68.77 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2222, allocations: 53.36 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02898/0.2512, allocations: 27.43 MB / 459.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005298/0.2565, allocations: 4.206 MB / 464.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.2566, allocations: 7.938 kB / 464.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000617/0.2573, allocations: 214.7 kB / 464.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.2579, allocations: 338.1 kB / 464.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.2617, allocations: 1.471 MB / 466.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.2628, allocations: 0.9107 MB / 467 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.263, allocations: 72.84 kB / 467.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006537/0.2696, allocations: 4.146 MB / 471.2 MB, free: 48 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.27, allocations: 286.9 kB / 471.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.27, allocations: 35.94 kB / 471.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.2714, allocations: 0.7298 MB / 472.2 MB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2715, allocations: 95.72 kB / 472.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2717, allocations: 191.3 kB / 472.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2728, allocations: 0.8491 MB / 473.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2728, allocations: 4 kB / 473.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2728, allocations: 0 / 473.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2728, allocations: 0 / 473.4 MB, free: 13.86 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.0009365/0.2738, allocations: 0.5983 MB / 474 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2738, allocations: 8.031 kB / 474 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.2743, allocations: 56.72 kB / 474 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.2747, allocations: 230 kB / 474.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.2747, allocations: 21.03 kB / 474.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.2747, allocations: 32.36 kB / 474.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.2753, allocations: 339.7 kB / 474.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2753, allocations: 0 / 474.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.2753, allocations: 20 kB / 474.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2754, allocations: 8 kB / 474.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.2757, allocations: 205.8 kB / 474.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.2883, allocations: 4.664 MB / 479.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.2887, allocations: 174.1 kB / 479.7 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.2888, allocations: 88.81 kB / 479.8 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.2991, allocations: 2.672 MB / 482.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2991, allocations: 34.56 kB / 482.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.2991, allocations: 3.938 kB / 482.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006406/0.3055, allocations: 1.258 MB / 483.8 MB, free: 3.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3056, allocations: 55.41 kB / 483.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3059, allocations: 265.8 kB / 484.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3059, allocations: 33.7 kB / 484.1 MB, free: 2.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.3061, allocations: 188.4 kB / 484.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.3061, allocations: 95.17 kB / 484.4 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3062, allocations: 73.64 kB / 484.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3064, allocations: 338.8 kB / 484.8 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3066, allocations: 87.97 kB / 484.9 MB, free: 1.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.3068, allocations: 190.9 kB / 485.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.3073, allocations: 311.7 kB / 485.4 MB, free: 1.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3073, allocations: 0 / 485.4 MB, free: 1.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007084/0.308, allocations: 383.2 kB / 485.7 MB, free: 1.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.308, allocations: 12 kB / 485.8 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.308, allocations: 7.984 kB / 485.8 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.3123, allocations: 0.9291 MB / 486.7 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.3126, allocations: 67.95 kB / 486.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.3143, allocations: 1.878 MB / 488.6 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3144, allocations: 12.03 kB / 488.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3145, allocations: 16.16 kB / 488.7 MB, free: 13.95 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.0001706/0.3146, allocations: 157.8 kB / 488.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.3147, allocations: 31.75 kB / 488.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.3155, allocations: 0.4909 MB / 489.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3155, allocations: 7.984 kB / 489.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.3155, allocations: 0 / 489.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007366/0.3162, allocations: 0.7278 MB / 490.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3176, allocations: 0.9255 MB / 491 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3176, allocations: 0 / 491 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.3178, allocations: 39.97 kB / 491 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.3196, allocations: 316.5 kB / 491.3 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3196, allocations: 15.98 kB / 491.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005464/0.3202, allocations: 0.646 MB / 492 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3202, allocations: 0 / 492 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.3212, allocations: 0.7446 MB / 492.8 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.3212, allocations: 35.77 kB / 492.8 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.3213, allocations: 8 kB / 492.8 MB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.3215, allocations: 8 kB / 492.8 MB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.3215, allocations: 15.97 kB / 492.8 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.3215, allocations: 12 kB / 492.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.3217, allocations: 181.2 kB / 493 MB, free: 9.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3217, allocations: 12 kB / 493 MB, free: 9.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006205/0.3223, allocations: 183.7 kB / 493.2 MB, free: 9.188 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.0005618/0.3229, allocations: 277.5 kB / 493.5 MB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008015/0.3237, allocations: 439.6 kB / 493.9 MB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3237, allocations: 0 / 493.9 MB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.3242, allocations: 231.6 kB / 494.1 MB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.3251, allocations: 172.1 kB / 494.3 MB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3264, allocations: 0.7939 MB / 495.1 MB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3268, allocations: 0.7876 MB / 495.9 MB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.327, allocations: 50.95 kB / 495.9 MB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.327, allocations: 23.44 kB / 495.9 MB, free: 6.359 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.327, allocations: 7.938 kB / 496 MB, free: 6.352 MB / 398.1 MB Notification: Performance of Templates: time 0.01714/0.3442, allocations: 10.33 MB / 0.4944 GB, free: 12.08 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/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_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: 5.5921170096844435]