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.001447/0.001447, allocations: 115.7 kB / 17.07 MB, free: 6 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.001708/0.001708, allocations: 192 kB / 18 MB, free: 5.082 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009656/0.0009656, allocations: 43.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2362, allocations: 49.43 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03326/0.2695, allocations: 37.44 MB / 438.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.2746, allocations: 4.572 MB / 442.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.275, allocations: 7.938 kB / 442.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.2758, allocations: 290.2 kB / 443 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.2769, allocations: 489.3 kB / 443.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00459/0.2815, allocations: 1.651 MB / 445.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.2832, allocations: 1.269 MB / 446.4 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.2835, allocations: 174.6 kB / 446.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.2843, allocations: 486.4 kB / 447.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.2848, allocations: 402.4 kB / 447.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.942e-05/0.2849, allocations: 44 kB / 447.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.2863, allocations: 0.761 MB / 448.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2865, allocations: 131.6 kB / 448.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.2868, allocations: 278.9 kB / 448.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2881, allocations: 1.044 MB / 449.7 MB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2881, allocations: 7.984 kB / 449.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2881, allocations: 0 / 449.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.2881, allocations: 0 / 449.7 MB, free: 7.684 MB / 366.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.001018/0.2892, allocations: 0.7759 MB / 450.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2892, allocations: 8.031 kB / 450.5 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.2898, allocations: 72.44 kB / 450.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.2904, allocations: 351.4 kB / 450.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.2904, allocations: 29.38 kB / 451 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.2905, allocations: 36.38 kB / 451 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.2912, allocations: 471.7 kB / 451.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2912, allocations: 3.906 kB / 451.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.2913, allocations: 16 kB / 451.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2913, allocations: 12 kB / 451.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.2919, allocations: 311.7 kB / 451.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.3051, allocations: 6.727 MB / 458.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.3056, allocations: 278.5 kB / 458.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.3058, allocations: 155.9 kB / 458.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.3166, allocations: 3.889 MB / 462.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3166, allocations: 42.42 kB / 462.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.3166, allocations: 0 / 462.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01244/0.3291, allocations: 2.466 MB / 465.3 MB, free: 6.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3291, allocations: 63.41 kB / 465.4 MB, free: 6.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3295, allocations: 307.1 kB / 465.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.3295, allocations: 33.7 kB / 465.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3297, allocations: 224 kB / 466 MB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3298, allocations: 157.6 kB / 466.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.33, allocations: 94.25 kB / 466.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3301, allocations: 346.8 kB / 466.5 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.3304, allocations: 157.1 kB / 466.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.3307, allocations: 267.7 kB / 467 MB, free: 5.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.3313, allocations: 476.2 kB / 467.4 MB, free: 4.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3314, allocations: 4 kB / 467.4 MB, free: 4.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.3324, allocations: 0.5877 MB / 468 MB, free: 4.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3325, allocations: 12.41 kB / 468 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3325, allocations: 8 kB / 468 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/0.341, allocations: 1.838 MB / 469.9 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.3414, allocations: 107.8 kB / 470 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.3435, allocations: 2.573 MB / 472.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.3438, allocations: 12 kB / 472.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.3439, allocations: 20 kB / 472.6 MB, free: 15.39 MB / 398.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.00025/0.3442, allocations: 181.6 kB / 472.8 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3443, allocations: 39.53 kB / 472.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3455, allocations: 0.8513 MB / 473.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3455, allocations: 12 kB / 473.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3455, allocations: 0 / 473.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009869/0.3465, allocations: 0.9496 MB / 474.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.3485, allocations: 1.497 MB / 476.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3485, allocations: 0 / 476.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3488, allocations: 75.94 kB / 476.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/0.3522, allocations: 0.6138 MB / 476.8 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.3523, allocations: 19.92 kB / 476.8 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009492/0.3532, allocations: 1.288 MB / 478.1 MB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3532, allocations: 0 / 478.1 MB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.3548, allocations: 1.225 MB / 479.3 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3549, allocations: 116.5 kB / 479.4 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.355, allocations: 12 kB / 479.4 MB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3552, allocations: 11.94 kB / 479.5 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.3553, allocations: 28.28 kB / 479.5 MB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.3554, allocations: 19.98 kB / 479.5 MB, free: 8.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3556, allocations: 213.9 kB / 479.7 MB, free: 7.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3556, allocations: 3.938 kB / 479.7 MB, free: 7.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007686/0.3564, allocations: 231.9 kB / 479.9 MB, free: 7.75 MB / 398.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.0006642/0.357, allocations: 278.9 kB / 480.2 MB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3583, allocations: 0.7023 MB / 480.9 MB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3584, allocations: 4 kB / 480.9 MB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009351/0.3593, allocations: 432.3 kB / 481.3 MB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.3606, allocations: 239.4 kB / 481.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3625, allocations: 1.226 MB / 482.8 MB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3629, allocations: 0.84 MB / 483.6 MB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.3632, allocations: 76.33 kB / 483.7 MB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.3633, allocations: 39.44 kB / 483.8 MB, free: 3.859 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3633, allocations: 0 / 483.8 MB, free: 3.859 MB / 398.1 MB Notification: Performance of Templates: time 0.02023/0.3836, allocations: 12.76 MB / 496.5 MB, free: 7.18 MB / 414.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