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.007915/0.007915, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.001825/0.001825, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.495/1.495, allocations: 230.6 MB / 259 MB, free: 8.023 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.002026/0.002026, allocations: 72.73 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2698, allocations: 53.37 MB / 433.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03285/0.3027, allocations: 27.43 MB / 460.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005848/0.3085, allocations: 4.202 MB / 464.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.3089, allocations: 7.938 kB / 464.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.3097, allocations: 210.7 kB / 465 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008607/0.3106, allocations: 346.1 kB / 465.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.3152, allocations: 1.471 MB / 466.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3167, allocations: 0.9028 MB / 467.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3169, allocations: 86.5 kB / 467.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007268/0.3242, allocations: 4.135 MB / 472 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.3247, allocations: 294.9 kB / 472.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.3248, allocations: 32 kB / 472.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.3265, allocations: 0.7296 MB / 473 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.3266, allocations: 99.66 kB / 473.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.3269, allocations: 195.2 kB / 473.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.3284, allocations: 0.8492 MB / 474.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3284, allocations: 0 / 474.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3284, allocations: 0 / 474.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3284, allocations: 0 / 474.1 MB, free: 14.03 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.001089/0.3295, allocations: 0.5945 MB / 474.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3295, allocations: 12.03 kB / 474.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.33, allocations: 56.72 kB / 474.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.3305, allocations: 226 kB / 475 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.3305, allocations: 25.03 kB / 475 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.3306, allocations: 28.38 kB / 475.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.3312, allocations: 335.7 kB / 475.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.3312, allocations: 7.938 kB / 475.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.3312, allocations: 16 kB / 475.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3313, allocations: 4 kB / 475.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.3316, allocations: 213.8 kB / 475.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.3444, allocations: 4.66 MB / 480.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.3448, allocations: 170.6 kB / 480.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3449, allocations: 84.83 kB / 480.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.3552, allocations: 2.676 MB / 483.2 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.3552, allocations: 34.56 kB / 483.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.274e-06/0.3552, allocations: 0 / 483.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006587/0.3618, allocations: 1.27 MB / 484.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3618, allocations: 51.41 kB / 484.6 MB, free: 3.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3622, allocations: 261.9 kB / 484.8 MB, free: 2.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3622, allocations: 33.7 kB / 484.9 MB, free: 2.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3623, allocations: 188.5 kB / 485.1 MB, free: 2.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.3624, allocations: 103.1 kB / 485.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3625, allocations: 65.66 kB / 485.2 MB, free: 2.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3627, allocations: 338.8 kB / 485.5 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3629, allocations: 87.95 kB / 485.6 MB, free: 2.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3631, allocations: 190.8 kB / 485.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.3636, allocations: 307.7 kB / 486.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3636, allocations: 0 / 486.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007543/0.3643, allocations: 395.1 kB / 486.5 MB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3643, allocations: 4 kB / 486.5 MB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3643, allocations: 4 kB / 486.5 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/0.3686, allocations: 0.9359 MB / 487.4 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.3689, allocations: 67.91 kB / 487.5 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.3708, allocations: 1.874 MB / 489.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.3711, allocations: 8.156 kB / 489.4 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.3711, allocations: 23.98 kB / 489.4 MB, free: 14.12 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.0002134/0.3713, allocations: 157.7 kB / 489.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.3714, allocations: 35.75 kB / 489.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.3722, allocations: 498.7 kB / 490.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3722, allocations: 4 kB / 490.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3722, allocations: 0 / 490.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007701/0.373, allocations: 0.7355 MB / 490.8 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.3744, allocations: 0.9177 MB / 491.8 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3744, allocations: 0 / 491.8 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.3746, allocations: 43.92 kB / 491.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.3764, allocations: 324.4 kB / 492.1 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3764, allocations: 12 kB / 492.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006146/0.377, allocations: 0.6461 MB / 492.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.377, allocations: 3.984 kB / 492.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3781, allocations: 0.7407 MB / 493.5 MB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.3782, allocations: 35.78 kB / 493.6 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.3782, allocations: 4 kB / 493.6 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3784, allocations: 8 kB / 493.6 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3785, allocations: 11.97 kB / 493.6 MB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3785, allocations: 19.92 kB / 493.6 MB, free: 9.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3787, allocations: 185.3 kB / 493.8 MB, free: 9.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3787, allocations: 4 kB / 493.8 MB, free: 9.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006927/0.3794, allocations: 179.8 kB / 494 MB, free: 9.355 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.0006168/0.38, allocations: 281.7 kB / 494.2 MB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009263/0.3809, allocations: 455.6 kB / 494.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3809, allocations: 0 / 494.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.3815, allocations: 223.6 kB / 494.9 MB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.3824, allocations: 170.5 kB / 495.1 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3839, allocations: 0.8336 MB / 495.9 MB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.3843, allocations: 0.7798 MB / 496.7 MB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.3844, allocations: 39.36 kB / 496.7 MB, free: 6.523 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3844, allocations: 0 / 496.7 MB, free: 6.523 MB / 398.1 MB Notification: Performance of Templates: time 0.01336/0.3977, allocations: 8.463 MB / 0.4933 GB, free: 14.07 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/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_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: 9.31551412306726]