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.001899/0.001899, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.002363/0.002363, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.188 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.2311/0.2311, allocations: 46.94 MB / 361.4 MB, free: 4.395 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.002392/0.002392, allocations: 87.86 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3277, allocations: 66.04 MB / 0.5617 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6086/0.9363, allocations: 195 MB / 0.7521 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008863/0.9451, allocations: 7.523 MB / 0.7595 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008131/0.946, allocations: 26.53 kB / 0.7595 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.9472, allocations: 451.6 kB / 0.7599 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.9534, allocations: 2.414 MB / 0.7623 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005816/0.9592, allocations: 2.374 MB / 0.7646 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003115/0.9623, allocations: 2.221 MB / 0.7668 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.9632, allocations: 0.5049 MB / 0.7673 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004698/0.9679, allocations: 1.88 MB / 0.7691 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.9694, allocations: 0.9213 MB / 0.77 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.9695, allocations: 94 kB / 0.7701 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009373/0.9789, allocations: 5.461 MB / 0.7754 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007465/0.9796, allocations: 446 kB / 0.7758 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008828/0.9805, allocations: 0.5368 MB / 0.7764 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008621/0.9892, allocations: 3.838 MB / 0.7801 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9892, allocations: 0 / 0.7801 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9892, allocations: 0 / 0.7801 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.9892, allocations: 0.8438 kB / 0.7801 GB, free: 1.172 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.004669/0.9938, allocations: 1.708 MB / 0.7818 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.9939, allocations: 11.22 kB / 0.7818 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.9944, allocations: 110.4 kB / 0.7819 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.9955, allocations: 0.56 MB / 0.7824 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.9956, allocations: 122.3 kB / 0.7826 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.9957, allocations: 66.97 kB / 0.7826 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.9974, allocations: 1.162 MB / 0.7838 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.9974, allocations: 2.906 kB / 0.7838 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.9975, allocations: 33.53 kB / 0.7838 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.9975, allocations: 60.09 kB / 0.7838 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.9993, allocations: 1.163 MB / 0.785 GB, free: 15.78 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.006475/1.006, allocations: 4.929 MB / 0.7898 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.007, allocations: 0.7874 MB / 0.7906 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/1.008, allocations: 405.1 kB / 0.791 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/1.008, allocations: 219.1 kB / 0.7912 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.008, allocations: 46.12 kB / 0.7912 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/1.008, allocations: 0 / 0.7912 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01247/1.021, allocations: 3.936 MB / 0.795 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.021, allocations: 115.4 kB / 0.7952 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/1.022, allocations: 0.6614 MB / 0.7958 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/1.022, allocations: 46.08 kB / 0.7958 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/1.022, allocations: 389.7 kB / 0.7962 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/1.023, allocations: 308.6 kB / 0.7965 GB, free: 12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/1.023, allocations: 196.8 kB / 0.7967 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.023, allocations: 393.7 kB / 0.7971 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/1.024, allocations: 496.5 kB / 0.7976 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.025, allocations: 0.7539 MB / 0.7983 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/1.028, allocations: 1.285 MB / 0.7995 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.028, allocations: 2.688 kB / 0.7995 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003444/1.031, allocations: 1.663 MB / 0.8012 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.031, allocations: 10.67 kB / 0.8012 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.031, allocations: 8.938 kB / 0.8012 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00721/1.038, allocations: 1.303 MB / 0.8025 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/1.039, allocations: 154 kB / 0.8026 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.042, allocations: 1.538 MB / 0.8041 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.043, allocations: 52.75 kB / 0.8042 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.043, allocations: 51.95 kB / 0.8042 GB, free: 9.324 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.0006282/1.043, allocations: 299.8 kB / 0.8045 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.044, allocations: 94.31 kB / 0.8046 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/1.047, allocations: 1.674 MB / 0.8062 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.047, allocations: 8.781 kB / 0.8062 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.047, allocations: 0 / 0.8062 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.047, allocations: 3.984 kB / 0.8062 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/1.052, allocations: 2.54 MB / 0.8087 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.052, allocations: 0 / 0.8087 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.053, allocations: 254.2 kB / 0.809 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/1.055, allocations: 383.4 kB / 0.8093 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.055, allocations: 31.36 kB / 0.8093 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/1.059, allocations: 2.251 MB / 0.8115 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.059, allocations: 4.906 kB / 0.8116 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004474/1.063, allocations: 2.038 MB / 0.8135 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008718/1.064, allocations: 219.2 kB / 0.8138 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/1.064, allocations: 23.98 kB / 0.8138 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.065, allocations: 51.95 kB / 0.8138 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.066, allocations: 75.84 kB / 0.8139 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.066, allocations: 43.97 kB / 0.8139 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000872/1.067, allocations: 0.499 MB / 0.8144 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.067, allocations: 0 / 0.8144 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002749/1.069, allocations: 0.6896 MB / 0.8151 GB, free: 1.594 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.002431/1.072, allocations: 0.8109 MB / 0.8159 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003183/1.075, allocations: 1.19 MB / 0.8171 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.075, allocations: 0 / 0.8171 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.077, allocations: 0.6935 MB / 0.8177 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.08, allocations: 0.5194 MB / 0.8182 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/1.085, allocations: 2.201 MB / 0.8204 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/1.086, allocations: 1.048 MB / 0.8214 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001282/1.087, allocations: 361.1 kB / 0.8218 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/1.088, allocations: 91.41 kB / 0.8218 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of SimCode: time 1.893e-06/1.088, allocations: 0 / 0.8218 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.0622/1.15, allocations: 35.89 MB / 0.8569 GB, free: 7.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 7.427350012585521]