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.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 182.7 kB / 16.71 MB, free: 4.961 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.222/1.222, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0007457/0.0007459, allocations: 91.55 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002328, allocations: 15.94 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1807, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02426/0.205, allocations: 35.78 MB / 440.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.208, allocations: 3.609 MB / 444 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.208, allocations: 3.938 kB / 444 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.2083, allocations: 55.78 kB / 444 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.2087, allocations: 159.2 kB / 444.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.223, allocations: 5.822 MB / 450 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.2236, allocations: 470.5 kB / 450.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.2236, allocations: 9.125 kB / 450.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.2239, allocations: 131.5 kB / 450.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2241, allocations: 127.6 kB / 450.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.2242, allocations: 8 kB / 450.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01562/0.2398, allocations: 9.284 MB / 460 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.24, allocations: 63.84 kB / 460.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2402, allocations: 113.3 kB / 460.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.2502, allocations: 4.768 MB / 465 MB, free: 176 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2503, allocations: 4 kB / 465 MB, free: 172 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2503, allocations: 0 / 465 MB, free: 172 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2503, allocations: 4 kB / 465 MB, free: 168 kB / 330.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.002814/0.2531, allocations: 1.073 MB / 466 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2532, allocations: 8.031 kB / 466 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2533, allocations: 28.48 kB / 466.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2535, allocations: 214.8 kB / 466.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2536, allocations: 12.33 kB / 466.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.2536, allocations: 16 kB / 466.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.2543, allocations: 289.4 kB / 466.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2543, allocations: 7.938 kB / 466.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.2543, allocations: 8 kB / 466.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.2544, allocations: 4 kB / 466.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006992/0.2551, allocations: 311.7 kB / 466.9 MB, free: 14.11 MB / 346.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.001288/0.2564, allocations: 0.8246 MB / 467.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.257, allocations: 249.1 kB / 468 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.2573, allocations: 137.6 kB / 468.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/0.2713, allocations: 12.91 MB / 481 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.2714, allocations: 34.56 kB / 481.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.345e-06/0.2714, allocations: 0 / 481.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002563/0.274, allocations: 0.6936 MB / 481.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2741, allocations: 81.11 kB / 481.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2742, allocations: 129.7 kB / 482 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2742, allocations: 29.7 kB / 482 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2743, allocations: 108.8 kB / 482.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2744, allocations: 126.1 kB / 482.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.2744, allocations: 12 kB / 482.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2745, allocations: 330.8 kB / 482.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2749, allocations: 131.9 kB / 482.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.2753, allocations: 211.5 kB / 482.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.2761, allocations: 358.1 kB / 483.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2762, allocations: 4 kB / 483.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001069/0.2772, allocations: 413.1 kB / 483.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2773, allocations: 11.94 kB / 483.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2773, allocations: 0 / 483.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2773, allocations: 4 kB / 483.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.2777, allocations: 83.88 kB / 483.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2778, allocations: 7.938 kB / 483.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.2781, allocations: 40.06 kB / 483.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.2781, allocations: 12 kB / 483.8 MB, free: 10.48 MB / 362.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.0001369/0.2783, allocations: 141.8 kB / 483.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2784, allocations: 15.81 kB / 484 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.2788, allocations: 194.2 kB / 484.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2788, allocations: 11.94 kB / 484.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2789, allocations: 0 / 484.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2789, allocations: 7.922 kB / 484.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2804, allocations: 0.7558 MB / 484.9 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2804, allocations: 4 kB / 484.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.2808, allocations: 75.83 kB / 485 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.2808, allocations: 7.984 kB / 485 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.2809, allocations: 12 kB / 485 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.2809, allocations: 4 kB / 485 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2809, allocations: 4 kB / 485 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2822, allocations: 0.703 MB / 485.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.2823, allocations: 124.9 kB / 485.9 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.2823, allocations: 11.98 kB / 485.9 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.2827, allocations: 24.05 kB / 485.9 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2827, allocations: 27.91 kB / 485.9 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.2828, allocations: 15.98 kB / 485.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.2828, allocations: 99.27 kB / 486 MB, free: 8.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2828, allocations: 0 / 486 MB, free: 8.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002317/0.2852, allocations: 0.937 MB / 487 MB, free: 7.18 MB / 362.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.004068/0.2892, allocations: 1.263 MB / 488.2 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008815/0.2901, allocations: 339.8 kB / 488.6 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2901, allocations: 4 kB / 488.6 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.2906, allocations: 180.4 kB / 488.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.2913, allocations: 96.61 kB / 488.8 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2925, allocations: 0.7312 MB / 489.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.2929, allocations: 0.7452 MB / 490.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004502/0.2933, allocations: 81.83 kB / 490.4 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2935, allocations: 35.42 kB / 490.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2935, allocations: 4 kB / 490.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of Templates: time 0.1749/0.4684, allocations: 29.21 MB / 0.5075 GB, free: 96.33 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches