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.00156/0.00156, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001697/0.001697, allocations: 169.2 kB / 23.95 MB, free: 4.172 MB / 14.72 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.436/1.436, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 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.2005/0.2005, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 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.944e-06/1.944e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.84e-05, allocations: 2.281 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4383/0.4383, allocations: 168.6 MB / 0.5945 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.4496, allocations: 6.814 MB / 0.6011 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009104/0.4505, allocations: 27.75 kB / 0.6012 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.4522, allocations: 421.3 kB / 0.6016 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007429/0.4596, allocations: 2.454 MB / 0.604 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.4663, allocations: 2.422 MB / 0.6063 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.4696, allocations: 2.227 MB / 0.6085 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.4706, allocations: 0.5056 MB / 0.609 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005042/0.4757, allocations: 2.154 MB / 0.6111 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.4773, allocations: 0.8495 MB / 0.6119 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.4775, allocations: 92 kB / 0.612 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008163/0.4857, allocations: 4.306 MB / 0.6162 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.4863, allocations: 462.7 kB / 0.6167 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008717/0.4872, allocations: 403.2 kB / 0.617 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008647/0.4958, allocations: 4.107 MB / 0.621 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4958, allocations: 0 / 0.621 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4958, allocations: 4 kB / 0.6211 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.531e-05/0.4959, allocations: 0 / 0.6211 GB, free: 5.758 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004887/0.5008, allocations: 1.686 MB / 0.6227 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5008, allocations: 12.03 kB / 0.6227 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.5013, allocations: 115.4 kB / 0.6228 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5023, allocations: 0.5596 MB / 0.6234 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.5025, allocations: 172.8 kB / 0.6235 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.5027, allocations: 71.94 kB / 0.6236 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.5049, allocations: 1.557 MB / 0.6251 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.5049, allocations: 7.938 kB / 0.6251 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.505, allocations: 31.98 kB / 0.6252 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.025e-05/0.5051, allocations: 57.97 kB / 0.6252 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.5072, allocations: 1.151 MB / 0.6263 GB, free: 100 kB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006905/0.5141, allocations: 3.677 MB / 0.6299 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.516, allocations: 0.7917 MB / 0.6307 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.5166, allocations: 398.6 kB / 0.6311 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.5173, allocations: 212.5 kB / 0.6313 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.5174, allocations: 43.22 kB / 0.6313 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/0.5174, allocations: 4 kB / 0.6313 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01419/0.5316, allocations: 3.929 MB / 0.6352 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.5316, allocations: 111.5 kB / 0.6353 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.5323, allocations: 0.5455 MB / 0.6358 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.5325, allocations: 45.7 kB / 0.6359 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.5328, allocations: 408.2 kB / 0.6362 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.533, allocations: 305.4 kB / 0.6365 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.5334, allocations: 194.6 kB / 0.6367 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5336, allocations: 374.8 kB / 0.6371 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.5347, allocations: 497.7 kB / 0.6375 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.536, allocations: 0.814 MB / 0.6383 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.5385, allocations: 1.277 MB / 0.6396 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5385, allocations: 0 / 0.6396 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003698/0.5422, allocations: 1.653 MB / 0.6412 GB, free: 436 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5422, allocations: 11.94 kB / 0.6412 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5423, allocations: 8 kB / 0.6412 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2091/0.7514, allocations: 1.3 MB / 0.6425 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.7522, allocations: 157.5 kB / 0.6426 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.7551, allocations: 1.526 MB / 0.6441 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7562, allocations: 57.88 kB / 0.6442 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.7565, allocations: 55.59 kB / 0.6442 GB, free: 189.6 MB / 0.5294 GB 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.0008009/0.7573, allocations: 299.9 kB / 0.6445 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.7576, allocations: 76.8 kB / 0.6446 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.7619, allocations: 1.669 MB / 0.6462 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.7619, allocations: 18.3 kB / 0.6462 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7619, allocations: 0 / 0.6462 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.7619, allocations: 6.344 kB / 0.6463 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.7669, allocations: 2.279 MB / 0.6485 GB, free: 187.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.7669, allocations: 6.172 kB / 0.6485 GB, free: 187.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.7683, allocations: 260.9 kB / 0.6487 GB, free: 187.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.7702, allocations: 374.1 kB / 0.6491 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.7703, allocations: 29.05 kB / 0.6491 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.7726, allocations: 2.228 MB / 0.6513 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7726, allocations: 1.344 kB / 0.6513 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.7766, allocations: 2.023 MB / 0.6533 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.7772, allocations: 199.5 kB / 0.6535 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.7775, allocations: 31.28 kB / 0.6535 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.7784, allocations: 53.28 kB / 0.6535 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.7786, allocations: 67.58 kB / 0.6536 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.7787, allocations: 45.89 kB / 0.6537 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005881/0.7793, allocations: 386 kB / 0.654 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7793, allocations: 0 / 0.654 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002218/0.7815, allocations: 0.6916 MB / 0.6547 GB, free: 184.6 MB / 0.5294 GB 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.002514/0.7841, allocations: 0.8589 MB / 0.6555 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003145/0.7872, allocations: 1.188 MB / 0.6567 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.7872, allocations: 2.344 kB / 0.6567 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.7892, allocations: 0.6919 MB / 0.6574 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.7916, allocations: 438.1 kB / 0.6578 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.7967, allocations: 2.039 MB / 0.6598 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.7975, allocations: 455 kB / 0.6602 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001429/0.7989, allocations: 344.6 kB / 0.6605 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.7993, allocations: 88.06 kB / 0.6606 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.183e-06/0.7993, allocations: 3.938 kB / 0.6606 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.04192/0.8412, allocations: 31.32 MB / 0.6912 GB, free: 158.1 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] 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: 6.825132340192795]