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.000861/0.0008611, allocations: 93.78 kB / 17.31 MB, free: 6.535 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.0008955/0.0008956, allocations: 174.8 kB / 18.21 MB, free: 5.684 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.294/1.294, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002646, allocations: 7.938 kB / 302.1 MB, free: 5.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09373, allocations: 50.42 MB / 352.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2014/0.2952, allocations: 26.59 MB / 379.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.3001, allocations: 4.16 MB / 383.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/0.3007, allocations: 5.562 kB / 383.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007782/0.3015, allocations: 176.5 kB / 383.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.3026, allocations: 331.9 kB / 383.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.3067, allocations: 1.234 MB / 385 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.3086, allocations: 1.335 MB / 386.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.3088, allocations: 73.53 kB / 386.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.3159, allocations: 4.211 MB / 390.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.3164, allocations: 292.8 kB / 390.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.3165, allocations: 14.97 kB / 390.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.3182, allocations: 0.6945 MB / 391.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3183, allocations: 78.64 kB / 391.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.3186, allocations: 204 kB / 391.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.3193, allocations: 0.601 MB / 392.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3193, allocations: 1.438 kB / 392.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3193, allocations: 0 / 392.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3193, allocations: 3.938 kB / 392.5 MB, free: 7.664 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.0007163/0.32, allocations: 0.581 MB / 393.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3201, allocations: 9.969 kB / 393.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.3206, allocations: 54.44 kB / 393.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3209, allocations: 282.8 kB / 393.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3209, allocations: 22 kB / 393.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.3209, allocations: 29.06 kB / 393.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3214, allocations: 341 kB / 393.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3214, allocations: 5.031 kB / 393.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.3215, allocations: 13.47 kB / 393.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.3215, allocations: 6.938 kB / 393.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3218, allocations: 213.6 kB / 394 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.3331, allocations: 5.91 MB / 399.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3335, allocations: 178 kB / 400.1 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3336, allocations: 89.55 kB / 400.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009486/0.3431, allocations: 3.879 MB / 404.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3432, allocations: 32.88 kB / 404.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.963e-06/0.3432, allocations: 0 / 404.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006232/0.3494, allocations: 1.43 MB / 405.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3495, allocations: 57.86 kB / 405.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3498, allocations: 257.5 kB / 405.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3498, allocations: 31.95 kB / 405.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3499, allocations: 186.2 kB / 406 MB, free: 13.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.35, allocations: 93.5 kB / 406.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3501, allocations: 37.08 kB / 406.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3502, allocations: 332.1 kB / 406.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3503, allocations: 96.34 kB / 406.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.3505, allocations: 184.1 kB / 406.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.3509, allocations: 297.5 kB / 407.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3509, allocations: 3.344 kB / 407.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006825/0.3516, allocations: 404.1 kB / 407.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3516, allocations: 8 kB / 407.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3517, allocations: 4 kB / 407.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/0.3549, allocations: 401.6 kB / 407.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3552, allocations: 71.89 kB / 407.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.3567, allocations: 1.875 MB / 409.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.357, allocations: 28.11 kB / 409.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.357, allocations: 16 kB / 409.8 MB, free: 9.922 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.0001792/0.3572, allocations: 149.8 kB / 410 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.3573, allocations: 31.62 kB / 410 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/0.358, allocations: 499.6 kB / 410.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.358, allocations: 4 kB / 410.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.358, allocations: 0 / 410.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006231/0.3586, allocations: 0.7202 MB / 411.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.3599, allocations: 0.9536 MB / 412.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3599, allocations: 4.031 kB / 412.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3601, allocations: 47.97 kB / 412.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/0.3619, allocations: 317.2 kB / 412.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3619, allocations: 8 kB / 412.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.3624, allocations: 0.646 MB / 413.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3624, allocations: 4.031 kB / 413.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.3633, allocations: 0.7282 MB / 413.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3634, allocations: 108.8 kB / 414 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.3635, allocations: 11.92 kB / 414.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3637, allocations: 16 kB / 414.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3637, allocations: 27.84 kB / 414.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3638, allocations: 8 kB / 414.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.3639, allocations: 190 kB / 414.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.364, allocations: 0 / 414.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007574/0.3647, allocations: 187.9 kB / 414.5 MB, free: 5.059 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.0005876/0.3653, allocations: 260.2 kB / 414.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007519/0.3661, allocations: 458.8 kB / 415.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3661, allocations: 0 / 415.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.3666, allocations: 227.8 kB / 415.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3676, allocations: 164.4 kB / 415.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3689, allocations: 1.007 MB / 416.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3692, allocations: 0.7763 MB / 417.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3693, allocations: 35.44 kB / 417.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3693, allocations: 0 / 417.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of Templates: time 0.01131/0.3806, allocations: 8.355 MB / 425.7 MB, free: 9.746 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