Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009137, allocations: 94.75 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.221e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.381/8.507, allocations: 3.336 GB / 3.714 GB, free: 117.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/8.507, allocations: 71.86 kB / 3.715 GB, free: 117.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1021/8.609, allocations: 48.36 MB / 3.762 GB, free: 68.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/8.609, allocations: 0 / 3.762 GB, free: 68.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/8.609, allocations: 4 kB / 3.762 GB, free: 68.43 MB / 442.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.001745/8.611, allocations: 0.6235 MB / 3.762 GB, free: 67.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/8.611, allocations: 12.03 kB / 3.762 GB, free: 67.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/8.611, allocations: 19.86 kB / 3.762 GB, free: 67.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/8.611, allocations: 210.8 kB / 3.763 GB, free: 67.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/8.611, allocations: 7.938 kB / 3.763 GB, free: 67.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/8.611, allocations: 11.98 kB / 3.763 GB, free: 67.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/8.612, allocations: 208.5 kB / 3.763 GB, free: 67.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/8.612, allocations: 217.2 kB / 3.763 GB, free: 67.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/8.612, allocations: 4 kB / 3.763 GB, free: 67.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/8.612, allocations: 3.953 kB / 3.763 GB, free: 67.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/8.612, allocations: 4 kB / 3.763 GB, free: 67.02 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001197/8.613, allocations: 0.6488 MB / 3.764 GB, free: 66.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/8.614, allocations: 181.3 kB / 3.764 GB, free: 66.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/8.614, allocations: 117.6 kB / 3.764 GB, free: 66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/8.614, allocations: 356.4 kB / 3.764 GB, free: 65.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/8.614, allocations: 38.56 kB / 3.764 GB, free: 65.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.494e-06/8.614, allocations: 0 / 3.764 GB, free: 65.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001389/8.616, allocations: 496.3 kB / 3.765 GB, free: 65.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/8.616, allocations: 81.3 kB / 3.765 GB, free: 64.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/8.616, allocations: 121.1 kB / 3.765 GB, free: 64.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/8.616, allocations: 25.7 kB / 3.765 GB, free: 64.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/8.616, allocations: 108.6 kB / 3.765 GB, free: 64.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/8.616, allocations: 118.2 kB / 3.765 GB, free: 64.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/8.616, allocations: 3.938 kB / 3.765 GB, free: 64.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/8.616, allocations: 326.8 kB / 3.766 GB, free: 64.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/8.616, allocations: 103.9 kB / 3.766 GB, free: 64.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/8.616, allocations: 175.8 kB / 3.766 GB, free: 63.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/8.617, allocations: 141.5 kB / 3.766 GB, free: 63.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/8.617, allocations: 8 kB / 3.766 GB, free: 63.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005337/8.617, allocations: 345.3 kB / 3.766 GB, free: 63.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/8.617, allocations: 4 kB / 3.766 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/8.617, allocations: 4 kB / 3.766 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/8.617, allocations: 4 kB / 3.766 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/8.618, allocations: 88.09 kB / 3.766 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/8.618, allocations: 8.375 kB / 3.766 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/8.618, allocations: 31.77 kB / 3.766 GB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/8.618, allocations: 8 kB / 3.766 GB, free: 63.29 MB / 442.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/8.618, allocations: 120.8 kB / 3.767 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/8.618, allocations: 19.75 kB / 3.767 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/8.619, allocations: 174.9 kB / 3.767 GB, free: 62.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/8.619, allocations: 8 kB / 3.767 GB, free: 62.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/8.619, allocations: 0 / 3.767 GB, free: 62.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/8.619, allocations: 7.938 kB / 3.767 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/8.62, allocations: 0.649 MB / 3.767 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/8.62, allocations: 0 / 3.767 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/8.62, allocations: 79.81 kB / 3.767 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/8.62, allocations: 4 kB / 3.767 GB, free: 62.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/8.62, allocations: 8 kB / 3.768 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/8.62, allocations: 15.92 kB / 3.768 GB, free: 62.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/8.62, allocations: 0 / 3.768 GB, free: 62.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/8.621, allocations: 0.702 MB / 3.768 GB, free: 61.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/8.621, allocations: 124.8 kB / 3.768 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/8.621, allocations: 3.984 kB / 3.768 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/8.622, allocations: 11.98 kB / 3.768 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/8.622, allocations: 28.03 kB / 3.768 GB, free: 61.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/8.622, allocations: 19.98 kB / 3.768 GB, free: 61.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/8.622, allocations: 87.28 kB / 3.768 GB, free: 61.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/8.622, allocations: 0 / 3.768 GB, free: 61.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008304/8.623, allocations: 171.8 kB / 3.769 GB, free: 60.92 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/8.624, allocations: 0.7249 MB / 3.769 GB, free: 60.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00047/8.624, allocations: 267.8 kB / 3.77 GB, free: 59.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/8.624, allocations: 8 kB / 3.77 GB, free: 59.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/8.624, allocations: 143.4 kB / 3.77 GB, free: 59.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/8.625, allocations: 82.73 kB / 3.77 GB, free: 59.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/8.626, allocations: 450.6 kB / 3.77 GB, free: 59.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/8.626, allocations: 0.7413 MB / 3.771 GB, free: 58.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003768/8.627, allocations: 74.02 kB / 3.771 GB, free: 58.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/8.627, allocations: 35.42 kB / 3.771 GB, free: 58.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/8.627, allocations: 0 / 3.771 GB, free: 58.34 MB / 442.7 MB Notification: Performance of Templates: time 0.01161/8.639, allocations: 8.287 MB / 3.779 GB, free: 50.1 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches