Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001411/0.001411, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001504/0.001504, allocations: 165.3 kB / 24.27 MB, free: 144 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3922/0.3922, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.714e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3862/0.3862, allocations: 168.6 MB / 0.5331 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.398, allocations: 6.817 MB / 0.5398 GB, free: 12.4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00075/0.3987, allocations: 29.16 kB / 0.5398 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.4001, allocations: 423.5 kB / 0.5402 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007523/0.4076, allocations: 2.458 MB / 0.5426 GB, free: 10.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.4146, allocations: 2.406 MB / 0.545 GB, free: 8.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003105/0.4177, allocations: 2.231 MB / 0.5471 GB, free: 7.359 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009036/0.4186, allocations: 0.5381 MB / 0.5477 GB, free: 6.953 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.4234, allocations: 2.152 MB / 0.5498 GB, free: 5.633 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.4249, allocations: 0.8491 MB / 0.5506 GB, free: 5.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.425, allocations: 93.38 kB / 0.5507 GB, free: 5.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009452/0.4345, allocations: 4.307 MB / 0.5549 GB, free: 1.305 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008116/0.4353, allocations: 462.8 kB / 0.5553 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008454/0.4361, allocations: 399.2 kB / 0.5557 GB, free: 472 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00942/0.4455, allocations: 4.122 MB / 0.5597 GB, free: 12.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4456, allocations: 0 / 0.5597 GB, free: 12.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4456, allocations: 3.984 kB / 0.5597 GB, free: 12.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4456, allocations: 0 / 0.5597 GB, free: 12.32 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.004544/0.4501, allocations: 1.686 MB / 0.5614 GB, free: 10.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4502, allocations: 12.03 kB / 0.5614 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.4508, allocations: 199 kB / 0.5616 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.4519, allocations: 0.5676 MB / 0.5622 GB, free: 9.801 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.4521, allocations: 172.8 kB / 0.5623 GB, free: 9.605 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.4523, allocations: 87.92 kB / 0.5624 GB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.4547, allocations: 1.557 MB / 0.5639 GB, free: 7.812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.4547, allocations: 7.938 kB / 0.5639 GB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4549, allocations: 35.98 kB / 0.564 GB, free: 7.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.455, allocations: 61.95 kB / 0.564 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.4571, allocations: 1.155 MB / 0.5651 GB, free: 6.551 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.007043/0.4641, allocations: 3.674 MB / 0.5687 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.4661, allocations: 0.7989 MB / 0.5695 GB, free: 1.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.4668, allocations: 402.5 kB / 0.5699 GB, free: 1.598 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007567/0.4676, allocations: 216.5 kB / 0.5701 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.4676, allocations: 43.22 kB / 0.5701 GB, free: 1.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/0.4676, allocations: 0 / 0.5701 GB, free: 1.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.01465/0.4823, allocations: 3.953 MB / 0.574 GB, free: 13.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.4824, allocations: 111.5 kB / 0.5741 GB, free: 13.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.4832, allocations: 0.5416 MB / 0.5746 GB, free: 12.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4833, allocations: 45.7 kB / 0.5747 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.4837, allocations: 400.4 kB / 0.5751 GB, free: 12.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.4841, allocations: 301.4 kB / 0.5754 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/0.4844, allocations: 194.5 kB / 0.5755 GB, free: 11.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.4847, allocations: 378.8 kB / 0.5759 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.4858, allocations: 497.7 kB / 0.5764 GB, free: 10.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4872, allocations: 0.8064 MB / 0.5772 GB, free: 9.934 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.4898, allocations: 1.285 MB / 0.5784 GB, free: 8.547 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4898, allocations: 4 kB / 0.5784 GB, free: 8.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003996/0.4938, allocations: 1.689 MB / 0.5801 GB, free: 6.844 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.4939, allocations: 11.94 kB / 0.5801 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.4939, allocations: 12 kB / 0.5801 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008141/0.502, allocations: 1.317 MB / 0.5814 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.5028, allocations: 155.7 kB / 0.5815 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.506, allocations: 1.54 MB / 0.583 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/0.5069, allocations: 52.02 kB / 0.5831 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.507, allocations: 55.97 kB / 0.5831 GB, free: 3.684 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.0005958/0.5076, allocations: 297.5 kB / 0.5834 GB, free: 3.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.5079, allocations: 103.5 kB / 0.5835 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.5118, allocations: 1.669 MB / 0.5852 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.5119, allocations: 11.98 kB / 0.5852 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5119, allocations: 0 / 0.5852 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5119, allocations: 7.984 kB / 0.5852 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.5173, allocations: 2.282 MB / 0.5874 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5173, allocations: 4 kB / 0.5874 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.5187, allocations: 259.9 kB / 0.5877 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.5206, allocations: 380.3 kB / 0.588 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.5207, allocations: 35.92 kB / 0.588 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/0.5239, allocations: 2.221 MB / 0.5902 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5239, allocations: 3.938 kB / 0.5902 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.5286, allocations: 2.049 MB / 0.5922 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/0.5292, allocations: 195.4 kB / 0.5924 GB, free: 9.941 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.5294, allocations: 31.92 kB / 0.5924 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/0.5303, allocations: 59.89 kB / 0.5925 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.5305, allocations: 68.81 kB / 0.5926 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.5306, allocations: 44.91 kB / 0.5926 GB, free: 9.742 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005884/0.5312, allocations: 386.8 kB / 0.593 GB, free: 9.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5312, allocations: 0 / 0.593 GB, free: 9.367 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002224/0.5334, allocations: 0.6896 MB / 0.5936 GB, free: 8.676 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.002381/0.5358, allocations: 0.8636 MB / 0.5945 GB, free: 7.805 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.5388, allocations: 1.192 MB / 0.5957 GB, free: 6.617 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5388, allocations: 4 kB / 0.5957 GB, free: 6.613 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.5408, allocations: 0.6861 MB / 0.5963 GB, free: 5.926 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.5429, allocations: 458.1 kB / 0.5968 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.5479, allocations: 2.067 MB / 0.5988 GB, free: 3.391 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.5484, allocations: 451.2 kB / 0.5992 GB, free: 2.922 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.5495, allocations: 343.3 kB / 0.5995 GB, free: 2.594 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.5498, allocations: 88.48 kB / 0.5996 GB, free: 2.508 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5498, allocations: 0 / 0.5996 GB, free: 2.508 MB / 474.7 MB Notification: Performance of Templates: time 0.1947/0.7445, allocations: 31.45 MB / 0.6303 GB, free: 177.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.026936060981825]