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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.19 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.3 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3562/0.4678, allocations: 151 MB / 0.6063 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.4695, allocations: 1.315 MB / 0.6076 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.4696, allocations: 4 kB / 0.6076 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.4699, allocations: 39.8 kB / 0.6076 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.4726, allocations: 1.023 MB / 0.6086 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.27e-06/0.4726, allocations: 3.938 kB / 0.6087 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.4727, allocations: 43.78 kB / 0.6087 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.4727, allocations: 4 kB / 0.6087 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.784e-05/0.4728, allocations: 23.91 kB / 0.6087 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.4728, allocations: 19.92 kB / 0.6087 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.4728, allocations: 0 / 0.6087 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.4757, allocations: 1.755 MB / 0.6105 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.4757, allocations: 11.94 kB / 0.6105 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.4758, allocations: 19.92 kB / 0.6105 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4772, allocations: 0.8817 MB / 0.6113 GB, free: 4.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4773, allocations: 0 / 0.6113 GB, free: 4.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4773, allocations: 4 kB / 0.6113 GB, free: 4.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.4773, allocations: 3.938 kB / 0.6114 GB, free: 4.516 MB / 446.1 MB 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.000725/0.478, allocations: 487.2 kB / 0.6118 GB, free: 3.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4781, allocations: 12.03 kB / 0.6118 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4781, allocations: 5.469 kB / 0.6118 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4782, allocations: 175.7 kB / 0.612 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4782, allocations: 4 kB / 0.612 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.4783, allocations: 4 kB / 0.612 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.4784, allocations: 69.67 kB / 0.6121 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4784, allocations: 3.938 kB / 0.6121 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4784, allocations: 0 / 0.6121 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.4785, allocations: 7.984 kB / 0.6121 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.917e-05/0.4786, allocations: 55.97 kB / 0.6121 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.479, allocations: 300.7 kB / 0.6124 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.4791, allocations: 38.5 kB / 0.6125 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.4792, allocations: 8.859 kB / 0.6125 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.4794, allocations: 259.4 kB / 0.6127 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4794, allocations: 34.56 kB / 0.6128 GB, free: 2.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4794, allocations: 0 / 0.6128 GB, free: 2.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001792/0.4796, allocations: 61.81 kB / 0.6128 GB, free: 2.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4797, allocations: 55.41 kB / 0.6129 GB, free: 2.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.4798, allocations: 101.8 kB / 0.613 GB, free: 2.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.4798, allocations: 25.7 kB / 0.613 GB, free: 2.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.4798, allocations: 103.9 kB / 0.6131 GB, free: 2.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.4798, allocations: 19.67 kB / 0.6131 GB, free: 2.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.4799, allocations: 21.72 kB / 0.6131 GB, free: 2.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.48, allocations: 314.8 kB / 0.6134 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.48, allocations: 11.98 kB / 0.6134 GB, free: 2.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.4801, allocations: 31.44 kB / 0.6135 GB, free: 2.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.4801, allocations: 51.36 kB / 0.6135 GB, free: 2.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4802, allocations: 0 / 0.6135 GB, free: 2.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001174/0.4803, allocations: 73.61 kB / 0.6136 GB, free: 1.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4803, allocations: 11.94 kB / 0.6136 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4803, allocations: 0 / 0.6136 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4803, allocations: 0 / 0.6136 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.4804, allocations: 12 kB / 0.6136 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4804, allocations: 3.938 kB / 0.6136 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.4805, allocations: 7.906 kB / 0.6136 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4805, allocations: 4 kB / 0.6136 GB, free: 1.891 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.4806, allocations: 121.9 kB / 0.6137 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.4806, allocations: 3.938 kB / 0.6137 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.4808, allocations: 65.84 kB / 0.6138 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4808, allocations: 4 kB / 0.6138 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4808, allocations: 0 / 0.6138 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4808, allocations: 0 / 0.6138 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.481, allocations: 165.6 kB / 0.614 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.481, allocations: 4 kB / 0.614 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.481, allocations: 8 kB / 0.614 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.481, allocations: 5.125 kB / 0.614 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.481, allocations: 3.984 kB / 0.614 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.481, allocations: 0 / 0.614 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4811, allocations: 0 / 0.614 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.4812, allocations: 151.4 kB / 0.6141 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.4812, allocations: 81.05 kB / 0.6142 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4813, allocations: 11.94 kB / 0.6142 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.4813, allocations: 0 / 0.6142 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.4813, allocations: 3.984 kB / 0.6142 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.4813, allocations: 6.625 kB / 0.6142 GB, free: 1.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.598e-05/0.4814, allocations: 87.55 kB / 0.6143 GB, free: 1.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.905e-06/0.4814, allocations: 0 / 0.6143 GB, free: 1.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000497/0.4819, allocations: 139.8 kB / 0.6144 GB, free: 0.957 MB / 446.1 MB 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 (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.0008313/0.4827, allocations: 318.5 kB / 0.6147 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4829, allocations: 27.92 kB / 0.6148 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4829, allocations: 0 / 0.6148 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.4829, allocations: 15.98 kB / 0.6148 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4832, allocations: 6.5 kB / 0.6148 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.4835, allocations: 167.2 kB / 0.615 GB, free: 412 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4838, allocations: 0.6807 MB / 0.6156 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.4838, allocations: 15.44 kB / 0.6156 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4838, allocations: 3.938 kB / 0.6156 GB, free: 15.68 MB / 462.1 MB Notification: Performance of Templates: time 0.004804/0.4886, allocations: 2.809 MB / 0.6184 GB, free: 12.87 MB / 462.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches