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.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008664/0.0008665, 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.243/1.243, 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.0007633/0.0007633, allocations: 90.42 kB / 272.1 MB, free: 8.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.0002388, allocations: 4 kB / 329 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02055/0.218, allocations: 33.89 MB / 410.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.2218, allocations: 5.881 MB / 416.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.2221, allocations: 7.938 kB / 416.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.2227, allocations: 171 kB / 416.5 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.2232, allocations: 338.4 kB / 416.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.2267, allocations: 1.223 MB / 418.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008854/0.2276, allocations: 1.34 MB / 419.4 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2278, allocations: 85.67 kB / 419.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006032/0.2338, allocations: 4.227 MB / 423.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.2343, allocations: 282.8 kB / 424 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.2343, allocations: 16 kB / 424 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.2357, allocations: 0.6712 MB / 424.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2358, allocations: 75.72 kB / 424.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.2361, allocations: 209 kB / 425 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.2371, allocations: 0.8142 MB / 425.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2372, allocations: 3.938 kB / 425.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2372, allocations: 0 / 425.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2372, allocations: 0 / 425.8 MB, free: 12.72 MB / 314.7 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.0008336/0.238, allocations: 0.5808 MB / 426.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2381, allocations: 8.031 kB / 426.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.2385, allocations: 60.62 kB / 426.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.2388, allocations: 284.3 kB / 426.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2389, allocations: 20.94 kB / 426.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.2389, allocations: 28.38 kB / 426.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.2395, allocations: 342.6 kB / 427.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2395, allocations: 0 / 427.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.2395, allocations: 12 kB / 427.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2396, allocations: 8 kB / 427.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.2399, allocations: 206 kB / 427.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.2522, allocations: 5.915 MB / 433.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2525, allocations: 182.6 kB / 433.4 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2527, allocations: 88.83 kB / 433.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009814/0.2625, allocations: 3.865 MB / 437.4 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2626, allocations: 42.55 kB / 437.4 MB, free: 160 kB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.2626, allocations: 0 / 437.4 MB, free: 160 kB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.005661/0.2682, allocations: 1.418 MB / 438.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.2683, allocations: 55.41 kB / 438.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.2686, allocations: 262.5 kB / 439.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2686, allocations: 29.7 kB / 439.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2687, allocations: 188.1 kB / 439.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.2688, allocations: 94.66 kB / 439.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.2688, allocations: 4 kB / 439.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2689, allocations: 338.8 kB / 439.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2691, allocations: 95.95 kB / 439.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2693, allocations: 186.6 kB / 440.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.2697, allocations: 304 kB / 440.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2697, allocations: 0 / 440.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006508/0.2704, allocations: 394.7 kB / 440.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2704, allocations: 8.625 kB / 440.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2704, allocations: 4 kB / 440.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/0.2736, allocations: 409.6 kB / 441.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2738, allocations: 67.91 kB / 441.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.2752, allocations: 1.887 MB / 443.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.2755, allocations: 23.92 kB / 443.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.2755, allocations: 16 kB / 443.2 MB, free: 10.05 MB / 330.7 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.0001593/0.2757, allocations: 157.7 kB / 443.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.2757, allocations: 35.62 kB / 443.3 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.2764, allocations: 489.9 kB / 443.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2764, allocations: 11.98 kB / 443.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2764, allocations: 0 / 443.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006536/0.2771, allocations: 0.716 MB / 444.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.2783, allocations: 0.9451 MB / 445.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2783, allocations: 4 kB / 445.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.2785, allocations: 39.92 kB / 445.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.2802, allocations: 332.3 kB / 445.9 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2802, allocations: 11.98 kB / 445.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.2807, allocations: 0.6343 MB / 446.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2807, allocations: 0 / 446.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.2816, allocations: 0.7166 MB / 447.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.2817, allocations: 112.7 kB / 447.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.2817, allocations: 15.88 kB / 447.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2819, allocations: 8 kB / 447.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.282, allocations: 24.03 kB / 447.4 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.282, allocations: 11.98 kB / 447.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2822, allocations: 182 kB / 447.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2822, allocations: 0 / 447.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00056/0.2828, allocations: 183.9 kB / 447.8 MB, free: 5.203 MB / 330.7 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.0006204/0.2834, allocations: 283 kB / 448 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007308/0.2841, allocations: 446.7 kB / 448.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2841, allocations: 0 / 448.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.2846, allocations: 228.2 kB / 448.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.2856, allocations: 168.3 kB / 448.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2869, allocations: 0.9984 MB / 449.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.2873, allocations: 0.7798 MB / 450.6 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.2875, allocations: 54.92 kB / 450.7 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.2876, allocations: 27.44 kB / 450.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2876, allocations: 4 kB / 450.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of Templates: time 0.01543/0.303, allocations: 9.556 MB / 460.3 MB, free: 8.66 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches