Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001705/0.001705, allocations: 73.56 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.002125/0.002125, allocations: 159.9 kB / 24.5 MB, free: 3.715 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.2036/0.2036, allocations: 32.81 MB / 294.1 MB, free: 28 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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [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.00213/0.00213, allocations: 67.89 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 65.44 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1858/0.4956, allocations: 154.7 MB / 0.6452 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007392/0.503, allocations: 4.925 MB / 0.65 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.5035, allocations: 27.75 kB / 0.65 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.5044, allocations: 306 kB / 0.6503 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.5078, allocations: 1.36 MB / 0.6517 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.5105, allocations: 1.071 MB / 0.6527 GB, free: 6.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.5129, allocations: 1.864 MB / 0.6545 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006155/0.5135, allocations: 385.6 kB / 0.6549 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.5158, allocations: 1.117 MB / 0.656 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.5172, allocations: 0.7821 MB / 0.6567 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.5173, allocations: 60 kB / 0.6568 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.5187, allocations: 0.5491 MB / 0.6573 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.519, allocations: 271.2 kB / 0.6576 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004285/0.5194, allocations: 334.6 kB / 0.6579 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.5211, allocations: 1.308 MB / 0.6592 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5211, allocations: 0 / 0.6592 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5211, allocations: 3.938 kB / 0.6592 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.5211, allocations: 0 / 0.6592 GB, free: 15.46 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.002226/0.5234, allocations: 1.041 MB / 0.6602 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5234, allocations: 11.97 kB / 0.6602 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.5243, allocations: 143.4 kB / 0.6604 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.5252, allocations: 477.5 kB / 0.6608 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.5254, allocations: 151.8 kB / 0.661 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5255, allocations: 59.98 kB / 0.661 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.527, allocations: 1.14 MB / 0.6621 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.527, allocations: 3.938 kB / 0.6621 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.5271, allocations: 31.92 kB / 0.6622 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.5271, allocations: 36.98 kB / 0.6622 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.5282, allocations: 0.6166 MB / 0.6628 GB, free: 11.53 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.004396/0.5326, allocations: 3.208 MB / 0.6659 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.5332, allocations: 342.7 kB / 0.6663 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.5335, allocations: 161.3 kB / 0.6664 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/0.5336, allocations: 20.27 kB / 0.6664 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.5337, allocations: 38.84 kB / 0.6665 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.5337, allocations: 0 / 0.6665 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005893/0.5396, allocations: 1.594 MB / 0.668 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.5397, allocations: 136.5 kB / 0.6682 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.5403, allocations: 0.5299 MB / 0.6687 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.5404, allocations: 37.7 kB / 0.6687 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.5407, allocations: 388.2 kB / 0.6691 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5408, allocations: 150.7 kB / 0.6692 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.541, allocations: 158.6 kB / 0.6694 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5412, allocations: 366.8 kB / 0.6697 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.5416, allocations: 205.9 kB / 0.6699 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.5423, allocations: 0.5919 MB / 0.6705 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.5434, allocations: 0.7524 MB / 0.6712 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.5434, allocations: 4 kB / 0.6712 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001525/0.5449, allocations: 0.8725 MB / 0.6721 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5449, allocations: 11.98 kB / 0.6721 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.545, allocations: 12 kB / 0.6721 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.5464, allocations: 308.9 kB / 0.6724 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.5468, allocations: 123.8 kB / 0.6725 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.548, allocations: 0.937 MB / 0.6734 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.5485, allocations: 23.98 kB / 0.6735 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5486, allocations: 76 kB / 0.6735 GB, free: 15.93 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.0003902/0.549, allocations: 245.5 kB / 0.6738 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5491, allocations: 59.62 kB / 0.6738 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.5508, allocations: 0.8651 MB / 0.6747 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5508, allocations: 4 kB / 0.6747 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5508, allocations: 0 / 0.6747 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5508, allocations: 3.984 kB / 0.6747 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.5528, allocations: 1.087 MB / 0.6757 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5528, allocations: 3.984 kB / 0.6757 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.5541, allocations: 211.8 kB / 0.676 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.234e-05/0.5542, allocations: 25.03 kB / 0.676 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.5543, allocations: 27.98 kB / 0.676 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.5567, allocations: 2.629 MB / 0.6786 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5567, allocations: 0 / 0.6786 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5581, allocations: 0.8144 MB / 0.6794 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.5584, allocations: 107.6 kB / 0.6795 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.5585, allocations: 8 kB / 0.6795 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.5588, allocations: 19.98 kB / 0.6795 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.559, allocations: 39.94 kB / 0.6795 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.559, allocations: 47.86 kB / 0.6796 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005498/0.5596, allocations: 358.8 kB / 0.6799 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5596, allocations: 128 / 0.6799 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001003/0.5606, allocations: 259.7 kB / 0.6802 GB, free: 8.82 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.0006934/0.5613, allocations: 278.7 kB / 0.6804 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.5625, allocations: 0.5354 MB / 0.681 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5625, allocations: 0 / 0.681 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.5635, allocations: 406.3 kB / 0.6813 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.5649, allocations: 306.8 kB / 0.6816 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.5673, allocations: 1.336 MB / 0.6829 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5677, allocations: 332.3 kB / 0.6833 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001017/0.5687, allocations: 461.8 kB / 0.6837 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.569, allocations: 104.5 kB / 0.6838 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.569, allocations: 0 / 0.6838 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.2602/0.8292, allocations: 15.76 MB / 0.6992 GB, free: 167.3 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.082395897945389]