Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001363/0.001363, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.001513/0.001513, allocations: 167.9 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 158.6 MB / 185.5 MB, free: 6.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002632/0.002632, allocations: 67.91 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1444, allocations: 61.05 MB / 468.8 MB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5102/0.6546, allocations: 170.5 MB / 0.6244 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.6704, allocations: 9.418 MB / 0.6336 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.6714, allocations: 27.75 kB / 0.6336 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.6729, allocations: 413.6 kB / 0.634 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/0.6811, allocations: 2.623 MB / 0.6365 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008171/0.6893, allocations: 2.694 MB / 0.6392 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.6929, allocations: 2.216 MB / 0.6413 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.6939, allocations: 0.5173 MB / 0.6418 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.699, allocations: 2.003 MB / 0.6438 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.7006, allocations: 0.8917 MB / 0.6447 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.7008, allocations: 92 kB / 0.6448 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.711, allocations: 4.753 MB / 0.6494 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/0.7118, allocations: 442.8 kB / 0.6498 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008482/0.7126, allocations: 470.2 kB / 0.6503 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.7229, allocations: 3.933 MB / 0.6541 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7229, allocations: 0 / 0.6541 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7229, allocations: 0 / 0.6541 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.723, allocations: 0 / 0.6541 GB, free: 15.89 MB / 0.5606 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.004505/0.7275, allocations: 1.767 MB / 0.6558 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7275, allocations: 8.031 kB / 0.6558 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.7279, allocations: 118.5 kB / 0.656 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.729, allocations: 0.5635 MB / 0.6565 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.7292, allocations: 176.7 kB / 0.6567 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.7294, allocations: 75.95 kB / 0.6568 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.7316, allocations: 1.593 MB / 0.6583 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.7316, allocations: 3.938 kB / 0.6583 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.7317, allocations: 28 kB / 0.6583 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-05/0.7318, allocations: 61.97 kB / 0.6584 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.7338, allocations: 1.167 MB / 0.6595 GB, free: 10.09 MB / 0.5606 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.006296/0.7401, allocations: 3.699 MB / 0.6632 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.7419, allocations: 0.7958 MB / 0.6639 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.7425, allocations: 402.6 kB / 0.6643 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009114/0.7435, allocations: 332.2 kB / 0.6646 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.7435, allocations: 43.22 kB / 0.6647 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/0.7435, allocations: 0 / 0.6647 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01359/0.7571, allocations: 3.951 MB / 0.6685 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.7572, allocations: 115.4 kB / 0.6686 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.7579, allocations: 0.5377 MB / 0.6692 GB, free: 76 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.758, allocations: 49.62 kB / 0.6692 GB, free: 20 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.7583, allocations: 404.4 kB / 0.6696 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.7586, allocations: 313.4 kB / 0.6699 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.7589, allocations: 202.5 kB / 0.6701 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.7591, allocations: 378.8 kB / 0.6705 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.7602, allocations: 493.7 kB / 0.6709 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7615, allocations: 0.8103 MB / 0.6717 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.7639, allocations: 1.281 MB / 0.673 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.7639, allocations: 4 kB / 0.673 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003643/0.7675, allocations: 1.665 MB / 0.6746 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.7675, allocations: 11.94 kB / 0.6746 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.7676, allocations: 8 kB / 0.6746 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007405/0.775, allocations: 1.33 MB / 0.6759 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.7757, allocations: 159.7 kB / 0.6761 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.7785, allocations: 1.526 MB / 0.6776 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/0.7794, allocations: 53.45 kB / 0.6776 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.7796, allocations: 71.91 kB / 0.6777 GB, free: 7.066 MB / 0.5762 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.0005637/0.7801, allocations: 289.5 kB / 0.6779 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.7803, allocations: 79.53 kB / 0.678 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.7838, allocations: 1.627 MB / 0.6796 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.7838, allocations: 8 kB / 0.6796 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7838, allocations: 0 / 0.6796 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7838, allocations: 3.984 kB / 0.6796 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/0.7883, allocations: 2.278 MB / 0.6819 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.7883, allocations: 11.92 kB / 0.6819 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.7896, allocations: 259.8 kB / 0.6821 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.7913, allocations: 380.4 kB / 0.6825 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.7914, allocations: 34.34 kB / 0.6825 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2844/1.076, allocations: 2.218 MB / 0.6847 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.076, allocations: 4.438 kB / 0.6847 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/1.079, allocations: 2.013 MB / 0.6866 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/1.08, allocations: 202.5 kB / 0.6868 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.08, allocations: 27.3 kB / 0.6869 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/1.081, allocations: 59.28 kB / 0.6869 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.081, allocations: 72.14 kB / 0.687 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.081, allocations: 53.27 kB / 0.687 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000407/1.082, allocations: 383.7 kB / 0.6874 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.082, allocations: 0 / 0.6874 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001935/1.083, allocations: 0.7141 MB / 0.6881 GB, free: 185.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001876/1.085, allocations: 0.9011 MB / 0.689 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002299/1.088, allocations: 1.193 MB / 0.6901 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.088, allocations: 3.188 kB / 0.6901 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.089, allocations: 0.6939 MB / 0.6908 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.091, allocations: 431 kB / 0.6912 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/1.095, allocations: 2.156 MB / 0.6933 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.095, allocations: 455.6 kB / 0.6938 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008513/1.096, allocations: 286.3 kB / 0.6941 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/1.096, allocations: 100.8 kB / 0.6941 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/1.096, allocations: 0 / 0.6941 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.04832/1.145, allocations: 32.77 MB / 0.7261 GB, free: 174.8 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.4453078910009935]