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.001251/0.001251, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002053/0.002053, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2571/0.2571, allocations: 46.91 MB / 357.8 MB, free: 10.32 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.001984/0.001984, allocations: 75.81 kB / 0.4921 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1539, allocations: 65.99 MB / 0.5565 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6063/0.7601, allocations: 194.7 MB / 0.7466 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.7715, allocations: 7.466 MB / 0.7539 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009501/0.7725, allocations: 27.75 kB / 0.754 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.7738, allocations: 461.5 kB / 0.7544 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00669/0.7805, allocations: 2.384 MB / 0.7567 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.7875, allocations: 2.3 MB / 0.759 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.7913, allocations: 2.204 MB / 0.7611 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.7925, allocations: 0.5366 MB / 0.7616 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005968/0.7984, allocations: 1.865 MB / 0.7635 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.8002, allocations: 0.9189 MB / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.8005, allocations: 96 kB / 0.7645 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.8114, allocations: 5.389 MB / 0.7697 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.8122, allocations: 434.8 kB / 0.7701 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00093/0.8132, allocations: 0.529 MB / 0.7707 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.8239, allocations: 3.856 MB / 0.7744 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.8239, allocations: 0 / 0.7744 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8239, allocations: 4 kB / 0.7744 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.8239, allocations: 0 / 0.7744 GB, free: 1.777 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.004949/0.8289, allocations: 1.769 MB / 0.7761 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.8289, allocations: 8.031 kB / 0.7762 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.8294, allocations: 123.3 kB / 0.7763 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.8305, allocations: 0.6213 MB / 0.7769 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.8306, allocations: 117.4 kB / 0.777 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.8308, allocations: 67.98 kB / 0.7771 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.8328, allocations: 1.158 MB / 0.7782 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.8329, allocations: 7.938 kB / 0.7782 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.833, allocations: 28 kB / 0.7782 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.625e-05/0.8331, allocations: 61.91 kB / 0.7783 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.8351, allocations: 1.159 MB / 0.7794 GB, free: 12.5 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.007482/0.8426, allocations: 4.976 MB / 0.7843 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.8444, allocations: 0.7873 MB / 0.785 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.8451, allocations: 409 kB / 0.7854 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001707/0.8468, allocations: 1.622 MB / 0.787 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.8468, allocations: 48.62 kB / 0.7871 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.315e-06/0.8468, allocations: 0 / 0.7871 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01449/0.8613, allocations: 4.021 MB / 0.791 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.8614, allocations: 115.4 kB / 0.7911 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.8623, allocations: 0.6641 MB / 0.7917 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.8625, allocations: 41.7 kB / 0.7918 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.8628, allocations: 404.4 kB / 0.7922 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.8631, allocations: 305.4 kB / 0.7925 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.8634, allocations: 194.5 kB / 0.7927 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002295/0.8637, allocations: 390.7 kB / 0.793 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.8648, allocations: 497.7 kB / 0.7935 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.8661, allocations: 0.7523 MB / 0.7942 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.8686, allocations: 1.285 MB / 0.7955 GB, free: 11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8686, allocations: 0 / 0.7955 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00375/0.8724, allocations: 1.661 MB / 0.7971 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.8724, allocations: 8.594 kB / 0.7971 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8724, allocations: 12 kB / 0.7971 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007543/0.8799, allocations: 1.312 MB / 0.7984 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.8807, allocations: 151.7 kB / 0.7986 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.8837, allocations: 1.522 MB / 0.8 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009706/0.8846, allocations: 59.95 kB / 0.8001 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.8848, allocations: 59.97 kB / 0.8002 GB, free: 6.172 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.000565/0.8853, allocations: 291.7 kB / 0.8004 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.8856, allocations: 87.48 kB / 0.8005 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.8893, allocations: 1.687 MB / 0.8022 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.8893, allocations: 8 kB / 0.8022 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8893, allocations: 7.938 kB / 0.8022 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.8893, allocations: 3.984 kB / 0.8022 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.8942, allocations: 2.624 MB / 0.8047 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.8942, allocations: 4 kB / 0.8048 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.8955, allocations: 255.9 kB / 0.805 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.8974, allocations: 376.3 kB / 0.8054 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.8975, allocations: 31.98 kB / 0.8054 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.9005, allocations: 2.345 MB / 0.8077 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.9005, allocations: 16.02 kB / 0.8077 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.9048, allocations: 2.033 MB / 0.8097 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.9054, allocations: 288.4 kB / 0.8099 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.9056, allocations: 31.92 kB / 0.81 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/0.9064, allocations: 47.95 kB / 0.81 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.9065, allocations: 64.91 kB / 0.8101 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.9067, allocations: 51.91 kB / 0.8101 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000728/0.9074, allocations: 0.4951 MB / 0.8106 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9074, allocations: 0 / 0.8106 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002286/0.9097, allocations: 0.6896 MB / 0.8113 GB, free: 10.43 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.002042/0.9117, allocations: 0.807 MB / 0.8121 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.9146, allocations: 1.186 MB / 0.8132 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9146, allocations: 0 / 0.8132 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.9165, allocations: 0.686 MB / 0.8139 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.9191, allocations: 0.5251 MB / 0.8144 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.924, allocations: 2.222 MB / 0.8166 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.9248, allocations: 1.039 MB / 0.8176 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.9252, allocations: 99.41 kB / 0.8177 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.9252, allocations: 4 kB / 0.8177 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of Templates: time 0.322/1.247, allocations: 28.69 MB / 0.8457 GB, free: 234.1 MB / 0.6387 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.653816948004533]