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.001863/0.001863, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002237/0.002237, allocations: 161.7 kB / 24.27 MB, free: 172 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.515/1.515, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3531/0.3531, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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 2.855e-06/2.855e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.901e-05/4.187e-05, allocations: 6.25 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3958/0.3959, allocations: 168.6 MB / 0.5312 GB, free: 2.949 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009828/0.4057, allocations: 6.836 MB / 0.5378 GB, free: 14.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.4067, allocations: 29.16 kB / 0.5379 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.4081, allocations: 411.9 kB / 0.5383 GB, free: 14.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.4149, allocations: 2.455 MB / 0.5406 GB, free: 12.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007245/0.4222, allocations: 2.414 MB / 0.543 GB, free: 10.97 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.4253, allocations: 2.233 MB / 0.5452 GB, free: 9.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.4264, allocations: 0.5382 MB / 0.5457 GB, free: 9.281 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.4317, allocations: 2.155 MB / 0.5478 GB, free: 7.957 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.4331, allocations: 0.8486 MB / 0.5486 GB, free: 7.504 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.4333, allocations: 93.41 kB / 0.5487 GB, free: 7.504 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009509/0.4428, allocations: 4.304 MB / 0.5529 GB, free: 4.438 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.4436, allocations: 462.8 kB / 0.5534 GB, free: 3.984 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009049/0.4446, allocations: 403.2 kB / 0.5538 GB, free: 3.586 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.4549, allocations: 4.118 MB / 0.5578 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4549, allocations: 0 / 0.5578 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4549, allocations: 0 / 0.5578 GB, free: 15.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.455, allocations: 0 / 0.5578 GB, free: 15.46 MB / 442.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.004834/0.4598, allocations: 1.689 MB / 0.5594 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4598, allocations: 8.031 kB / 0.5594 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.4604, allocations: 199 kB / 0.5596 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.4616, allocations: 0.5753 MB / 0.5602 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.4618, allocations: 168.8 kB / 0.5604 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.462, allocations: 79.98 kB / 0.5604 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.4645, allocations: 1.564 MB / 0.562 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.4645, allocations: 4 kB / 0.562 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.4646, allocations: 32 kB / 0.562 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.4647, allocations: 61.91 kB / 0.5621 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.4671, allocations: 1.151 MB / 0.5632 GB, free: 9.691 MB / 442.7 MB 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.007189/0.4743, allocations: 3.69 MB / 0.5668 GB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.4762, allocations: 0.7826 MB / 0.5675 GB, free: 5.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.477, allocations: 406.6 kB / 0.5679 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/0.4777, allocations: 216.5 kB / 0.5681 GB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.4778, allocations: 47.16 kB / 0.5682 GB, free: 4.473 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.454e-06/0.4778, allocations: 0 / 0.5682 GB, free: 4.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.01525/0.493, allocations: 3.957 MB / 0.572 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4931, allocations: 111.5 kB / 0.5722 GB, free: 368 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.494, allocations: 0.5416 MB / 0.5727 GB, free: 15.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4941, allocations: 41.7 kB / 0.5727 GB, free: 15.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.4945, allocations: 400.4 kB / 0.5731 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.4949, allocations: 305.4 kB / 0.5734 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.4952, allocations: 198.5 kB / 0.5736 GB, free: 14.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/0.4955, allocations: 374.8 kB / 0.5739 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.4967, allocations: 0.4899 MB / 0.5744 GB, free: 14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.4982, allocations: 0.8025 MB / 0.5752 GB, free: 13.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.5014, allocations: 1.281 MB / 0.5765 GB, free: 11.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.5014, allocations: 4 kB / 0.5765 GB, free: 11.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004212/0.5056, allocations: 1.692 MB / 0.5781 GB, free: 9.977 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.5057, allocations: 11.94 kB / 0.5781 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.5057, allocations: 8.594 kB / 0.5781 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007823/0.5135, allocations: 1.31 MB / 0.5794 GB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.5143, allocations: 161 kB / 0.5796 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.5177, allocations: 1.537 MB / 0.5811 GB, free: 6.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.5186, allocations: 48.02 kB / 0.5811 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.5188, allocations: 57.06 kB / 0.5812 GB, free: 6.824 MB / 458.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.0005982/0.5194, allocations: 302 kB / 0.5815 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.5197, allocations: 99.53 kB / 0.5815 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.5241, allocations: 1.68 MB / 0.5832 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.5241, allocations: 8 kB / 0.5832 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.5241, allocations: 0 / 0.5832 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.5241, allocations: 7.969 kB / 0.5832 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/0.5292, allocations: 2.277 MB / 0.5854 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5292, allocations: 0 / 0.5854 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.5306, allocations: 267.9 kB / 0.5857 GB, free: 2.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.5326, allocations: 375.2 kB / 0.586 GB, free: 1.754 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.5327, allocations: 39.86 kB / 0.5861 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.5361, allocations: 2.229 MB / 0.5883 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5361, allocations: 3.938 kB / 0.5883 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004994/0.5411, allocations: 2.052 MB / 0.5903 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.5417, allocations: 195.4 kB / 0.5905 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.5419, allocations: 27.92 kB / 0.5905 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.5427, allocations: 59.89 kB / 0.5905 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.5429, allocations: 60.89 kB / 0.5906 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.543, allocations: 47.95 kB / 0.5906 GB, free: 12.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006169/0.5436, allocations: 390.8 kB / 0.591 GB, free: 12.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5436, allocations: 0 / 0.591 GB, free: 12.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002295/0.5459, allocations: 0.6896 MB / 0.5917 GB, free: 11.81 MB / 474.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.002157/0.5481, allocations: 0.8522 MB / 0.5925 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003043/0.5511, allocations: 1.196 MB / 0.5937 GB, free: 9.754 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.5511, allocations: 7.938 kB / 0.5937 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.5531, allocations: 0.6823 MB / 0.5944 GB, free: 9.062 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.5552, allocations: 450.7 kB / 0.5948 GB, free: 8.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.5601, allocations: 2.064 MB / 0.5968 GB, free: 6.535 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.5609, allocations: 459.2 kB / 0.5972 GB, free: 6.059 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009722/0.5618, allocations: 351.1 kB / 0.5976 GB, free: 5.723 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.5621, allocations: 84.48 kB / 0.5977 GB, free: 5.641 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5621, allocations: 0 / 0.5977 GB, free: 5.641 MB / 474.7 MB Notification: Performance of Templates: time 0.1982/0.7603, allocations: 31.44 MB / 0.6284 GB, free: 178.7 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=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.998413381981663]