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.005466/0.005466, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.001393/0.001393, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.469/1.469, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2421/0.2421, allocations: 46.94 MB / 362.3 MB, free: 4.18 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.002671/0.002671, allocations: 83.86 kB / 0.4982 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3733, allocations: 66.07 MB / 0.5627 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6286/1.002, allocations: 195 MB / 0.7532 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008602/1.011, allocations: 7.52 MB / 0.7605 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009072/1.011, allocations: 31.98 kB / 0.7606 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/1.013, allocations: 451.9 kB / 0.761 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/1.019, allocations: 2.412 MB / 0.7633 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005804/1.024, allocations: 2.364 MB / 0.7657 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002864/1.027, allocations: 2.221 MB / 0.7678 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/1.028, allocations: 0.5101 MB / 0.7683 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/1.032, allocations: 1.88 MB / 0.7702 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.033, allocations: 0.9225 MB / 0.7711 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/1.033, allocations: 94.16 kB / 0.7711 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009925/1.043, allocations: 5.465 MB / 0.7765 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007129/1.044, allocations: 441.2 kB / 0.7769 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009225/1.045, allocations: 0.5295 MB / 0.7774 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.055, allocations: 3.843 MB / 0.7812 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.055, allocations: 0.5938 kB / 0.7812 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/1.055, allocations: 0.9688 kB / 0.7812 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.37e-05/1.055, allocations: 0 / 0.7812 GB, free: 1.199 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.004612/1.06, allocations: 1.706 MB / 0.7828 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.06, allocations: 10.94 kB / 0.7829 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/1.06, allocations: 117.1 kB / 0.783 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.061, allocations: 0.564 MB / 0.7835 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.061, allocations: 114.1 kB / 0.7836 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.061, allocations: 71.72 kB / 0.7837 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.063, allocations: 1.159 MB / 0.7848 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.063, allocations: 4.453 kB / 0.7848 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/1.063, allocations: 34.89 kB / 0.7849 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/1.063, allocations: 55.95 kB / 0.7849 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/1.065, allocations: 1.165 MB / 0.7861 GB, free: 15.81 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.006445/1.071, allocations: 4.925 MB / 0.7909 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.073, allocations: 0.7935 MB / 0.7916 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/1.073, allocations: 402.8 kB / 0.792 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/1.074, allocations: 215.4 kB / 0.7922 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.074, allocations: 44.19 kB / 0.7923 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/1.074, allocations: 0.8438 kB / 0.7923 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01273/1.087, allocations: 3.946 MB / 0.7961 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/1.087, allocations: 115.3 kB / 0.7962 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/1.088, allocations: 0.6628 MB / 0.7969 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.088, allocations: 43.61 kB / 0.7969 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/1.088, allocations: 385.2 kB / 0.7973 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/1.089, allocations: 309.9 kB / 0.7976 GB, free: 12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/1.089, allocations: 197.9 kB / 0.7978 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003073/1.089, allocations: 395.5 kB / 0.7982 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.09, allocations: 493.6 kB / 0.7986 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.092, allocations: 0.7573 MB / 0.7994 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/1.094, allocations: 1.285 MB / 0.8006 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.094, allocations: 2.969 kB / 0.8006 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003967/1.098, allocations: 1.663 MB / 0.8022 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/1.098, allocations: 13.28 kB / 0.8023 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.098, allocations: 8.156 kB / 0.8023 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/1.105, allocations: 1.312 MB / 0.8035 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/1.106, allocations: 160.3 kB / 0.8037 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/1.109, allocations: 1.531 MB / 0.8052 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/1.11, allocations: 51.97 kB / 0.8052 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.11, allocations: 50.73 kB / 0.8053 GB, free: 9.305 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.0005799/1.11, allocations: 295.2 kB / 0.8056 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.11, allocations: 91.89 kB / 0.8057 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/1.114, allocations: 1.679 MB / 0.8073 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.114, allocations: 11.78 kB / 0.8073 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.114, allocations: 3.984 kB / 0.8073 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.114, allocations: 3.984 kB / 0.8073 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/1.118, allocations: 2.53 MB / 0.8098 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.118, allocations: 4 kB / 0.8098 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.12, allocations: 255.5 kB / 0.81 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/1.121, allocations: 372.8 kB / 0.8104 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/1.121, allocations: 30.86 kB / 0.8104 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/1.124, allocations: 2.26 MB / 0.8126 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.124, allocations: 8.031 kB / 0.8126 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/1.128, allocations: 2.042 MB / 0.8146 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/1.129, allocations: 215.3 kB / 0.8148 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.129, allocations: 23.98 kB / 0.8149 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/1.13, allocations: 55.95 kB / 0.8149 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.13, allocations: 68.81 kB / 0.815 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.13, allocations: 43.97 kB / 0.815 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007297/1.131, allocations: 0.4951 MB / 0.8155 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 0 / 0.8155 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002254/1.133, allocations: 0.6946 MB / 0.8162 GB, free: 1.352 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.001917/1.135, allocations: 0.8127 MB / 0.817 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002898/1.138, allocations: 1.182 MB / 0.8181 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.138, allocations: 8.25 kB / 0.8181 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.14, allocations: 0.6843 MB / 0.8188 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.142, allocations: 0.5151 MB / 0.8193 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/1.147, allocations: 2.249 MB / 0.8215 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/1.148, allocations: 1.043 MB / 0.8225 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/1.148, allocations: 95.42 kB / 0.8226 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/1.148, allocations: 0 / 0.8226 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.04263/1.191, allocations: 28.7 MB / 0.8506 GB, free: 14.21 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 -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/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-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: 13.028959507821128]