Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 177.2 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3611/0.3611, allocations: 32.81 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.884e-05, allocations: 5.688 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4241/0.4242, allocations: 187.7 MB / 0.5498 GB, free: 9.039 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.4357, allocations: 7.572 MB / 0.5572 GB, free: 3.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.4362, allocations: 27.75 kB / 0.5572 GB, free: 3.223 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.4374, allocations: 417.4 kB / 0.5576 GB, free: 2.812 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006797/0.4442, allocations: 2.46 MB / 0.56 GB, free: 348 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.451, allocations: 2.405 MB / 0.5624 GB, free: 13.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.4544, allocations: 2.234 MB / 0.5646 GB, free: 11.69 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.4556, allocations: 0.5372 MB / 0.5651 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.4605, allocations: 2.154 MB / 0.5672 GB, free: 8.977 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.4621, allocations: 0.8495 MB / 0.568 GB, free: 8.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.4624, allocations: 92 kB / 0.5681 GB, free: 8.035 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.4725, allocations: 4.307 MB / 0.5723 GB, free: 3.719 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008661/0.4733, allocations: 470.8 kB / 0.5728 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009719/0.4743, allocations: 407.2 kB / 0.5732 GB, free: 2.859 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009708/0.484, allocations: 4.125 MB / 0.5772 GB, free: 14.72 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.484, allocations: 0 / 0.5772 GB, free: 14.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.484, allocations: 4 kB / 0.5772 GB, free: 14.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.484, allocations: 0 / 0.5772 GB, free: 14.72 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004537/0.4886, allocations: 1.844 MB / 0.579 GB, free: 12.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4886, allocations: 8.031 kB / 0.579 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/0.4896, allocations: 203 kB / 0.5792 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.4909, allocations: 0.5741 MB / 0.5798 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.4911, allocations: 168.8 kB / 0.5799 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.4913, allocations: 79.98 kB / 0.58 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.4934, allocations: 1.365 MB / 0.5813 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.4934, allocations: 0 / 0.5813 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.4935, allocations: 39.97 kB / 0.5814 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.731e-05/0.4936, allocations: 61.91 kB / 0.5814 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4953, allocations: 0.7572 MB / 0.5822 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.5029, allocations: 4.214 MB / 0.5863 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.5045, allocations: 0.6014 MB / 0.5869 GB, free: 4.434 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.5051, allocations: 273.5 kB / 0.5871 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/0.5059, allocations: 208.5 kB / 0.5873 GB, free: 3.961 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.5059, allocations: 53.98 kB / 0.5874 GB, free: 3.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/0.5059, allocations: 0 / 0.5874 GB, free: 3.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.01107/0.517, allocations: 2.982 MB / 0.5903 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/0.5171, allocations: 111.5 kB / 0.5904 GB, free: 0.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.518, allocations: 0.6469 MB / 0.591 GB, free: 88 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.5181, allocations: 41.7 kB / 0.5911 GB, free: 40 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.5186, allocations: 483 kB / 0.5915 GB, free: 15.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.519, allocations: 333.4 kB / 0.5919 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.5195, allocations: 232.2 kB / 0.5921 GB, free: 15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004422/0.5199, allocations: 0.5938 MB / 0.5927 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008285/0.5207, allocations: 321.8 kB / 0.593 GB, free: 14.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.5223, allocations: 0.7621 MB / 0.5937 GB, free: 13.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.5244, allocations: 1.093 MB / 0.5948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5244, allocations: 0 / 0.5948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003202/0.5276, allocations: 1.306 MB / 0.596 GB, free: 10.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.5277, allocations: 11.94 kB / 0.5961 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.5277, allocations: 8.594 kB / 0.5961 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/0.5342, allocations: 1.073 MB / 0.5971 GB, free: 9.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.5349, allocations: 155.7 kB / 0.5973 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.5377, allocations: 1.496 MB / 0.5987 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/0.5385, allocations: 51.97 kB / 0.5988 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.5387, allocations: 53.08 kB / 0.5988 GB, free: 7.715 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005224/0.5392, allocations: 268.2 kB / 0.5991 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.5395, allocations: 107.5 kB / 0.5992 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.5431, allocations: 1.432 MB / 0.6006 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.5431, allocations: 15.11 kB / 0.6006 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5431, allocations: 0 / 0.6006 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5431, allocations: 7.984 kB / 0.6006 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.5478, allocations: 2.045 MB / 0.6026 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5478, allocations: 4 kB / 0.6026 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.5491, allocations: 251.7 kB / 0.6028 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.5508, allocations: 314.3 kB / 0.6031 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-05/0.5509, allocations: 35.92 kB / 0.6032 GB, free: 3.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.554, allocations: 2.883 MB / 0.606 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.554, allocations: 3.938 kB / 0.606 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.5577, allocations: 1.576 MB / 0.6075 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.5582, allocations: 191.3 kB / 0.6077 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.5584, allocations: 24 kB / 0.6077 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007285/0.5591, allocations: 47.91 kB / 0.6078 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5593, allocations: 64.88 kB / 0.6078 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.5594, allocations: 47.97 kB / 0.6079 GB, free: 14.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005913/0.56, allocations: 414.8 kB / 0.6083 GB, free: 13.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.56, allocations: 0 / 0.6083 GB, free: 13.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002286/0.5623, allocations: 0.6935 MB / 0.609 GB, free: 13.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.5643, allocations: 0.8552 MB / 0.6098 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.5667, allocations: 0.949 MB / 0.6107 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.5667, allocations: 8.062 kB / 0.6107 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.5683, allocations: 0.5619 MB / 0.6113 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.5704, allocations: 442.5 kB / 0.6117 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.5749, allocations: 1.878 MB / 0.6135 GB, free: 8.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.5756, allocations: 443.2 kB / 0.614 GB, free: 7.832 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009506/0.5766, allocations: 318.4 kB / 0.6143 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.5768, allocations: 88.47 kB / 0.6144 GB, free: 7.441 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5768, allocations: 0 / 0.6144 GB, free: 7.441 MB / 490.7 MB Notification: Performance of Templates: time 0.2061/0.783, allocations: 31.5 MB / 0.6451 GB, free: 177 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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: 7.143146313959733]