Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008851/0.0008851, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004094/0.004094, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9064/0.9064, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2822/0.2822, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.452e-05, allocations: 6.281 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3664/0.3665, allocations: 168.6 MB / 0.5977 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007614/0.3741, allocations: 6.824 MB / 0.6044 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009278/0.375, allocations: 27.75 kB / 0.6044 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3763, allocations: 421.3 kB / 0.6048 GB, free: 192 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.3823, allocations: 2.454 MB / 0.6072 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006302/0.3886, allocations: 2.414 MB / 0.6096 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.3917, allocations: 2.231 MB / 0.6117 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/0.3927, allocations: 0.5133 MB / 0.6122 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.3973, allocations: 2.15 MB / 0.6143 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3987, allocations: 0.8417 MB / 0.6152 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.3989, allocations: 99.94 kB / 0.6153 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008099/0.407, allocations: 4.296 MB / 0.6195 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.4077, allocations: 458.8 kB / 0.6199 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.4084, allocations: 407.2 kB / 0.6203 GB, free: 304 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.4185, allocations: 4.103 MB / 0.6243 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4186, allocations: 4 kB / 0.6243 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.165e-06/0.4186, allocations: 0 / 0.6243 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.348e-05/0.4186, allocations: 4 kB / 0.6243 GB, free: 12.18 MB / 0.5261 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.00345/0.422, allocations: 1.693 MB / 0.626 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4221, allocations: 8.031 kB / 0.626 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.4224, allocations: 119.4 kB / 0.6261 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.4232, allocations: 0.5519 MB / 0.6266 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.4233, allocations: 172.8 kB / 0.6268 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.4234, allocations: 71.94 kB / 0.6268 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.4249, allocations: 1.56 MB / 0.6284 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.4249, allocations: 10.62 kB / 0.6284 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.425, allocations: 31.98 kB / 0.6284 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.4251, allocations: 59.09 kB / 0.6285 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.4264, allocations: 1.159 MB / 0.6296 GB, free: 6.504 MB / 0.5261 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.004395/0.4308, allocations: 3.678 MB / 0.6332 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.4318, allocations: 0.7797 MB / 0.634 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.4322, allocations: 403.4 kB / 0.6343 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.4327, allocations: 212.5 kB / 0.6345 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4327, allocations: 43.22 kB / 0.6346 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.255e-06/0.4327, allocations: 0 / 0.6346 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.219/0.6517, allocations: 3.924 MB / 0.6384 GB, free: 165 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.6518, allocations: 116.6 kB / 0.6385 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.6522, allocations: 0.5405 MB / 0.6391 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.6523, allocations: 43.36 kB / 0.6391 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.6525, allocations: 408.6 kB / 0.6395 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.6526, allocations: 298.9 kB / 0.6398 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.6528, allocations: 194.5 kB / 0.64 GB, free: 164 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.6529, allocations: 380.8 kB / 0.6403 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.6534, allocations: 493.5 kB / 0.6408 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.6541, allocations: 0.8063 MB / 0.6416 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.6553, allocations: 1.281 MB / 0.6428 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.6553, allocations: 6.812 kB / 0.6428 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002082/0.6574, allocations: 1.652 MB / 0.6444 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.6574, allocations: 10.84 kB / 0.6445 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6574, allocations: 8.688 kB / 0.6445 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003282/0.6607, allocations: 1.314 MB / 0.6457 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.6611, allocations: 153.8 kB / 0.6459 GB, free: 161.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.6625, allocations: 1.53 MB / 0.6474 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.663, allocations: 52.06 kB / 0.6474 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/0.6631, allocations: 59.98 kB / 0.6475 GB, free: 160.5 MB / 0.5261 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.000432/0.6635, allocations: 291.6 kB / 0.6478 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.6636, allocations: 82.5 kB / 0.6479 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.6655, allocations: 1.664 MB / 0.6495 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6655, allocations: 13.03 kB / 0.6495 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6655, allocations: 0 / 0.6495 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.6656, allocations: 7.219 kB / 0.6495 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.6681, allocations: 2.285 MB / 0.6517 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6681, allocations: 3.312 kB / 0.6517 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.6687, allocations: 257.6 kB / 0.652 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000819/0.6695, allocations: 381.5 kB / 0.6523 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.6696, allocations: 34.98 kB / 0.6524 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.6709, allocations: 2.223 MB / 0.6545 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6709, allocations: 3.219 kB / 0.6545 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.6731, allocations: 2.022 MB / 0.6565 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.6734, allocations: 200.4 kB / 0.6567 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.6735, allocations: 22.05 kB / 0.6567 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.6739, allocations: 51.25 kB / 0.6568 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.674, allocations: 66.81 kB / 0.6568 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.6741, allocations: 48.59 kB / 0.6569 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003241/0.6744, allocations: 387.2 kB / 0.6573 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.6744, allocations: 7.938 kB / 0.6573 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001558/0.6759, allocations: 0.6937 MB / 0.6579 GB, free: 155.3 MB / 0.5261 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.00146/0.6774, allocations: 0.8607 MB / 0.6588 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.6792, allocations: 1.189 MB / 0.6599 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6792, allocations: 2.906 kB / 0.66 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.6801, allocations: 0.6868 MB / 0.6606 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6814, allocations: 429.1 kB / 0.661 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.6855, allocations: 2.096 MB / 0.6631 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.6859, allocations: 459.7 kB / 0.6635 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.6863, allocations: 92.84 kB / 0.6636 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/0.6863, allocations: 0 / 0.6636 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.04739/0.7337, allocations: 27.94 MB / 0.6909 GB, free: 145.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 8.953557330183685]