Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001538/0.001538, 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.001618/0.001618, allocations: 212.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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2347/0.2347, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003198/0.003198, allocations: 67.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3545, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2099/0.5645, allocations: 154.6 MB / 0.7121 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009056/0.5735, allocations: 4.928 MB / 0.7169 GB, free: 3.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.5745, allocations: 27.75 kB / 0.7169 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.5758, allocations: 306 kB / 0.7172 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.5803, allocations: 1.367 MB / 0.7186 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.584, allocations: 1.067 MB / 0.7196 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.587, allocations: 1.864 MB / 0.7214 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.5881, allocations: 393.6 kB / 0.7218 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.5911, allocations: 1.117 MB / 0.7229 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.593, allocations: 0.7705 MB / 0.7237 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.5932, allocations: 60 kB / 0.7237 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.5951, allocations: 0.5462 MB / 0.7242 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006524/0.5958, allocations: 279.2 kB / 0.7245 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.5971, allocations: 330.6 kB / 0.7248 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.6007, allocations: 1.308 MB / 0.7261 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6007, allocations: 0 / 0.7261 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6007, allocations: 0 / 0.7261 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.751e-05/0.6007, allocations: 0 / 0.7261 GB, free: 10.57 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003163/0.6039, allocations: 1.045 MB / 0.7271 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6039, allocations: 8.031 kB / 0.7271 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.605, allocations: 147.3 kB / 0.7273 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.6062, allocations: 481.5 kB / 0.7277 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.6064, allocations: 151.8 kB / 0.7279 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.6065, allocations: 51.94 kB / 0.7279 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.6083, allocations: 1.144 MB / 0.729 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.6084, allocations: 0 / 0.729 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.6085, allocations: 31.92 kB / 0.7291 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.939e-05/0.6085, allocations: 36.98 kB / 0.7291 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.6098, allocations: 0.6204 MB / 0.7297 GB, free: 6.625 MB / 0.5606 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.004854/0.6147, allocations: 3.212 MB / 0.7329 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.6153, allocations: 335.6 kB / 0.7332 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.6156, allocations: 161.3 kB / 0.7333 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.6157, allocations: 20.27 kB / 0.7333 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6157, allocations: 38.84 kB / 0.7334 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.6157, allocations: 0 / 0.7334 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006199/0.6219, allocations: 1.601 MB / 0.7349 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.622, allocations: 136.5 kB / 0.7351 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.6228, allocations: 0.526 MB / 0.7356 GB, free: 388 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.6229, allocations: 33.7 kB / 0.7356 GB, free: 348 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2953/0.9182, allocations: 383.9 kB / 0.736 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.9184, allocations: 151.3 kB / 0.7361 GB, free: 176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.9187, allocations: 154.8 kB / 0.7363 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9188, allocations: 365.9 kB / 0.7366 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.9193, allocations: 203.7 kB / 0.7368 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.92, allocations: 0.5934 MB / 0.7374 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.9213, allocations: 0.7485 MB / 0.7381 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.9213, allocations: 2.812 kB / 0.7381 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002707/0.924, allocations: 0.875 MB / 0.739 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/0.9241, allocations: 12.59 kB / 0.739 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.9241, allocations: 10.02 kB / 0.739 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.9259, allocations: 311.6 kB / 0.7393 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.9264, allocations: 126.3 kB / 0.7394 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.9275, allocations: 0.9378 MB / 0.7403 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.9281, allocations: 31.22 kB / 0.7404 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/0.9282, allocations: 63.12 kB / 0.7404 GB, free: 173.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004466/0.9286, allocations: 253.4 kB / 0.7407 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.9288, allocations: 61.84 kB / 0.7407 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.9304, allocations: 0.8587 MB / 0.7416 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9304, allocations: 3.781 kB / 0.7416 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9304, allocations: 6.125 kB / 0.7416 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.9304, allocations: 2.016 kB / 0.7416 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.9322, allocations: 1.093 MB / 0.7427 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9322, allocations: 0.875 kB / 0.7427 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/0.9331, allocations: 213.4 kB / 0.7429 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-05/0.9332, allocations: 21.55 kB / 0.7429 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.9333, allocations: 23.61 kB / 0.7429 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.9346, allocations: 2.631 MB / 0.7455 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9346, allocations: 4.031 kB / 0.7455 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.9355, allocations: 0.8127 MB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.9357, allocations: 105.5 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.9358, allocations: 12 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.9362, allocations: 15.84 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.9363, allocations: 42.09 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.9363, allocations: 50.48 kB / 0.7465 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003455/0.9367, allocations: 360.1 kB / 0.7468 GB, free: 168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9367, allocations: 0 / 0.7468 GB, free: 168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008512/0.9375, allocations: 253.4 kB / 0.7471 GB, free: 167.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005613/0.9381, allocations: 282.5 kB / 0.7473 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00099/0.9391, allocations: 0.5251 MB / 0.7479 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9391, allocations: 7.938 kB / 0.7479 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.9399, allocations: 410 kB / 0.7483 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.9412, allocations: 294.4 kB / 0.7485 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.9429, allocations: 1.339 MB / 0.7498 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.9432, allocations: 328.3 kB / 0.7502 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008172/0.944, allocations: 458.3 kB / 0.7506 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.9443, allocations: 111.3 kB / 0.7507 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.9443, allocations: 0 / 0.7507 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02108/0.9653, allocations: 16.71 MB / 0.767 GB, free: 147.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 6.579521568492055]