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.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008582/0.0008583, allocations: 174.2 kB / 17.36 MB, free: 4.445 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.24/1.24, allocations: 205.6 MB / 223.7 MB, free: 8.934 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.0007064/0.0007064, allocations: 94.52 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002203, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1817, allocations: 47.57 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02415/0.2059, allocations: 36.06 MB / 412.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.2082, allocations: 3.617 MB / 416.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.2083, allocations: 4 kB / 416.3 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2085, allocations: 55.66 kB / 416.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.2088, allocations: 151.2 kB / 416.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.2197, allocations: 5.038 MB / 421.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.2201, allocations: 474.4 kB / 422 MB, free: 460 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.2202, allocations: 8.906 kB / 422 MB, free: 448 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.2204, allocations: 123.6 kB / 422.1 MB, free: 324 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2206, allocations: 131.5 kB / 422.2 MB, free: 192 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.2206, allocations: 8 kB / 422.2 MB, free: 184 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/0.237, allocations: 9.19 MB / 431.4 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2372, allocations: 55.86 kB / 431.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2374, allocations: 117.3 kB / 431.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.2479, allocations: 4.74 MB / 436.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2479, allocations: 0 / 436.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2479, allocations: 0 / 436.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2479, allocations: 0 / 436.3 MB, free: 2.051 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00291/0.2508, allocations: 1.076 MB / 437.4 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2509, allocations: 8.031 kB / 437.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.251, allocations: 28.5 kB / 437.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2513, allocations: 214.8 kB / 437.7 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2513, allocations: 12.33 kB / 437.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.2513, allocations: 23.91 kB / 437.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.252, allocations: 277.4 kB / 438 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.252, allocations: 3.938 kB / 438 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2521, allocations: 8 kB / 438 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2521, allocations: 12 kB / 438 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.2528, allocations: 319 kB / 438.3 MB, free: 15.98 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.2542, allocations: 0.8262 MB / 439.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.2549, allocations: 245.1 kB / 439.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.2552, allocations: 129.6 kB / 439.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.2696, allocations: 12.92 MB / 452.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.2697, allocations: 38.5 kB / 452.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/0.2697, allocations: 0 / 452.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002541/0.2722, allocations: 0.6766 MB / 453.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.2723, allocations: 85.11 kB / 453.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.2724, allocations: 133.7 kB / 453.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.2724, allocations: 29.7 kB / 453.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.2725, allocations: 108.8 kB / 453.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2726, allocations: 138 kB / 453.6 MB, free: 14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.2727, allocations: 8 kB / 453.6 MB, free: 14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2728, allocations: 326.8 kB / 453.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.2731, allocations: 139.9 kB / 454.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.2736, allocations: 211.5 kB / 454.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.2744, allocations: 354.8 kB / 454.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2744, allocations: 4 kB / 454.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001032/0.2755, allocations: 413.1 kB / 455 MB, free: 12.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2755, allocations: 4.625 kB / 455 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2755, allocations: 4.219 kB / 455 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2755, allocations: 8 kB / 455.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.276, allocations: 91.84 kB / 455.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.276, allocations: 11.88 kB / 455.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.2763, allocations: 27.92 kB / 455.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.2763, allocations: 19.98 kB / 455.2 MB, free: 12.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.2765, allocations: 145.8 kB / 455.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2766, allocations: 15.81 kB / 455.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.277, allocations: 183.2 kB / 455.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.277, allocations: 11.88 kB / 455.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.277, allocations: 8 kB / 455.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2771, allocations: 0 / 455.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.2786, allocations: 0.7545 MB / 456.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2786, allocations: 4 kB / 456.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.279, allocations: 84.03 kB / 456.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.279, allocations: 4 kB / 456.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.2791, allocations: 11.98 kB / 456.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2791, allocations: 7.938 kB / 456.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2791, allocations: 3.938 kB / 456.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2805, allocations: 0.7063 MB / 457.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2806, allocations: 116.9 kB / 457.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.2807, allocations: 8 kB / 457.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.281, allocations: 27.92 kB / 457.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.2811, allocations: 35.91 kB / 457.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.2811, allocations: 15.98 kB / 457.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.2812, allocations: 99.27 kB / 457.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2812, allocations: 0 / 457.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002645/0.2838, allocations: 0.9292 MB / 458.4 MB, free: 9.055 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004245/0.2881, allocations: 1.267 MB / 459.6 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008677/0.289, allocations: 347.6 kB / 460 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.289, allocations: 0 / 460 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.2894, allocations: 175.8 kB / 460.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.2901, allocations: 96.92 kB / 460.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.2914, allocations: 0.7275 MB / 461 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.2917, allocations: 0.7335 MB / 461.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.2921, allocations: 89.88 kB / 461.8 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.2923, allocations: 35.42 kB / 461.8 MB, free: 5.531 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2923, allocations: 0 / 461.8 MB, free: 5.531 MB / 346.7 MB Notification: Performance of Templates: time 0.04072/0.333, allocations: 30.65 MB / 492.5 MB, free: 6.879 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches