Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 179.2 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007117/0.0007116, allocations: 90.36 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002351/0.0002351, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 47.57 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02658/0.2205, allocations: 47.52 MB / 424.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.2264, allocations: 6.453 MB / 430.6 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.2268, allocations: 7.938 kB / 430.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.2276, allocations: 254.6 kB / 430.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009207/0.2285, allocations: 473.7 kB / 431.3 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.2325, allocations: 1.395 MB / 432.7 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.2344, allocations: 1.955 MB / 434.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.2347, allocations: 131.7 kB / 434.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.2354, allocations: 414.4 kB / 435.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.2361, allocations: 418.4 kB / 435.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-05/0.2361, allocations: 27.88 kB / 435.6 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.2378, allocations: 0.6829 MB / 436.3 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.2379, allocations: 107.6 kB / 436.4 MB, free: 1.145 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.2383, allocations: 276.6 kB / 436.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2397, allocations: 1.017 MB / 437.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2397, allocations: 0 / 437.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2398, allocations: 0 / 437.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2398, allocations: 4 kB / 437.7 MB, free: 15.84 MB / 330.7 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.001046/0.2408, allocations: 0.6785 MB / 438.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2409, allocations: 8.031 kB / 438.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.2414, allocations: 84.34 kB / 438.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.2419, allocations: 339.4 kB / 438.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.2419, allocations: 33.38 kB / 438.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.242, allocations: 36.38 kB / 438.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.2427, allocations: 471.6 kB / 439.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2427, allocations: 0 / 439.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.2427, allocations: 20 kB / 439.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2428, allocations: 11.98 kB / 439.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.2432, allocations: 303.7 kB / 439.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.2563, allocations: 6.734 MB / 446.4 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.2568, allocations: 274.3 kB / 446.6 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.257, allocations: 152.8 kB / 446.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.2671, allocations: 3.877 MB / 450.7 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.2671, allocations: 42.55 kB / 450.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.2672, allocations: 4 kB / 450.7 MB, free: 1.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.01136/0.2785, allocations: 2.485 MB / 453.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2786, allocations: 55.41 kB / 453.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.279, allocations: 303.2 kB / 453.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.279, allocations: 29.7 kB / 453.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2792, allocations: 220 kB / 453.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.2793, allocations: 169.7 kB / 454 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.2793, allocations: 12 kB / 454 MB, free: 14.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2795, allocations: 346.8 kB / 454.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.2797, allocations: 149.1 kB / 454.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.28, allocations: 275.7 kB / 454.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.2807, allocations: 468.3 kB / 455.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2807, allocations: 0 / 455.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001065/0.2817, allocations: 0.5954 MB / 455.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2818, allocations: 10.81 kB / 455.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2818, allocations: 4 kB / 455.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006137/0.2879, allocations: 0.7717 MB / 456.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.2884, allocations: 107.9 kB / 456.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.2903, allocations: 2.467 MB / 459.1 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.2906, allocations: 39.95 kB / 459.2 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.2907, allocations: 24 kB / 459.2 MB, free: 8.855 MB / 346.7 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.0002138/0.2909, allocations: 173.7 kB / 459.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.291, allocations: 39.56 kB / 459.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.2921, allocations: 0.8553 MB / 460.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2922, allocations: 11.98 kB / 460.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.2922, allocations: 0 / 460.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009464/0.2931, allocations: 0.965 MB / 461.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.295, allocations: 1.481 MB / 462.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2951, allocations: 4.031 kB / 462.7 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.2954, allocations: 71.91 kB / 462.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/0.2987, allocations: 0.6335 MB / 463.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.2988, allocations: 19.92 kB / 463.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008451/0.2996, allocations: 1.28 MB / 464.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2996, allocations: 128 / 464.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3011, allocations: 1.226 MB / 466 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3012, allocations: 120.6 kB / 466.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.3013, allocations: 12 kB / 466.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3016, allocations: 31.83 kB / 466.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.3017, allocations: 27.91 kB / 466.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.3017, allocations: 19.98 kB / 466.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.3019, allocations: 209.9 kB / 466.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 466.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.3027, allocations: 231.9 kB / 466.6 MB, free: 1.188 MB / 346.7 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.0006874/0.3034, allocations: 295 kB / 466.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3045, allocations: 0.6832 MB / 467.6 MB, free: 196 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3045, allocations: 0 / 467.6 MB, free: 196 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.3054, allocations: 421 kB / 468 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3066, allocations: 233.1 kB / 468.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3085, allocations: 1.52 MB / 469.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3089, allocations: 0.8402 MB / 470.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.3092, allocations: 68.34 kB / 470.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3093, allocations: 35.44 kB / 470.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3093, allocations: 0 / 470.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01853/0.3278, allocations: 12.12 MB / 482.8 MB, free: 0.9844 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches