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.001866/0.001866, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002317/0.002317, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 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.2225/0.2225, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] 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 0.003404/0.003404, allocations: 63.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3054, allocations: 66.05 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2161/0.5215, allocations: 168.7 MB / 0.7266 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.5318, allocations: 6.823 MB / 0.7333 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.5323, allocations: 27.75 kB / 0.7333 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5334, allocations: 401.6 kB / 0.7337 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.5391, allocations: 2.415 MB / 0.736 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.2715/0.8106, allocations: 2.357 MB / 0.7383 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.8131, allocations: 2.22 MB / 0.7405 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/0.8138, allocations: 0.5074 MB / 0.741 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.8168, allocations: 1.88 MB / 0.7428 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.8179, allocations: 0.917 MB / 0.7437 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.818, allocations: 93.34 kB / 0.7438 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.8244, allocations: 4.407 MB / 0.7481 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.825, allocations: 437.7 kB / 0.7485 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.8256, allocations: 465.9 kB / 0.749 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.8307, allocations: 3.679 MB / 0.7526 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8307, allocations: 0.9375 kB / 0.7526 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8307, allocations: 0 / 0.7526 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.8307, allocations: 0 / 0.7526 GB, free: 3.074 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.003757/0.8345, allocations: 1.697 MB / 0.7542 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.8345, allocations: 10.03 kB / 0.7542 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.8349, allocations: 117.9 kB / 0.7544 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.8359, allocations: 0.5626 MB / 0.7549 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.8361, allocations: 171.2 kB / 0.7551 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.8362, allocations: 68.69 kB / 0.7551 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.8379, allocations: 1.563 MB / 0.7567 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.838, allocations: 6.922 kB / 0.7567 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.8381, allocations: 33.91 kB / 0.7567 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.8381, allocations: 63.92 kB / 0.7568 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.8397, allocations: 1.147 MB / 0.7579 GB, free: 17.14 MB / 0.5762 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.005966/0.8457, allocations: 3.676 MB / 0.7615 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.8472, allocations: 0.7928 MB / 0.7622 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.8478, allocations: 408.6 kB / 0.7626 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007451/0.8485, allocations: 209.8 kB / 0.7628 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.8486, allocations: 47.34 kB / 0.7629 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 4.087e-06/0.8486, allocations: 0 / 0.7629 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01325/0.8618, allocations: 3.925 MB / 0.7667 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.8619, allocations: 115.1 kB / 0.7668 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.8625, allocations: 0.5423 MB / 0.7674 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.8626, allocations: 40.86 kB / 0.7674 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.8628, allocations: 409.5 kB / 0.7678 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.8629, allocations: 307 kB / 0.7681 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.8632, allocations: 197.5 kB / 0.7683 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8634, allocations: 384.5 kB / 0.7686 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008955/0.8643, allocations: 490.6 kB / 0.7691 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.8653, allocations: 0.8097 MB / 0.7699 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.8672, allocations: 1.281 MB / 0.7711 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.8672, allocations: 5 kB / 0.7711 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00311/0.8703, allocations: 1.649 MB / 0.7728 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.8704, allocations: 8.625 kB / 0.7728 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8704, allocations: 13.03 kB / 0.7728 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007514/0.8779, allocations: 1.303 MB / 0.774 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.8786, allocations: 156.7 kB / 0.7742 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.8812, allocations: 1.53 MB / 0.7757 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.8822, allocations: 55 kB / 0.7757 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.8824, allocations: 55.19 kB / 0.7758 GB, free: 12.91 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.0004819/0.8828, allocations: 294.5 kB / 0.7761 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.883, allocations: 79.72 kB / 0.7762 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.8861, allocations: 1.666 MB / 0.7778 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.8861, allocations: 14.66 kB / 0.7778 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8861, allocations: 0.6875 kB / 0.7778 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.8861, allocations: 9.375 kB / 0.7778 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.89, allocations: 2.288 MB / 0.78 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.89, allocations: 4.734 kB / 0.78 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.8913, allocations: 258.3 kB / 0.7803 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/0.8931, allocations: 374.5 kB / 0.7806 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.8932, allocations: 34.88 kB / 0.7807 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.8958, allocations: 2.225 MB / 0.7829 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.8958, allocations: 3.938 kB / 0.7829 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.8993, allocations: 2.023 MB / 0.7848 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.8998, allocations: 204.8 kB / 0.785 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.9, allocations: 23.61 kB / 0.785 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/0.9008, allocations: 52.38 kB / 0.7851 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.901, allocations: 72.02 kB / 0.7852 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9011, allocations: 43.83 kB / 0.7852 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004182/0.9015, allocations: 388.3 kB / 0.7856 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9015, allocations: 0 / 0.7856 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001805/0.9033, allocations: 0.6894 MB / 0.7863 GB, free: 9.973 MB / 0.5762 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.001733/0.905, allocations: 0.8128 MB / 0.787 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.9075, allocations: 1.188 MB / 0.7882 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9075, allocations: 2.75 kB / 0.7882 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.9092, allocations: 0.69 MB / 0.7889 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.9111, allocations: 433.8 kB / 0.7893 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.9156, allocations: 2.162 MB / 0.7914 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.916, allocations: 458.7 kB / 0.7918 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008652/0.9169, allocations: 361.2 kB / 0.7922 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.9171, allocations: 80.56 kB / 0.7923 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.9171, allocations: 3.094 kB / 0.7923 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.04884/0.9659, allocations: 33.02 MB / 0.8245 GB, free: 0.9023 MB / 0.5919 GB " [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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/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.0273173169989605]