Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 184.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 95.25 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3177/0.3177, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3542, allocations: 61.89 MB / 0.5095 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.962/8.316, allocations: 3.309 GB / 3.818 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/8.316, allocations: 75.22 kB / 3.818 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1078/8.424, allocations: 52.33 MB / 3.869 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/8.424, allocations: 0 / 3.869 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.422e-06/8.424, allocations: 0 / 3.869 GB, free: 53.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008763/8.425, allocations: 0.5027 MB / 3.87 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/8.425, allocations: 12.02 kB / 3.87 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/8.425, allocations: 4 kB / 3.87 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/8.425, allocations: 159.1 kB / 3.87 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/8.425, allocations: 3.953 kB / 3.87 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/8.425, allocations: 12 kB / 3.87 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/8.426, allocations: 73.55 kB / 3.87 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/8.426, allocations: 0 / 3.87 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/8.426, allocations: 4 kB / 3.87 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/8.426, allocations: 4 kB / 3.87 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/8.426, allocations: 47.97 kB / 3.87 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/8.426, allocations: 320.7 kB / 3.87 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/8.426, allocations: 30.56 kB / 3.871 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/8.426, allocations: 259.4 kB / 3.871 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/8.426, allocations: 34.55 kB / 3.871 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/8.426, allocations: 0 / 3.871 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001583/8.427, allocations: 57.62 kB / 3.871 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/8.427, allocations: 51.41 kB / 3.871 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/8.427, allocations: 97.11 kB / 3.871 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/8.427, allocations: 33.62 kB / 3.871 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/8.427, allocations: 95.89 kB / 3.871 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/8.427, allocations: 11.81 kB / 3.871 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-06/8.427, allocations: 0 / 3.871 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/8.427, allocations: 322.8 kB / 3.871 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/8.427, allocations: 8 kB / 3.871 GB, free: 51.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/8.427, allocations: 39.42 kB / 3.871 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/8.427, allocations: 12 kB / 3.871 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/8.427, allocations: 0 / 3.871 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.018e-05/8.427, allocations: 69.55 kB / 3.872 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/8.427, allocations: 8 kB / 3.872 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/8.427, allocations: 0 / 3.872 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/8.427, allocations: 0 / 3.872 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/8.427, allocations: 24.03 kB / 3.872 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/8.427, allocations: 3.984 kB / 3.872 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/8.427, allocations: 4 kB / 3.872 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/8.427, allocations: 4 kB / 3.872 GB, free: 51.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 5.465e-05/8.427, allocations: 122.2 kB / 3.872 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/8.427, allocations: 7.906 kB / 3.872 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/8.427, allocations: 69.3 kB / 3.872 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/8.427, allocations: 4 kB / 3.872 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/8.427, allocations: 4 kB / 3.872 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/8.427, allocations: 0 / 3.872 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/8.428, allocations: 169.6 kB / 3.872 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/8.428, allocations: 0 / 3.872 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/8.428, allocations: 8 kB / 3.872 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/8.428, allocations: 0 / 3.872 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/8.428, allocations: 0 / 3.872 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/8.428, allocations: 4 kB / 3.872 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/8.428, allocations: 0 / 3.872 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.253e-05/8.428, allocations: 155.4 kB / 3.872 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/8.428, allocations: 81.53 kB / 3.872 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/8.428, allocations: 4 kB / 3.872 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/8.428, allocations: 0 / 3.872 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/8.428, allocations: 0 / 3.872 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/8.428, allocations: 4 kB / 3.872 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.038e-05/8.428, allocations: 91.19 kB / 3.872 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/8.428, allocations: 0 / 3.872 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006485/8.429, allocations: 183.8 kB / 3.872 GB, free: 50.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.001122/8.43, allocations: 0.713 MB / 3.873 GB, free: 49.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.638e-05/8.43, allocations: 27.92 kB / 3.873 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/8.43, allocations: 0 / 3.873 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/8.43, allocations: 11.98 kB / 3.873 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/8.43, allocations: 20.08 kB / 3.873 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/8.43, allocations: 164.7 kB / 3.873 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/8.43, allocations: 0.6809 MB / 3.874 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.543e-05/8.431, allocations: 27.91 kB / 3.874 GB, free: 48.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/8.431, allocations: 11.44 kB / 3.874 GB, free: 48.66 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/8.431, allocations: 0 / 3.874 GB, free: 48.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.01171/8.442, allocations: 9.787 MB / 3.884 GB, free: 38.86 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches