Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2409/0.2409, allocations: 46.89 MB / 361.1 MB, free: 4.648 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3442, allocations: 65.99 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5988/0.9431, allocations: 195 MB / 0.7516 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007858/0.951, allocations: 7.527 MB / 0.759 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.9517, allocations: 16.97 kB / 0.759 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.9527, allocations: 451.4 kB / 0.7594 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.9577, allocations: 2.389 MB / 0.7618 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.9627, allocations: 2.325 MB / 0.764 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.965, allocations: 2.209 MB / 0.7662 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.9657, allocations: 0.5123 MB / 0.7667 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.9703, allocations: 1.858 MB / 0.7685 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.9716, allocations: 0.9142 MB / 0.7694 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.9718, allocations: 94.69 kB / 0.7695 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009441/0.9812, allocations: 5.396 MB / 0.7748 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005988/0.9818, allocations: 440.9 kB / 0.7752 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008557/0.9827, allocations: 0.5355 MB / 0.7757 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008791/0.9915, allocations: 3.846 MB / 0.7795 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.9915, allocations: 3.516 kB / 0.7795 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9915, allocations: 0 / 0.7795 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.9915, allocations: 2.438 kB / 0.7795 GB, free: 1.137 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.004784/0.9963, allocations: 1.777 MB / 0.7812 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.9963, allocations: 8.688 kB / 0.7812 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/0.9968, allocations: 115.1 kB / 0.7813 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.9979, allocations: 0.6219 MB / 0.7819 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.998, allocations: 119.6 kB / 0.782 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.9981, allocations: 71.64 kB / 0.7821 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.9998, allocations: 1.163 MB / 0.7832 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.9999, allocations: 7.234 kB / 0.7832 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1, allocations: 31.89 kB / 0.7833 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/1, allocations: 55.7 kB / 0.7833 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.002, allocations: 1.164 MB / 0.7845 GB, free: 15.6 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.007219/1.009, allocations: 4.98 MB / 0.7893 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.011, allocations: 0.7859 MB / 0.7901 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/1.011, allocations: 402.5 kB / 0.7905 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/1.013, allocations: 1.627 MB / 0.7921 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/1.013, allocations: 44.2 kB / 0.7921 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/1.013, allocations: 1 kB / 0.7921 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01339/1.026, allocations: 4.013 MB / 0.796 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.026, allocations: 112.3 kB / 0.7961 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.027, allocations: 0.6654 MB / 0.7968 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/1.027, allocations: 45.52 kB / 0.7968 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/1.028, allocations: 392.6 kB / 0.7972 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/1.028, allocations: 308.5 kB / 0.7975 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/1.028, allocations: 200.6 kB / 0.7977 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002562/1.029, allocations: 393.6 kB / 0.7981 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/1.03, allocations: 493.5 kB / 0.7985 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.031, allocations: 0.7556 MB / 0.7993 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/1.033, allocations: 1.279 MB / 0.8005 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.033, allocations: 1.406 kB / 0.8005 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003409/1.036, allocations: 1.659 MB / 0.8021 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.037, allocations: 8.969 kB / 0.8022 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.037, allocations: 8.5 kB / 0.8022 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007263/1.044, allocations: 1.314 MB / 0.8034 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.044, allocations: 155.2 kB / 0.8036 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/1.047, allocations: 1.538 MB / 0.8051 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/1.048, allocations: 51.48 kB / 0.8051 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.048, allocations: 61 kB / 0.8052 GB, free: 7.273 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.0005699/1.049, allocations: 294.1 kB / 0.8055 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/1.049, allocations: 89.89 kB / 0.8056 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/1.052, allocations: 1.674 MB / 0.8072 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.052, allocations: 15.53 kB / 0.8072 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.052, allocations: 3.938 kB / 0.8072 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.052, allocations: 3.984 kB / 0.8072 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/1.057, allocations: 2.627 MB / 0.8098 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.057, allocations: 4 kB / 0.8098 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.058, allocations: 249.8 kB / 0.81 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/1.06, allocations: 384 kB / 0.8104 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/1.06, allocations: 35.77 kB / 0.8104 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/1.063, allocations: 2.347 MB / 0.8127 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.063, allocations: 4.031 kB / 0.8127 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/1.068, allocations: 2.03 MB / 0.8147 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/1.068, allocations: 295.3 kB / 0.815 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/1.068, allocations: 24.12 kB / 0.815 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/1.069, allocations: 54.7 kB / 0.8151 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.069, allocations: 65.12 kB / 0.8151 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.069, allocations: 43.16 kB / 0.8152 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009306/1.07, allocations: 0.5062 MB / 0.8157 GB, free: 328 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.07, allocations: 0 / 0.8157 GB, free: 328 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002342/1.073, allocations: 0.6896 MB / 0.8163 GB, free: 15.63 MB / 0.5919 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.002075/1.075, allocations: 0.8258 MB / 0.8171 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002937/1.078, allocations: 1.186 MB / 0.8183 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.078, allocations: 0 / 0.8183 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/1.08, allocations: 0.6865 MB / 0.819 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.082, allocations: 0.5321 MB / 0.8195 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/1.087, allocations: 2.184 MB / 0.8216 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/1.088, allocations: 1.039 MB / 0.8226 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001069/1.089, allocations: 373.5 kB / 0.823 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/1.089, allocations: 91.42 kB / 0.8231 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/1.089, allocations: 0 / 0.8231 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.0583/1.147, allocations: 35.61 MB / 0.8579 GB, free: 5.434 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.387858000118285]