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.001343/0.001343, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001414/0.001414, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2379/0.2379, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.002162/0.002162, allocations: 71.89 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3511, allocations: 66.02 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2344/0.5854, allocations: 168.7 MB / 0.7259 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.5963, allocations: 6.827 MB / 0.7325 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/0.5971, allocations: 31.75 kB / 0.7326 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.5986, allocations: 409.5 kB / 0.733 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00713/0.6057, allocations: 2.407 MB / 0.7353 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3631/0.9687, allocations: 2.343 MB / 0.7376 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.9728, allocations: 2.206 MB / 0.7397 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.9739, allocations: 0.5097 MB / 0.7402 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.9791, allocations: 1.88 MB / 0.7421 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.9809, allocations: 0.8948 MB / 0.743 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.9811, allocations: 96.5 kB / 0.743 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008561/0.9896, allocations: 4.267 MB / 0.7472 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00079/0.9904, allocations: 443.5 kB / 0.7476 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009587/0.9914, allocations: 462.7 kB / 0.7481 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008492/0.9999, allocations: 3.68 MB / 0.7517 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9999, allocations: 0 / 0.7517 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9999, allocations: 0 / 0.7517 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.9999, allocations: 0.875 kB / 0.7517 GB, free: 3.121 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.005482/1.005, allocations: 1.697 MB / 0.7533 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.184e-05/1.005, allocations: 12.09 kB / 0.7533 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/1.006, allocations: 117.8 kB / 0.7535 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/1.008, allocations: 0.5615 MB / 0.754 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/1.008, allocations: 164.8 kB / 0.7542 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/1.008, allocations: 74.17 kB / 0.7542 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/1.01, allocations: 1.567 MB / 0.7558 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/1.011, allocations: 3.953 kB / 0.7558 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.011, allocations: 33.95 kB / 0.7558 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/1.011, allocations: 65.89 kB / 0.7559 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/1.012, allocations: 1.15 MB / 0.757 GB, free: 17.19 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.006003/1.018, allocations: 3.668 MB / 0.7606 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/1.02, allocations: 0.7908 MB / 0.7613 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/1.021, allocations: 410.8 kB / 0.7617 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/1.021, allocations: 208.4 kB / 0.7619 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/1.021, allocations: 46.78 kB / 0.762 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.996e-06/1.021, allocations: 0.875 kB / 0.762 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01256/1.034, allocations: 3.944 MB / 0.7658 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/1.034, allocations: 113.8 kB / 0.7659 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/1.035, allocations: 0.5361 MB / 0.7665 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/1.035, allocations: 44.83 kB / 0.7665 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/1.035, allocations: 406.1 kB / 0.7669 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/1.035, allocations: 310.9 kB / 0.7672 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/1.035, allocations: 193.7 kB / 0.7674 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.036, allocations: 383.6 kB / 0.7677 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/1.037, allocations: 496.6 kB / 0.7682 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.038, allocations: 0.8047 MB / 0.769 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/1.039, allocations: 1.283 MB / 0.7702 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/1.039, allocations: 2.906 kB / 0.7702 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003154/1.043, allocations: 1.649 MB / 0.7719 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.043, allocations: 8.656 kB / 0.7719 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.043, allocations: 17 kB / 0.7719 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006794/1.049, allocations: 1.302 MB / 0.7732 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/1.05, allocations: 159 kB / 0.7733 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/1.053, allocations: 1.534 MB / 0.7748 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/1.054, allocations: 48.25 kB / 0.7748 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.054, allocations: 63.86 kB / 0.7749 GB, free: 12.94 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.0005524/1.054, allocations: 292.8 kB / 0.7752 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.055, allocations: 76.31 kB / 0.7753 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.058, allocations: 1.668 MB / 0.7769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.058, allocations: 8.656 kB / 0.7769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.058, allocations: 0 / 0.7769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.058, allocations: 7.062 kB / 0.7769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/1.062, allocations: 2.273 MB / 0.7791 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.062, allocations: 2.531 kB / 0.7791 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.063, allocations: 261.1 kB / 0.7794 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/1.065, allocations: 386.5 kB / 0.7797 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/1.065, allocations: 37.08 kB / 0.7798 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/1.067, allocations: 2.217 MB / 0.7819 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.067, allocations: 8.766 kB / 0.782 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/1.071, allocations: 2.02 MB / 0.7839 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/1.072, allocations: 202.9 kB / 0.7841 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.072, allocations: 25.42 kB / 0.7841 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/1.073, allocations: 57.02 kB / 0.7842 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.073, allocations: 67.75 kB / 0.7843 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/1.073, allocations: 45.64 kB / 0.7843 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005391/1.074, allocations: 385.6 kB / 0.7847 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.074, allocations: 2.125 kB / 0.7847 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002156/1.076, allocations: 0.6894 MB / 0.7854 GB, free: 10.02 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.001829/1.078, allocations: 0.8052 MB / 0.7861 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002711/1.08, allocations: 1.194 MB / 0.7873 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.08, allocations: 0 / 0.7873 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/1.082, allocations: 0.6942 MB / 0.788 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.084, allocations: 442.3 kB / 0.7884 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/1.089, allocations: 2.154 MB / 0.7905 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.089, allocations: 454.7 kB / 0.7909 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001078/1.09, allocations: 352 kB / 0.7913 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.091, allocations: 88.08 kB / 0.7914 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/1.091, allocations: 0 / 0.7914 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.05196/1.143, allocations: 32.67 MB / 0.8233 GB, free: 1.285 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/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_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.5211928598582745]