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.001524/0.001524, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001632/0.001632, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2375/0.2375, allocations: 46.93 MB / 361.6 MB, free: 4.246 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.002346/0.002346, allocations: 67.89 kB / 0.4974 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3493, allocations: 66.02 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.568/0.9173, allocations: 195 MB / 0.7523 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007586/0.9249, allocations: 7.514 MB / 0.7597 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.9257, allocations: 29.06 kB / 0.7597 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.9269, allocations: 454.9 kB / 0.7601 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.9324, allocations: 2.413 MB / 0.7625 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005447/0.9379, allocations: 2.37 MB / 0.7648 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002598/0.9405, allocations: 2.225 MB / 0.767 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.9415, allocations: 0.5069 MB / 0.7675 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.9455, allocations: 1.879 MB / 0.7693 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.9472, allocations: 0.9173 MB / 0.7702 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.9475, allocations: 94.59 kB / 0.7703 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008919/0.9564, allocations: 5.463 MB / 0.7756 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007375/0.9571, allocations: 446.5 kB / 0.7761 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.9584, allocations: 0.532 MB / 0.7766 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.9664, allocations: 3.837 MB / 0.7803 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9664, allocations: 1 kB / 0.7803 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9664, allocations: 2.625 kB / 0.7803 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.006e-05/0.9665, allocations: 1.125 kB / 0.7803 GB, free: 1.203 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.005318/0.9718, allocations: 1.708 MB / 0.782 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9718, allocations: 9.094 kB / 0.782 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.9725, allocations: 110.4 kB / 0.7821 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.9739, allocations: 0.5623 MB / 0.7827 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.974, allocations: 171.5 kB / 0.7828 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.9742, allocations: 74.77 kB / 0.7829 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.9763, allocations: 1.156 MB / 0.784 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.9763, allocations: 5.531 kB / 0.784 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.9764, allocations: 33.77 kB / 0.7841 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.9765, allocations: 61.97 kB / 0.7841 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.9783, allocations: 1.162 MB / 0.7852 GB, free: 15.76 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.007416/0.9857, allocations: 4.924 MB / 0.7901 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.9873, allocations: 0.7924 MB / 0.7908 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.9879, allocations: 409.1 kB / 0.7912 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/0.9886, allocations: 220 kB / 0.7914 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.9886, allocations: 45.11 kB / 0.7915 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.717e-06/0.9886, allocations: 0.8438 kB / 0.7915 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.013/1.002, allocations: 3.942 MB / 0.7953 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/1.002, allocations: 115 kB / 0.7954 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/1.003, allocations: 0.6599 MB / 0.7961 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.003, allocations: 44.2 kB / 0.7961 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/1.003, allocations: 392.9 kB / 0.7965 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/1.004, allocations: 301.8 kB / 0.7968 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.004, allocations: 204.3 kB / 0.797 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.004, allocations: 391.1 kB / 0.7974 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/1.005, allocations: 495.4 kB / 0.7978 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.006, allocations: 0.759 MB / 0.7986 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/1.009, allocations: 1.287 MB / 0.7998 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/1.009, allocations: 3.125 kB / 0.7998 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0035/1.012, allocations: 1.664 MB / 0.8014 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.012, allocations: 10.41 kB / 0.8015 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.012, allocations: 9.531 kB / 0.8015 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006984/1.019, allocations: 1.303 MB / 0.8027 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/1.02, allocations: 158 kB / 0.8029 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/1.023, allocations: 1.538 MB / 0.8044 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.024, allocations: 50.91 kB / 0.8044 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.024, allocations: 51.7 kB / 0.8045 GB, free: 9.281 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.0006365/1.025, allocations: 296.2 kB / 0.8048 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/1.025, allocations: 94.33 kB / 0.8049 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/1.028, allocations: 1.672 MB / 0.8065 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.028, allocations: 15.45 kB / 0.8065 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.028, allocations: 0 / 0.8065 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.028, allocations: 10.2 kB / 0.8065 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/1.033, allocations: 2.523 MB / 0.809 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.033, allocations: 4 kB / 0.809 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.035, allocations: 256.4 kB / 0.8092 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/1.036, allocations: 385 kB / 0.8096 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.037, allocations: 29.3 kB / 0.8096 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/1.039, allocations: 2.25 MB / 0.8118 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.039, allocations: 4.031 kB / 0.8118 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/1.044, allocations: 2.043 MB / 0.8138 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/1.044, allocations: 211.3 kB / 0.814 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/1.045, allocations: 23.98 kB / 0.814 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/1.046, allocations: 56.05 kB / 0.8141 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.046, allocations: 72.8 kB / 0.8142 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.046, allocations: 43.97 kB / 0.8142 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000791/1.047, allocations: 0.4999 MB / 0.8147 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.047, allocations: 0 / 0.8147 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002415/1.049, allocations: 0.6935 MB / 0.8154 GB, free: 1.484 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.002611/1.052, allocations: 0.8207 MB / 0.8162 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003236/1.055, allocations: 1.183 MB / 0.8173 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.055, allocations: 8.062 kB / 0.8173 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.057, allocations: 0.6804 MB / 0.818 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.059, allocations: 0.5009 MB / 0.8185 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/1.065, allocations: 2.258 MB / 0.8207 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/1.066, allocations: 1.043 MB / 0.8217 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/1.066, allocations: 95.42 kB / 0.8218 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/1.066, allocations: 0 / 0.8218 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.04542/1.111, allocations: 28.69 MB / 0.8498 GB, free: 14.37 MB / 0.6231 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 -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: 12.783147522015497]