Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001564, allocations: 188.4 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2857/0.2857, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.000495, allocations: 15.98 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.5225/0.6442, allocations: 126.9 MB / 0.6027 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.6464, allocations: 1.025 MB / 0.6037 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.6465, allocations: 4 kB / 0.6037 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.6468, allocations: 23.94 kB / 0.6037 GB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.6495, allocations: 0.6465 MB / 0.6043 GB, free: 10.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.586e-06/0.6496, allocations: 3.938 kB / 0.6043 GB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.6497, allocations: 23.95 kB / 0.6044 GB, free: 10 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.6498, allocations: 0 / 0.6044 GB, free: 10 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.6498, allocations: 11.98 kB / 0.6044 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.6499, allocations: 19.92 kB / 0.6044 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.6499, allocations: 0 / 0.6044 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.6543, allocations: 1.529 MB / 0.6059 GB, free: 8.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.6544, allocations: 7.938 kB / 0.6059 GB, free: 8.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.6544, allocations: 29.7 kB / 0.6059 GB, free: 8.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.6561, allocations: 496.3 kB / 0.6064 GB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6561, allocations: 0 / 0.6064 GB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6561, allocations: 0 / 0.6064 GB, free: 7.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.6562, allocations: 4 kB / 0.6064 GB, free: 7.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008754/0.657, allocations: 447.8 kB / 0.6068 GB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.6571, allocations: 15.97 kB / 0.6068 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.6572, allocations: 3.953 kB / 0.6068 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.6573, allocations: 163 kB / 0.607 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6573, allocations: 11.94 kB / 0.607 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.6573, allocations: 0 / 0.607 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.6575, allocations: 73.22 kB / 0.6071 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6575, allocations: 0 / 0.6071 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6576, allocations: 8 kB / 0.6071 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.6576, allocations: 11.94 kB / 0.6071 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.6577, allocations: 47.97 kB / 0.6071 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.6583, allocations: 296.6 kB / 0.6074 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6584, allocations: 38.52 kB / 0.6075 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.6586, allocations: 97.25 kB / 0.6076 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.6586, allocations: 30.56 kB / 0.6076 GB, free: 6.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 3.947e-06/0.6586, allocations: 96 / 0.6076 GB, free: 6.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.6588, allocations: 49.62 kB / 0.6076 GB, free: 6.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.6589, allocations: 55.41 kB / 0.6077 GB, free: 6.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.659, allocations: 101.8 kB / 0.6078 GB, free: 6.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.659, allocations: 25.7 kB / 0.6078 GB, free: 6.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.6591, allocations: 166.3 kB / 0.608 GB, free: 6.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.6591, allocations: 15.91 kB / 0.608 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.6592, allocations: 0 / 0.608 GB, free: 6.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6593, allocations: 314.8 kB / 0.6083 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.6593, allocations: 8 kB / 0.6083 GB, free: 5.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.6594, allocations: 31.42 kB / 0.6083 GB, free: 5.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.6595, allocations: 19.94 kB / 0.6083 GB, free: 5.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6595, allocations: 0 / 0.6083 GB, free: 5.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000154/0.6596, allocations: 69.56 kB / 0.6084 GB, free: 5.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6597, allocations: 8 kB / 0.6084 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6597, allocations: 0 / 0.6084 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.6597, allocations: 0 / 0.6084 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.6598, allocations: 12 kB / 0.6084 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6598, allocations: 3.938 kB / 0.6084 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.336e-05/0.6599, allocations: 11.84 kB / 0.6084 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6599, allocations: 4.094 kB / 0.6084 GB, free: 5.574 MB / 410.7 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 (6): * Single equations (assignments): 6 * 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 0.0001068/0.66, allocations: 121.8 kB / 0.6086 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.6601, allocations: 11.89 kB / 0.6086 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.6603, allocations: 53.12 kB / 0.6086 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6603, allocations: 3.984 kB / 0.6086 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6603, allocations: 0 / 0.6086 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6603, allocations: 4 kB / 0.6086 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.6606, allocations: 157.7 kB / 0.6088 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6606, allocations: 0 / 0.6088 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.6607, allocations: 13.69 kB / 0.6088 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6607, allocations: 0 / 0.6088 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.6607, allocations: 3.953 kB / 0.6088 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6607, allocations: 0 / 0.6088 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6607, allocations: 0 / 0.6088 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.6609, allocations: 148 kB / 0.6089 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.6609, allocations: 85.02 kB / 0.609 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.661, allocations: 48 / 0.609 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.6611, allocations: 7.938 kB / 0.609 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.6611, allocations: 0 / 0.609 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.6611, allocations: 4 kB / 0.609 GB, free: 4.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.6612, allocations: 83.27 kB / 0.6091 GB, free: 4.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6612, allocations: 4 kB / 0.6091 GB, free: 4.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005926/0.6618, allocations: 91.86 kB / 0.6092 GB, free: 4.703 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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.0007223/0.6625, allocations: 235 kB / 0.6094 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.6626, allocations: 27.98 kB / 0.6095 GB, free: 4.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6627, allocations: 3.938 kB / 0.6095 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.6627, allocations: 7.938 kB / 0.6095 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.663, allocations: 7.438 kB / 0.6095 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.6634, allocations: 182.9 kB / 0.6096 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.6637, allocations: 0.6888 MB / 0.6103 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.6638, allocations: 11.44 kB / 0.6103 GB, free: 3.488 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6638, allocations: 0 / 0.6103 GB, free: 3.488 MB / 410.7 MB Notification: Performance of Templates: time 0.006597/0.6704, allocations: 2.388 MB / 0.6127 GB, free: 1.102 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches