Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.716/1.716, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2226/0.2226, allocations: 46.89 MB / 358.1 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 83.86 kB / 0.4923 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1259, allocations: 65.98 MB / 0.5568 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4365/0.5624, allocations: 154.4 MB / 0.7075 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.5645, allocations: 1.46 MB / 0.7089 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.5645, allocations: 0 / 0.7089 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.5649, allocations: 51.8 kB / 0.709 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.5676, allocations: 1.078 MB / 0.71 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.42e-06/0.5676, allocations: 4 kB / 0.71 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.5677, allocations: 66.84 kB / 0.7101 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.5677, allocations: 3.984 kB / 0.7101 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.5678, allocations: 27.86 kB / 0.7101 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.5679, allocations: 35.83 kB / 0.7102 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.5679, allocations: 0 / 0.7102 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.5712, allocations: 1.922 MB / 0.7121 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.5712, allocations: 23.91 kB / 0.7121 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.5713, allocations: 11.94 kB / 0.7121 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5729, allocations: 0.9312 MB / 0.713 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5729, allocations: 0 / 0.713 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5729, allocations: 0 / 0.713 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5729, allocations: 0 / 0.713 GB, free: 1.77 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008545/0.5738, allocations: 0.5055 MB / 0.7135 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5738, allocations: 12.03 kB / 0.7135 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.5739, allocations: 4.891 kB / 0.7135 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.574, allocations: 175.8 kB / 0.7137 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.574, allocations: 0 / 0.7137 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.5741, allocations: 12 kB / 0.7137 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.5742, allocations: 85.64 kB / 0.7138 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5743, allocations: 0 / 0.7138 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5743, allocations: 0 / 0.7138 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.5743, allocations: 11.98 kB / 0.7138 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.5744, allocations: 67.89 kB / 0.7138 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.5749, allocations: 308.7 kB / 0.7141 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.575, allocations: 42.56 kB / 0.7142 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.575, allocations: 16.97 kB / 0.7142 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.5753, allocations: 255.2 kB / 0.7144 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5753, allocations: 34.56 kB / 0.7145 GB, free: 40 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.5753, allocations: 0 / 0.7145 GB, free: 40 kB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0002507/0.5756, allocations: 78.16 kB / 0.7145 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.5756, allocations: 51.52 kB / 0.7146 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.5757, allocations: 118.3 kB / 0.7147 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5758, allocations: 29.45 kB / 0.7147 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.5758, allocations: 92.05 kB / 0.7148 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.5758, allocations: 15.84 kB / 0.7148 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.5759, allocations: 29.66 kB / 0.7149 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.576, allocations: 314.8 kB / 0.7152 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.5761, allocations: 11.98 kB / 0.7152 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.5761, allocations: 47.36 kB / 0.7152 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.5762, allocations: 55 kB / 0.7153 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5762, allocations: 0 / 0.7153 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001323/0.5763, allocations: 77.61 kB / 0.7154 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5764, allocations: 11.94 kB / 0.7154 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5764, allocations: 4.094 kB / 0.7154 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5764, allocations: 0 / 0.7154 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.5765, allocations: 15.98 kB / 0.7154 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.5765, allocations: 4 kB / 0.7154 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.5765, allocations: 0 / 0.7154 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.5765, allocations: 8 kB / 0.7154 GB, free: 15.02 MB / 0.5294 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 9.17e-05/0.5766, allocations: 113.8 kB / 0.7155 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.5766, allocations: 11.89 kB / 0.7155 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.5768, allocations: 73.23 kB / 0.7156 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.5768, allocations: 4 kB / 0.7156 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5768, allocations: 0 / 0.7156 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5768, allocations: 3.984 kB / 0.7156 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.577, allocations: 169.6 kB / 0.7158 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.577, allocations: 0 / 0.7158 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.5771, allocations: 11.94 kB / 0.7158 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5771, allocations: 3.938 kB / 0.7158 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5771, allocations: 11.98 kB / 0.7158 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5771, allocations: 1.438 kB / 0.7158 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5771, allocations: 0 / 0.7158 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.5772, allocations: 152.2 kB / 0.7159 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.5773, allocations: 77.11 kB / 0.716 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.5773, allocations: 11.94 kB / 0.716 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.5774, allocations: 0 / 0.716 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.5774, allocations: 7.922 kB / 0.716 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.5774, allocations: 11.94 kB / 0.716 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.5774, allocations: 79.28 kB / 0.7161 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5774, allocations: 0 / 0.7161 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005685/0.578, allocations: 159.4 kB / 0.7163 GB, free: 14.04 MB / 0.5294 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0008739/0.5789, allocations: 344.4 kB / 0.7166 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.579, allocations: 35.98 kB / 0.7166 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.579, allocations: 0 / 0.7166 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.579, allocations: 15.92 kB / 0.7166 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5793, allocations: 9.531 kB / 0.7166 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.5798, allocations: 204 kB / 0.7168 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.5801, allocations: 0.6807 MB / 0.7175 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.5801, allocations: 15.44 kB / 0.7175 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.5801, allocations: 0 / 0.7175 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.005851/0.586, allocations: 3.185 MB / 0.7206 GB, free: 9.512 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.043011453002691]