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.001343/0.001343, allocations: 116.1 kB / 18.46 MB, free: 4.609 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.001433/0.001433, allocations: 216.3 kB / 21.42 MB, free: 1.652 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.46/1.46, 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.2278/0.2278, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.002143/0.002143, allocations: 63.91 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 65.99 MB / 0.5565 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4788/0.6128, allocations: 178.7 MB / 0.7311 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007877/0.6206, allocations: 5.349 MB / 0.7363 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.6214, allocations: 27.75 kB / 0.7363 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.6224, allocations: 322 kB / 0.7366 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.6261, allocations: 1.366 MB / 0.738 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.6292, allocations: 1.054 MB / 0.739 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.6326, allocations: 1.856 MB / 0.7408 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000792/0.6334, allocations: 414.1 kB / 0.7412 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.636, allocations: 1.094 MB / 0.7423 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.6377, allocations: 0.8017 MB / 0.7431 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.6378, allocations: 60 kB / 0.7431 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.6394, allocations: 0.6371 MB / 0.7437 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.6398, allocations: 263.2 kB / 0.744 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005868/0.6404, allocations: 402.2 kB / 0.7444 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.6425, allocations: 1.304 MB / 0.7456 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6425, allocations: 0 / 0.7456 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6425, allocations: 4 kB / 0.7457 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.6425, allocations: 0 / 0.7457 GB, free: 15.36 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.002626/0.6452, allocations: 1.124 MB / 0.7468 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6452, allocations: 8.031 kB / 0.7468 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009059/0.6461, allocations: 143.4 kB / 0.7469 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.6471, allocations: 0.5319 MB / 0.7474 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.6472, allocations: 96.41 kB / 0.7475 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6473, allocations: 52 kB / 0.7476 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.6487, allocations: 0.8175 MB / 0.7484 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6487, allocations: 3.938 kB / 0.7484 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.6488, allocations: 20 kB / 0.7484 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.6489, allocations: 44.92 kB / 0.7484 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.65, allocations: 0.6243 MB / 0.749 GB, free: 11.72 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.00505/0.655, allocations: 3.933 MB / 0.7529 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.6557, allocations: 345.8 kB / 0.7532 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.656, allocations: 166.2 kB / 0.7534 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.6561, allocations: 89.38 kB / 0.7534 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.6562, allocations: 38.84 kB / 0.7535 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.6562, allocations: 0 / 0.7535 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006144/0.6623, allocations: 1.685 MB / 0.7551 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.6624, allocations: 132.5 kB / 0.7553 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/0.6632, allocations: 0.6172 MB / 0.7559 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.6633, allocations: 41.7 kB / 0.7559 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.6636, allocations: 375.8 kB / 0.7563 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.6638, allocations: 146.7 kB / 0.7564 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.664, allocations: 158.6 kB / 0.7565 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.6642, allocations: 378.7 kB / 0.7569 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.6646, allocations: 205.9 kB / 0.7571 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.6653, allocations: 0.5125 MB / 0.7576 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6664, allocations: 0.7477 MB / 0.7583 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6664, allocations: 3.938 kB / 0.7583 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001659/0.668, allocations: 0.8835 MB / 0.7592 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.6681, allocations: 12 kB / 0.7592 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6681, allocations: 8.844 kB / 0.7592 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.6695, allocations: 318.5 kB / 0.7595 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.6699, allocations: 123.6 kB / 0.7596 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.6712, allocations: 0.934 MB / 0.7606 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.6717, allocations: 20 kB / 0.7606 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.6718, allocations: 71.98 kB / 0.7606 GB, free: 15.09 MB / 0.5762 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.0004089/0.6722, allocations: 249.5 kB / 0.7609 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6724, allocations: 71.58 kB / 0.7609 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.6741, allocations: 0.8595 MB / 0.7618 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6741, allocations: 4 kB / 0.7618 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6741, allocations: 0 / 0.7618 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.6741, allocations: 3.984 kB / 0.7618 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.6765, allocations: 1.458 MB / 0.7632 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6765, allocations: 4 kB / 0.7632 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.6776, allocations: 211.9 kB / 0.7634 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.6777, allocations: 24.84 kB / 0.7634 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.6777, allocations: 24.73 kB / 0.7635 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.6801, allocations: 2.879 MB / 0.7663 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6801, allocations: 0 / 0.7663 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.6816, allocations: 0.823 MB / 0.7671 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.6819, allocations: 188.6 kB / 0.7673 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.682, allocations: 11.98 kB / 0.7673 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.6824, allocations: 16 kB / 0.7673 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6825, allocations: 43.95 kB / 0.7673 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.6826, allocations: 43.98 kB / 0.7674 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005927/0.6832, allocations: 439 kB / 0.7678 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6832, allocations: 3.938 kB / 0.7678 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009889/0.6842, allocations: 259.7 kB / 0.768 GB, free: 7.012 MB / 0.5762 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.0007142/0.6849, allocations: 283 kB / 0.7683 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.6861, allocations: 0.5427 MB / 0.7688 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6861, allocations: 4 kB / 0.7689 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6871, allocations: 398.8 kB / 0.7692 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.6889, allocations: 368.3 kB / 0.7696 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.6913, allocations: 1.39 MB / 0.7709 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.6919, allocations: 0.9222 MB / 0.7718 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.6923, allocations: 131.4 kB / 0.772 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.6923, allocations: 0 / 0.772 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of Templates: time 0.02439/0.7167, allocations: 16.67 MB / 0.7882 GB, free: 2.301 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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: 11.091330994997406]