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.001864/0.001864, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001458/0.001458, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.473/1.473, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2462/0.2462, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.002242/0.002242, allocations: 87.84 kB / 0.4924 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1635, allocations: 65.97 MB / 0.5568 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6346/0.7981, allocations: 194.7 MB / 0.7469 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.8094, allocations: 7.472 MB / 0.7542 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000928/0.8104, allocations: 19.88 kB / 0.7542 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.8117, allocations: 457.4 kB / 0.7547 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009283/0.821, allocations: 2.38 MB / 0.757 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008319/0.8294, allocations: 2.311 MB / 0.7593 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.8332, allocations: 2.208 MB / 0.7614 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.8344, allocations: 0.5405 MB / 0.762 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.8396, allocations: 1.846 MB / 0.7638 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.8414, allocations: 0.9228 MB / 0.7647 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.8416, allocations: 96 kB / 0.7647 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.8532, allocations: 5.393 MB / 0.77 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008169/0.8541, allocations: 434.8 kB / 0.7704 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009684/0.855, allocations: 0.5368 MB / 0.771 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.8655, allocations: 3.845 MB / 0.7747 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8655, allocations: 4 kB / 0.7747 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8655, allocations: 0 / 0.7747 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.8655, allocations: 0 / 0.7747 GB, free: 2.375 MB / 0.5762 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.00461/0.8701, allocations: 1.773 MB / 0.7764 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.8701, allocations: 12.03 kB / 0.7765 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.8706, allocations: 127.3 kB / 0.7766 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.8717, allocations: 0.6175 MB / 0.7772 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.8718, allocations: 117.4 kB / 0.7773 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.8719, allocations: 71.98 kB / 0.7774 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.8739, allocations: 1.162 MB / 0.7785 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.8739, allocations: 0 / 0.7785 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.874, allocations: 35.98 kB / 0.7785 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.786e-05/0.8741, allocations: 65.89 kB / 0.7786 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.8762, allocations: 1.159 MB / 0.7797 GB, free: 13.07 MB / 0.5919 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.007744/0.8839, allocations: 4.983 MB / 0.7846 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.8858, allocations: 0.7834 MB / 0.7854 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.8866, allocations: 404.8 kB / 0.7857 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/0.8883, allocations: 1.626 MB / 0.7873 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.8883, allocations: 39.12 kB / 0.7874 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.776e-06/0.8883, allocations: 0 / 0.7874 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01435/0.9027, allocations: 4.031 MB / 0.7913 GB, free: 464 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.9028, allocations: 111.5 kB / 0.7914 GB, free: 328 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.9039, allocations: 0.6642 MB / 0.7921 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.904, allocations: 41.7 kB / 0.7921 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.9044, allocations: 400.4 kB / 0.7925 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.9047, allocations: 301.5 kB / 0.7928 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.9051, allocations: 194.5 kB / 0.7929 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.9053, allocations: 390.7 kB / 0.7933 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.9065, allocations: 498.6 kB / 0.7938 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.908, allocations: 0.7523 MB / 0.7945 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.9104, allocations: 1.285 MB / 0.7958 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9104, allocations: 0 / 0.7958 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003897/0.9143, allocations: 1.669 MB / 0.7974 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.9143, allocations: 8 kB / 0.7974 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.9143, allocations: 8 kB / 0.7974 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007436/0.9218, allocations: 1.313 MB / 0.7987 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.9226, allocations: 155.7 kB / 0.7989 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.9256, allocations: 1.522 MB / 0.8003 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.9267, allocations: 56.02 kB / 0.8004 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.9268, allocations: 55.97 kB / 0.8005 GB, free: 6.758 MB / 0.6075 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.0006035/0.9274, allocations: 293.5 kB / 0.8007 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.9277, allocations: 87.48 kB / 0.8008 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.9313, allocations: 1.675 MB / 0.8025 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.9313, allocations: 8 kB / 0.8025 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.9314, allocations: 11.75 kB / 0.8025 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.9314, allocations: 3.984 kB / 0.8025 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/0.9367, allocations: 2.636 MB / 0.8051 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.9367, allocations: 4 kB / 0.8051 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.9381, allocations: 251.7 kB / 0.8053 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.94, allocations: 379.5 kB / 0.8057 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.9401, allocations: 27.98 kB / 0.8057 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.9436, allocations: 2.36 MB / 0.808 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9436, allocations: 4.031 kB / 0.808 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004335/0.9479, allocations: 2.029 MB / 0.81 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008421/0.9488, allocations: 296.3 kB / 0.8103 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.9489, allocations: 24 kB / 0.8103 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.9497, allocations: 55.95 kB / 0.8103 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.9499, allocations: 60.91 kB / 0.8104 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.95, allocations: 47.91 kB / 0.8104 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008016/0.9508, allocations: 0.499 MB / 0.8109 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.9508, allocations: 0 / 0.8109 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002293/0.9531, allocations: 0.6896 MB / 0.8116 GB, free: 11.01 MB / 0.6231 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.002371/0.9555, allocations: 0.8296 MB / 0.8124 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003002/0.9585, allocations: 1.179 MB / 0.8136 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.9585, allocations: 8.062 kB / 0.8136 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.9604, allocations: 0.6812 MB / 0.8142 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.9631, allocations: 0.5227 MB / 0.8147 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.9681, allocations: 2.226 MB / 0.8169 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.9689, allocations: 1.047 MB / 0.8179 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.9694, allocations: 95.42 kB / 0.818 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.9694, allocations: 3.938 kB / 0.818 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of Templates: time 0.3422/1.312, allocations: 28.72 MB / 0.8461 GB, free: 234.5 MB / 0.6387 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_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: 13.588988759089261]