Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 102.5 kB / 17.59 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 191.6 kB / 18.52 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.52 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 49.44 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2343/0.3477, allocations: 27.03 MB / 377.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004771/0.3525, allocations: 4.159 MB / 381.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.3529, allocations: 4.125 kB / 381.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008116/0.3538, allocations: 211.8 kB / 382.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008286/0.3546, allocations: 332.1 kB / 382.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.3596, allocations: 1.478 MB / 383.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.361, allocations: 0.8863 MB / 384.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.3612, allocations: 99.72 kB / 384.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007789/0.369, allocations: 4.045 MB / 389 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.3696, allocations: 277.8 kB / 389.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.3697, allocations: 30.81 kB / 389.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.3723, allocations: 0.7178 MB / 390 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.3724, allocations: 96.61 kB / 390.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.3727, allocations: 195.9 kB / 390.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.3743, allocations: 0.8458 MB / 391.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3743, allocations: 0 / 391.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3743, allocations: 0 / 391.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3743, allocations: 0 / 391.1 MB, free: 7.48 MB / 302.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.001024/0.3753, allocations: 0.6605 MB / 391.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.3754, allocations: 9.719 kB / 391.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.3759, allocations: 58.16 kB / 391.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3763, allocations: 286.9 kB / 392.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3763, allocations: 22.53 kB / 392.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.3764, allocations: 30.34 kB / 392.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.3769, allocations: 340.3 kB / 392.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3769, allocations: 3.938 kB / 392.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3769, allocations: 12.25 kB / 392.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.377, allocations: 7.594 kB / 392.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.3773, allocations: 212.5 kB / 392.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.3894, allocations: 5.921 MB / 398.6 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3898, allocations: 178.7 kB / 398.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.3899, allocations: 89.17 kB / 398.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009949/0.3999, allocations: 3.885 MB / 402.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.3999, allocations: 34.56 kB / 402.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.856e-06/0.4, allocations: 0 / 402.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006239/0.4062, allocations: 1.407 MB / 404.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4063, allocations: 58.38 kB / 404.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.4066, allocations: 264.3 kB / 404.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.4066, allocations: 33.69 kB / 404.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4068, allocations: 193.4 kB / 404.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.4069, allocations: 89.44 kB / 404.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.407, allocations: 66.98 kB / 404.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4071, allocations: 336.7 kB / 405.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4073, allocations: 94.55 kB / 405.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4076, allocations: 189.7 kB / 405.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.408, allocations: 309.7 kB / 405.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.408, allocations: 4 kB / 405.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007078/0.4087, allocations: 398.8 kB / 406.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4087, allocations: 4 kB / 406.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4087, allocations: 4 kB / 406.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/0.4129, allocations: 0.9361 MB / 407.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.4133, allocations: 71.91 kB / 407.2 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.415, allocations: 1.978 MB / 409.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4153, allocations: 8.031 kB / 409.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.4154, allocations: 16 kB / 409.2 MB, free: 8.988 MB / 318.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.000222/0.4156, allocations: 153.7 kB / 409.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.4157, allocations: 31.66 kB / 409.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007546/0.4165, allocations: 491.8 kB / 409.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.4165, allocations: 4 kB / 409.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4165, allocations: 3.984 kB / 409.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000699/0.4172, allocations: 0.7174 MB / 410.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.4187, allocations: 0.9611 MB / 411.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.4187, allocations: 0 / 411.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4189, allocations: 47.91 kB / 411.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.4207, allocations: 308.5 kB / 411.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4207, allocations: 11.98 kB / 411.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005998/0.4213, allocations: 0.646 MB / 412.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4214, allocations: 0 / 412.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4224, allocations: 0.7284 MB / 413.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.4226, allocations: 104.8 kB / 413.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.4226, allocations: 8 kB / 413.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.4228, allocations: 8 kB / 413.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.4229, allocations: 23.86 kB / 413.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.4229, allocations: 11.98 kB / 413.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.4232, allocations: 186 kB / 413.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4232, allocations: 0 / 413.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001197/0.4244, allocations: 188 kB / 413.8 MB, free: 4.152 MB / 318.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.0011/0.4255, allocations: 266.5 kB / 414.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4265, allocations: 475 kB / 414.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4266, allocations: 0 / 414.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.4271, allocations: 227.8 kB / 414.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4282, allocations: 173.8 kB / 415 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4298, allocations: 0.8162 MB / 415.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.4303, allocations: 0.7837 MB / 416.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.4304, allocations: 31.44 kB / 416.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.855e-06/0.4305, allocations: 0 / 416.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of Templates: time 0.01475/0.4452, allocations: 8.399 MB / 425 MB, free: 8.949 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches