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.00177/0.00177, allocations: 69.48 kB / 21.24 MB, free: 0.5547 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.002138/0.002138, allocations: 159.4 kB / 24.5 MB, free: 3.719 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.2105/0.2105, allocations: 34.28 MB / 295.5 MB, free: 14.55 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.003472/0.003472, allocations: 67.89 kB / 443.2 MB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3266, allocations: 66 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.214/0.5406, allocations: 168.7 MB / 0.662 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.5508, allocations: 6.831 MB / 0.6687 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000545/0.5513, allocations: 27.75 kB / 0.6687 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.5525, allocations: 413.6 kB / 0.6691 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006313/0.5588, allocations: 2.396 MB / 0.6715 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006115/0.5649, allocations: 2.368 MB / 0.6738 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.5677, allocations: 2.208 MB / 0.6759 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.5685, allocations: 0.5198 MB / 0.6764 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.5723, allocations: 1.877 MB / 0.6783 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.5737, allocations: 0.8877 MB / 0.6791 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.5739, allocations: 96 kB / 0.6792 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008149/0.582, allocations: 4.273 MB / 0.6834 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006172/0.5827, allocations: 438.9 kB / 0.6838 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007072/0.5834, allocations: 466.2 kB / 0.6843 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007295/0.5907, allocations: 3.681 MB / 0.6878 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5907, allocations: 0 / 0.6878 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5907, allocations: 4 kB / 0.6879 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.5907, allocations: 0 / 0.6879 GB, free: 1.902 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.004081/0.5948, allocations: 1.701 MB / 0.6895 GB, free: 168 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5948, allocations: 8.031 kB / 0.6895 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004409/0.5952, allocations: 119.3 kB / 0.6896 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2282/0.8235, allocations: 0.552 MB / 0.6902 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.8236, allocations: 172.5 kB / 0.6903 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.8237, allocations: 69.77 kB / 0.6904 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.8257, allocations: 1.56 MB / 0.6919 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.8257, allocations: 8.984 kB / 0.6919 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.8258, allocations: 37.27 kB / 0.692 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.981e-05/0.8259, allocations: 60.47 kB / 0.692 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.8276, allocations: 1.152 MB / 0.6932 GB, free: 166.2 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.005202/0.8328, allocations: 3.672 MB / 0.6967 GB, free: 164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.8344, allocations: 0.7928 MB / 0.6975 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.8349, allocations: 405.2 kB / 0.6979 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.8354, allocations: 216.7 kB / 0.6981 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.8355, allocations: 45.78 kB / 0.6982 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.585e-06/0.8355, allocations: 3.312 kB / 0.6982 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01217/0.8476, allocations: 3.931 MB / 0.702 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.8477, allocations: 109.5 kB / 0.7021 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.8482, allocations: 0.5455 MB / 0.7026 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.8483, allocations: 40.64 kB / 0.7027 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.8484, allocations: 408 kB / 0.7031 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.8486, allocations: 301.7 kB / 0.7033 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.8489, allocations: 197.7 kB / 0.7035 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.849, allocations: 381.6 kB / 0.7039 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/0.8498, allocations: 496.9 kB / 0.7044 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009984/0.8508, allocations: 0.7986 MB / 0.7052 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.8527, allocations: 1.281 MB / 0.7064 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8527, allocations: 6.938 kB / 0.7064 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002916/0.8556, allocations: 1.653 MB / 0.708 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8556, allocations: 9.234 kB / 0.708 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8556, allocations: 8.906 kB / 0.708 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007228/0.8629, allocations: 1.312 MB / 0.7093 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.8635, allocations: 156 kB / 0.7095 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.8659, allocations: 1.526 MB / 0.711 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.8667, allocations: 62.91 kB / 0.711 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.8668, allocations: 54.08 kB / 0.7111 GB, free: 157.7 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.0004449/0.8673, allocations: 297.2 kB / 0.7114 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.8674, allocations: 81.7 kB / 0.7114 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.8707, allocations: 1.667 MB / 0.7131 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8707, allocations: 9.953 kB / 0.7131 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8707, allocations: 1.469 kB / 0.7131 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.8708, allocations: 8.109 kB / 0.7131 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.8747, allocations: 2.275 MB / 0.7153 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.8747, allocations: 2.75 kB / 0.7153 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.876, allocations: 264.2 kB / 0.7156 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.8778, allocations: 384.2 kB / 0.7159 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.8778, allocations: 29.34 kB / 0.716 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.8799, allocations: 2.22 MB / 0.7181 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8799, allocations: 2.656 kB / 0.7181 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.8834, allocations: 2.02 MB / 0.7201 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.8838, allocations: 207.8 kB / 0.7203 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8839, allocations: 22.81 kB / 0.7203 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.8847, allocations: 57.12 kB / 0.7204 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.8849, allocations: 66.27 kB / 0.7204 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.885, allocations: 51.23 kB / 0.7205 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004414/0.8854, allocations: 392.5 kB / 0.7209 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8854, allocations: 1.062 kB / 0.7209 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001813/0.8872, allocations: 0.6916 MB / 0.7215 GB, free: 152.4 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.001585/0.8888, allocations: 0.8083 MB / 0.7223 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.8914, allocations: 1.193 MB / 0.7235 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8914, allocations: 1.062 kB / 0.7235 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.893, allocations: 0.6913 MB / 0.7242 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.895, allocations: 438.8 kB / 0.7246 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.8991, allocations: 2.154 MB / 0.7267 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.8996, allocations: 460.3 kB / 0.7271 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009095/0.9005, allocations: 347.1 kB / 0.7275 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.9007, allocations: 87.53 kB / 0.7275 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.9007, allocations: 3.938 kB / 0.7275 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.03895/0.9397, allocations: 31.33 MB / 0.7581 GB, free: 127 MB / 0.5762 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 -s ida -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: 7.043586779036559]