Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001327/0.001327, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001409/0.001409, allocations: 164.1 kB / 24.49 MB, free: 3.453 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.453/1.453, allocations: 177.2 MB / 204.9 MB, free: 9.074 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 32.81 MB / 294.1 MB, free: 76 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.91 kB / 440.6 MB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3449, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2174/0.5623, allocations: 168.7 MB / 0.6589 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.5729, allocations: 6.835 MB / 0.6656 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.5735, allocations: 27.75 kB / 0.6656 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.5748, allocations: 417.6 kB / 0.666 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00637/0.5811, allocations: 2.398 MB / 0.6684 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006861/0.588, allocations: 2.352 MB / 0.6707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002959/0.591, allocations: 2.216 MB / 0.6728 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/0.5918, allocations: 0.5134 MB / 0.6733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004334/0.5962, allocations: 1.874 MB / 0.6752 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.5976, allocations: 0.8994 MB / 0.6761 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.5978, allocations: 96 kB / 0.6761 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008599/0.6064, allocations: 4.27 MB / 0.6803 GB, free: 9.836 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.607, allocations: 442.8 kB / 0.6807 GB, free: 9.402 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0006714/0.6077, allocations: 466.2 kB / 0.6812 GB, free: 8.945 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.00652/0.6142, allocations: 3.681 MB / 0.6848 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6142, allocations: 8 kB / 0.6848 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6142, allocations: 0 / 0.6848 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.6142, allocations: 0 / 0.6848 GB, free: 5.246 MB / 0.5763 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.004021/0.6182, allocations: 1.689 MB / 0.6864 GB, free: 3.52 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6183, allocations: 8.031 kB / 0.6864 GB, free: 3.512 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.6187, allocations: 123.3 kB / 0.6866 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.6198, allocations: 0.5596 MB / 0.6871 GB, free: 2.801 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.62, allocations: 168.8 kB / 0.6873 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.6201, allocations: 68 kB / 0.6873 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.6224, allocations: 1.568 MB / 0.6889 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6225, allocations: 3.938 kB / 0.6889 GB, free: 0.8203 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6226, allocations: 35.92 kB / 0.6889 GB, free: 0.7852 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.838e-05/0.6226, allocations: 61.97 kB / 0.689 GB, free: 0.7227 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2628/0.8854, allocations: 1.148 MB / 0.6901 GB, free: 168.9 MB / 0.5763 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.00577/0.8912, allocations: 3.668 MB / 0.6937 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.8928, allocations: 0.7807 MB / 0.6944 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.8934, allocations: 401.4 kB / 0.6948 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.8941, allocations: 217.6 kB / 0.695 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.8942, allocations: 40.72 kB / 0.6951 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=70): time 3.637e-06/0.8942, allocations: 10.39 kB / 0.6951 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=82): time 0.0127/0.9069, allocations: 3.938 MB / 0.6989 GB, free: 165 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.9069, allocations: 112.4 kB / 0.699 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.9074, allocations: 0.5395 MB / 0.6995 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.9075, allocations: 43.98 kB / 0.6996 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.9077, allocations: 402.2 kB / 0.7 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.9079, allocations: 305.3 kB / 0.7003 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.9081, allocations: 197.6 kB / 0.7005 GB, free: 164 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.9082, allocations: 379.9 kB / 0.7008 GB, free: 163.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008714/0.9091, allocations: 499.8 kB / 0.7013 GB, free: 163.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/0.9101, allocations: 0.8086 MB / 0.7021 GB, free: 163 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.9122, allocations: 1.284 MB / 0.7033 GB, free: 162.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.9122, allocations: 7.375 kB / 0.7033 GB, free: 162.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003347/0.9156, allocations: 1.648 MB / 0.705 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.9156, allocations: 12.09 kB / 0.705 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9156, allocations: 6.062 kB / 0.705 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007063/0.9227, allocations: 1.309 MB / 0.7062 GB, free: 161.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.9233, allocations: 157.9 kB / 0.7064 GB, free: 161.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.9257, allocations: 1.528 MB / 0.7079 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.9265, allocations: 56.45 kB / 0.7079 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.9267, allocations: 53.73 kB / 0.708 GB, free: 160.5 MB / 0.5763 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.0004858/0.9271, allocations: 295.1 kB / 0.7083 GB, free: 160.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.9274, allocations: 78.41 kB / 0.7084 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.9308, allocations: 1.667 MB / 0.71 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.9308, allocations: 11.84 kB / 0.71 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.9308, allocations: 3.938 kB / 0.71 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9308, allocations: 4.641 kB / 0.71 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.9354, allocations: 2.283 MB / 0.7122 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.9354, allocations: 1.562 kB / 0.7122 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.9368, allocations: 255.1 kB / 0.7125 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.9386, allocations: 382.1 kB / 0.7128 GB, free: 158.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.9387, allocations: 30.66 kB / 0.7129 GB, free: 158.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.9412, allocations: 2.232 MB / 0.715 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.9412, allocations: 2.281 kB / 0.715 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.9456, allocations: 2.024 MB / 0.717 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.9462, allocations: 203.5 kB / 0.7172 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.9464, allocations: 28.36 kB / 0.7172 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/0.9473, allocations: 51.03 kB / 0.7173 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.9475, allocations: 62.61 kB / 0.7174 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.9477, allocations: 45.64 kB / 0.7174 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00065/0.9484, allocations: 387 kB / 0.7178 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9484, allocations: 0 / 0.7178 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.002141/0.9505, allocations: 0.69 MB / 0.7184 GB, free: 155.2 MB / 0.5763 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.002247/0.9527, allocations: 0.8224 MB / 0.7192 GB, free: 154.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.9556, allocations: 1.19 MB / 0.7204 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.9556, allocations: 1.375 kB / 0.7204 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.9574, allocations: 0.698 MB / 0.7211 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.9597, allocations: 438.2 kB / 0.7215 GB, free: 154.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.9644, allocations: 2.163 MB / 0.7236 GB, free: 153.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.965, allocations: 452 kB / 0.724 GB, free: 153 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001074/0.9661, allocations: 351.8 kB / 0.7244 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.9664, allocations: 90.81 kB / 0.7245 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of SimCode: time 9.22e-07/0.9664, allocations: 0 / 0.7245 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.04458/1.011, allocations: 31.34 MB / 0.7551 GB, free: 133.2 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.19241387094371]