Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009011/0.0009012, allocations: 182.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 225.7 MB / 243.2 MB, free: 8.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007761/0.0007761, allocations: 102.8 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002475, allocations: 11.94 kB / 354.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 50.43 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0184/0.2021, allocations: 33.86 MB / 438.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.2071, allocations: 5.893 MB / 444.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.2074, allocations: 7.938 kB / 444.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.2079, allocations: 183.1 kB / 444.5 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.2086, allocations: 322.4 kB / 444.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.2118, allocations: 1.235 MB / 446.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.213, allocations: 1.34 MB / 447.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2131, allocations: 68.66 kB / 447.5 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.2194, allocations: 4.227 MB / 451.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.2197, allocations: 282.8 kB / 452 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.2198, allocations: 16 kB / 452 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.221, allocations: 0.6712 MB / 452.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2211, allocations: 79.66 kB / 452.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.2213, allocations: 201 kB / 452.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.2222, allocations: 0.822 MB / 453.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2222, allocations: 0 / 453.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2223, allocations: 0 / 453.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2223, allocations: 0 / 453.8 MB, free: 11.57 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007882/0.2231, allocations: 0.5814 MB / 454.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2231, allocations: 16.03 kB / 454.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.2235, allocations: 56.53 kB / 454.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.2238, allocations: 275.9 kB / 454.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.2239, allocations: 16.94 kB / 454.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.2239, allocations: 32.28 kB / 454.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.2244, allocations: 338.6 kB / 455.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.2244, allocations: 3.984 kB / 455.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.2245, allocations: 19.94 kB / 455.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2245, allocations: 8 kB / 455.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.2248, allocations: 206 kB / 455.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.2363, allocations: 5.904 MB / 461.2 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.2366, allocations: 182.6 kB / 461.4 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2367, allocations: 88.83 kB / 461.5 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009511/0.2462, allocations: 3.869 MB / 465.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2463, allocations: 46.47 kB / 465.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.2463, allocations: 0 / 465.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.00556/0.2519, allocations: 1.421 MB / 466.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.2519, allocations: 55.41 kB / 466.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.2522, allocations: 258.6 kB / 467.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2522, allocations: 33.7 kB / 467.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2523, allocations: 184.1 kB / 467.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.2524, allocations: 98.64 kB / 467.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.2524, allocations: 4 kB / 467.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2525, allocations: 338.8 kB / 467.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2527, allocations: 91.73 kB / 467.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.2529, allocations: 187.1 kB / 468 MB, free: 12.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.2533, allocations: 304.5 kB / 468.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2533, allocations: 4 kB / 468.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006537/0.254, allocations: 389.7 kB / 468.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.254, allocations: 8.375 kB / 468.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.254, allocations: 8 kB / 468.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.257, allocations: 401.2 kB / 469.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.2573, allocations: 71.91 kB / 469.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.2587, allocations: 1.871 MB / 471 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.2589, allocations: 27.92 kB / 471.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.259, allocations: 12 kB / 471.1 MB, free: 8.926 MB / 346.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.0001537/0.2591, allocations: 169.6 kB / 471.3 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.2592, allocations: 31.56 kB / 471.3 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.2599, allocations: 486.2 kB / 471.8 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2599, allocations: 7.984 kB / 471.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2599, allocations: 0 / 471.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006156/0.2605, allocations: 0.7242 MB / 472.5 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2617, allocations: 0.9378 MB / 473.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2618, allocations: 0 / 473.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.2619, allocations: 43.92 kB / 473.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.2636, allocations: 336.2 kB / 473.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2636, allocations: 11.98 kB / 473.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004662/0.2641, allocations: 0.6422 MB / 474.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2641, allocations: 3.984 kB / 474.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.265, allocations: 0.7241 MB / 475.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.2651, allocations: 112.6 kB / 475.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2651, allocations: 11.94 kB / 475.3 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.2653, allocations: 16.06 kB / 475.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.2654, allocations: 19.97 kB / 475.3 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2654, allocations: 11.98 kB / 475.3 MB, free: 4.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.2656, allocations: 182 kB / 475.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2656, allocations: 0 / 475.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.2662, allocations: 183.9 kB / 475.7 MB, free: 4.047 MB / 346.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.0005715/0.2667, allocations: 279.5 kB / 476 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.2675, allocations: 454 kB / 476.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2675, allocations: 0 / 476.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.268, allocations: 231.1 kB / 476.6 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.2689, allocations: 168.3 kB / 476.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2701, allocations: 0.9738 MB / 477.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2704, allocations: 0.784 MB / 478.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.2706, allocations: 46.95 kB / 478.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.2707, allocations: 31.42 kB / 478.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2707, allocations: 0 / 478.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of Templates: time 0.01389/0.2846, allocations: 9.567 MB / 488.2 MB, free: 7.566 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches