Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 103 kB / 16.51 MB, free: 6.645 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.001028/0.001028, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009831/0.0009832, allocations: 51.09 kB / 299.9 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08259, allocations: 49.44 MB / 349.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1819/0.2645, allocations: 37.69 MB / 387.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.269, allocations: 4.624 MB / 391.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.2693, allocations: 4.438 kB / 391.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.2701, allocations: 252.6 kB / 391.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.2708, allocations: 477.4 kB / 392.4 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.2744, allocations: 1.39 MB / 393.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.2761, allocations: 1.949 MB / 395.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.2763, allocations: 131.6 kB / 395.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.2769, allocations: 405.4 kB / 396.3 MB, free: 1.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.2773, allocations: 426.6 kB / 396.7 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.2774, allocations: 25.03 kB / 396.7 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2788, allocations: 0.7244 MB / 397.4 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2789, allocations: 112.3 kB / 397.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.2792, allocations: 263.3 kB / 397.8 MB, free: 1.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2802, allocations: 1.027 MB / 398.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2803, allocations: 1.062 kB / 398.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2803, allocations: 4 kB / 398.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2803, allocations: 0 / 398.8 MB, free: 0.5391 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009979/0.2813, allocations: 0.779 MB / 399.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2813, allocations: 7.125 kB / 399.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/0.2819, allocations: 86.47 kB / 399.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2823, allocations: 328.7 kB / 400 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.2824, allocations: 33.25 kB / 400.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.2824, allocations: 39.16 kB / 400.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.2831, allocations: 472.5 kB / 400.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2831, allocations: 10.89 kB / 400.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.2832, allocations: 18.28 kB / 400.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2832, allocations: 11.19 kB / 400.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.2837, allocations: 299.8 kB / 400.9 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.2977, allocations: 6.727 MB / 407.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.2981, allocations: 273.7 kB / 407.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.2984, allocations: 162.7 kB / 408.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.3089, allocations: 3.884 MB / 411.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.309, allocations: 41.31 kB / 412 MB, free: 6.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.963e-06/0.309, allocations: 0 / 412 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01226/0.3213, allocations: 2.452 MB / 414.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3213, allocations: 63.28 kB / 414.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.3217, allocations: 307.2 kB / 414.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.3217, allocations: 33.7 kB / 414.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3219, allocations: 228 kB / 415 MB, free: 3.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.322, allocations: 157.8 kB / 415.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3221, allocations: 102.1 kB / 415.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3223, allocations: 342.8 kB / 415.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.3225, allocations: 149.1 kB / 415.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.3229, allocations: 287.6 kB / 416.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.3236, allocations: 476.3 kB / 416.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3236, allocations: 0 / 416.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001084/0.3247, allocations: 0.5839 MB / 417.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3247, allocations: 15.92 kB / 417.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3247, allocations: 4.469 kB / 417.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008351/0.3331, allocations: 1.857 MB / 419 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.3335, allocations: 107.8 kB / 419.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.3355, allocations: 2.463 MB / 421.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.3359, allocations: 32.11 kB / 421.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.336, allocations: 24 kB / 421.6 MB, free: 12.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.3362, allocations: 169.7 kB / 421.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.3363, allocations: 47.47 kB / 421.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3375, allocations: 0.8551 MB / 422.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3375, allocations: 11.98 kB / 422.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.3375, allocations: 4 kB / 422.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.3385, allocations: 0.9535 MB / 423.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.3405, allocations: 1.488 MB / 425.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.3406, allocations: 0 / 425.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.3409, allocations: 79.94 kB / 425.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/0.3445, allocations: 0.6179 MB / 425.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.3445, allocations: 23.92 kB / 425.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/0.3455, allocations: 1.276 MB / 427.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3455, allocations: 7.922 kB / 427.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.347, allocations: 1.223 MB / 428.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.3472, allocations: 124.5 kB / 428.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.3472, allocations: 8 kB / 428.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3475, allocations: 31.88 kB / 428.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.3476, allocations: 35.89 kB / 428.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.3476, allocations: 15.98 kB / 428.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3478, allocations: 213.9 kB / 428.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3479, allocations: 0 / 428.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.3486, allocations: 235.9 kB / 429 MB, free: 4.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006485/0.3493, allocations: 275.1 kB / 429.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.3505, allocations: 0.6871 MB / 430 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3505, allocations: 0 / 430 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.3514, allocations: 440.1 kB / 430.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.3527, allocations: 236.2 kB / 430.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3545, allocations: 1.423 MB / 432.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3549, allocations: 0.8366 MB / 432.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.3552, allocations: 72.33 kB / 433 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.3553, allocations: 39.44 kB / 433 MB, free: 464 kB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3553, allocations: 0 / 433 MB, free: 464 kB / 334.1 MB Notification: Performance of Templates: time 0.01879/0.3741, allocations: 12.18 MB / 445.2 MB, free: 4.359 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches