Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 200.5 kB / 17.43 MB, free: 4.113 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007271/0.0007271, allocations: 98.78 kB / 299.8 MB, free: 5.391 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001926/0.0001926, allocations: 4 kB / 360.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1785, allocations: 51.41 MB / 412 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02861/0.2071, allocations: 47.68 MB / 459.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.2126, allocations: 6.453 MB / 466.2 MB, free: 236 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.213, allocations: 7.938 kB / 466.2 MB, free: 228 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007223/0.2138, allocations: 246.8 kB / 466.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008672/0.2147, allocations: 473.7 kB / 466.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.2183, allocations: 1.395 MB / 468.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.2201, allocations: 1.963 MB / 470.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.2203, allocations: 118.7 kB / 470.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006162/0.2209, allocations: 414.5 kB / 470.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.2215, allocations: 426.2 kB / 471.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.393e-05/0.2215, allocations: 20 kB / 471.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.2229, allocations: 0.6985 MB / 471.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.223, allocations: 107.6 kB / 472 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.2233, allocations: 276.6 kB / 472.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2245, allocations: 1.017 MB / 473.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2245, allocations: 0 / 473.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2245, allocations: 0 / 473.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2245, allocations: 0 / 473.3 MB, free: 9.086 MB / 346.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.0008827/0.2254, allocations: 0.6843 MB / 474 MB, free: 8.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2254, allocations: 11.97 kB / 474 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.226, allocations: 76.34 kB / 474.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.2263, allocations: 343.4 kB / 474.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2264, allocations: 29.38 kB / 474.4 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.2264, allocations: 40.38 kB / 474.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.2271, allocations: 471.6 kB / 474.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2271, allocations: 0 / 474.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.2272, allocations: 20 kB / 474.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2272, allocations: 8 kB / 475 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.2276, allocations: 303.7 kB / 475.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.2399, allocations: 6.723 MB / 482 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.2404, allocations: 279 kB / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.2406, allocations: 149.4 kB / 482.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009712/0.2503, allocations: 3.881 MB / 486.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2504, allocations: 34.56 kB / 486.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.2504, allocations: 0 / 486.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01111/0.2615, allocations: 2.495 MB / 488.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2616, allocations: 59.39 kB / 488.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.2619, allocations: 299.2 kB / 489.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.2619, allocations: 29.7 kB / 489.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2621, allocations: 224 kB / 489.4 MB, free: 7.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2622, allocations: 157.8 kB / 489.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.2622, allocations: 12 kB / 489.6 MB, free: 7.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2623, allocations: 346.8 kB / 489.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.2626, allocations: 153 kB / 490.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.2629, allocations: 275.7 kB / 490.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.2635, allocations: 472.3 kB / 490.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2635, allocations: 0 / 490.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001031/0.2645, allocations: 0.6035 MB / 491.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2646, allocations: 12.72 kB / 491.4 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2646, allocations: 4 kB / 491.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006381/0.271, allocations: 0.7712 MB / 492.2 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.2714, allocations: 99.89 kB / 492.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.2731, allocations: 2.459 MB / 494.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.2735, allocations: 39.95 kB / 494.8 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.2735, allocations: 20 kB / 494.8 MB, free: 2.117 MB / 362.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.0001995/0.2737, allocations: 190.1 kB / 495 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.2738, allocations: 43.47 kB / 495 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.2749, allocations: 0.8515 MB / 495.9 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.275, allocations: 11.98 kB / 495.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.275, allocations: 0 / 495.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000926/0.2759, allocations: 0.9574 MB / 496.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.2778, allocations: 1.488 MB / 498.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.2778, allocations: 4 kB / 498.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.2781, allocations: 75.89 kB / 498.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/0.2815, allocations: 0.6413 MB / 499 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.2815, allocations: 16 kB / 499.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008373/0.2824, allocations: 1.276 MB / 0.4886 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2824, allocations: 4.031 kB / 0.4886 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.2838, allocations: 1.227 MB / 0.4898 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2839, allocations: 116.6 kB / 0.4899 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.284, allocations: 8 kB / 0.4899 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.2843, allocations: 27.89 kB / 0.49 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2844, allocations: 35.89 kB / 0.49 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2844, allocations: 19.98 kB / 0.49 GB, free: 10.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.2846, allocations: 205.9 kB / 0.4902 GB, free: 10.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2846, allocations: 0 / 0.4902 GB, free: 10.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006963/0.2853, allocations: 235.9 kB / 0.4904 GB, free: 10.43 MB / 378.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.000591/0.2859, allocations: 283 kB / 0.4907 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.287, allocations: 0.6792 MB / 0.4914 GB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2871, allocations: 4 kB / 0.4914 GB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.288, allocations: 436.2 kB / 0.4918 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.2891, allocations: 229.9 kB / 0.492 GB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.291, allocations: 1.519 MB / 0.4935 GB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2913, allocations: 0.8366 MB / 0.4943 GB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.2917, allocations: 68.34 kB / 0.4944 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.2917, allocations: 35.44 kB / 0.4944 GB, free: 6.289 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2918, allocations: 0 / 0.4944 GB, free: 6.289 MB / 378.7 MB Notification: Performance of Templates: time 0.1571/0.4489, allocations: 12.11 MB / 0.5062 GB, free: 97.93 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches