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.001648/0.001648, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002125/0.002125, allocations: 210.9 kB / 24.48 MB, free: 3.938 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.3058/0.3058, allocations: 46.96 MB / 361.6 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 179] 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.002255/0.002255, allocations: 67.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3611, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2323/0.5934, allocations: 168.7 MB / 0.7266 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.606, allocations: 6.823 MB / 0.7333 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.6072, allocations: 31.69 kB / 0.7333 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.6089, allocations: 405.6 kB / 0.7337 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.6169, allocations: 2.411 MB / 0.736 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3687/0.9856, allocations: 2.356 MB / 0.7383 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.9891, allocations: 2.214 MB / 0.7405 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.99, allocations: 0.5105 MB / 0.741 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.9945, allocations: 1.88 MB / 0.7428 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.9964, allocations: 0.9197 MB / 0.7437 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.9966, allocations: 98.94 kB / 0.7438 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007816/1.004, allocations: 4.399 MB / 0.7481 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007957/1.005, allocations: 440.6 kB / 0.7485 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009367/1.006, allocations: 469.3 kB / 0.749 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/1.016, allocations: 3.679 MB / 0.7526 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.016, allocations: 1 kB / 0.7526 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/1.016, allocations: 0 / 0.7526 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.671e-05/1.016, allocations: 0 / 0.7526 GB, free: 3.09 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.004672/1.021, allocations: 1.698 MB / 0.7542 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.021, allocations: 9.312 kB / 0.7543 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/1.022, allocations: 115.1 kB / 0.7544 GB, free: 18.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/1.023, allocations: 0.5583 MB / 0.7549 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.023, allocations: 171.2 kB / 0.7551 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.023, allocations: 76.83 kB / 0.7551 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.025, allocations: 1.563 MB / 0.7567 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/1.025, allocations: 3.953 kB / 0.7567 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.865e-05/1.025, allocations: 37.98 kB / 0.7567 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/1.025, allocations: 58.33 kB / 0.7568 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.027, allocations: 1.154 MB / 0.7579 GB, free: 17.16 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.006062/1.033, allocations: 3.673 MB / 0.7615 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/1.034, allocations: 0.7895 MB / 0.7623 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/1.035, allocations: 408.9 kB / 0.7626 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/1.035, allocations: 215.3 kB / 0.7628 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/1.036, allocations: 43.69 kB / 0.7629 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.527e-06/1.036, allocations: 0.9062 kB / 0.7629 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01335/1.049, allocations: 3.929 MB / 0.7667 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.049, allocations: 117.4 kB / 0.7668 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/1.05, allocations: 0.5422 MB / 0.7674 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.05, allocations: 41.52 kB / 0.7674 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.05, allocations: 409.9 kB / 0.7678 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/1.05, allocations: 302.7 kB / 0.7681 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/1.05, allocations: 196 kB / 0.7683 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.051, allocations: 382.9 kB / 0.7686 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000881/1.052, allocations: 492.1 kB / 0.7691 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.053, allocations: 0.8055 MB / 0.7699 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/1.055, allocations: 1.281 MB / 0.7711 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/1.055, allocations: 2.781 kB / 0.7711 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003236/1.058, allocations: 1.647 MB / 0.7728 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.058, allocations: 8.5 kB / 0.7728 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.058, allocations: 20.84 kB / 0.7728 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007306/1.065, allocations: 1.3 MB / 0.7741 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/1.066, allocations: 157.2 kB / 0.7742 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/1.069, allocations: 1.533 MB / 0.7757 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.07, allocations: 55.89 kB / 0.7758 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.07, allocations: 51.78 kB / 0.7758 GB, free: 12.93 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.0006168/1.07, allocations: 302.7 kB / 0.7761 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/1.071, allocations: 79.25 kB / 0.7762 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/1.074, allocations: 1.662 MB / 0.7778 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.074, allocations: 8.281 kB / 0.7778 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.074, allocations: 0.6875 kB / 0.7778 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.074, allocations: 6.734 kB / 0.7778 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/1.078, allocations: 2.283 MB / 0.78 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.078, allocations: 3.5 kB / 0.78 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.079, allocations: 258 kB / 0.7803 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.081, allocations: 379.7 kB / 0.7806 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.431e-05/1.081, allocations: 35.53 kB / 0.7807 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/1.084, allocations: 2.231 MB / 0.7829 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.084, allocations: 7.312 kB / 0.7829 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/1.088, allocations: 2.023 MB / 0.7848 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/1.088, allocations: 202.9 kB / 0.785 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/1.088, allocations: 24.11 kB / 0.7851 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/1.089, allocations: 52.11 kB / 0.7851 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.089, allocations: 72.23 kB / 0.7852 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.089, allocations: 47.19 kB / 0.7852 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004924/1.09, allocations: 388.1 kB / 0.7856 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.09, allocations: 0.75 kB / 0.7856 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002218/1.092, allocations: 0.6882 MB / 0.7863 GB, free: 9.988 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.002014/1.094, allocations: 0.806 MB / 0.7871 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002755/1.097, allocations: 1.186 MB / 0.7882 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.097, allocations: 2.438 kB / 0.7882 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.099, allocations: 0.6804 MB / 0.7889 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.101, allocations: 427.7 kB / 0.7893 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/1.106, allocations: 2.229 MB / 0.7915 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/1.106, allocations: 455.3 kB / 0.7919 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/1.107, allocations: 93.95 kB / 0.792 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of SimCode: time 1.854e-06/1.107, allocations: 0 / 0.792 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of Templates: time 0.04275/1.15, allocations: 27.65 MB / 0.819 GB, free: 6.273 MB / 0.5919 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: 13.136197276995517]