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.001427/0.001427, 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.001507/0.001507, allocations: 169.2 kB / 24.5 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.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.206/0.206, allocations: 34.26 MB / 295.5 MB, free: 14.6 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.002103/0.002103, allocations: 71.88 kB / 443.2 MB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3154, allocations: 66 MB / 0.4972 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1865/0.5019, allocations: 154.7 MB / 0.6483 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007948/0.5098, allocations: 4.921 MB / 0.6531 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.5104, allocations: 27.75 kB / 0.6531 GB, free: 5.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5114, allocations: 302 kB / 0.6534 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.5152, allocations: 1.368 MB / 0.6547 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.5183, allocations: 1.07 MB / 0.6558 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002712/0.5211, allocations: 1.864 MB / 0.6576 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.5217, allocations: 393.6 kB / 0.658 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.5241, allocations: 1.117 MB / 0.6591 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.5256, allocations: 0.7743 MB / 0.6598 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5257, allocations: 60 kB / 0.6599 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.5271, allocations: 0.5501 MB / 0.6604 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.5274, allocations: 275.2 kB / 0.6607 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.5279, allocations: 326.6 kB / 0.661 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.5301, allocations: 1.316 MB / 0.6623 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.5301, allocations: 0 / 0.6623 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5301, allocations: 0 / 0.6623 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.5302, allocations: 0 / 0.6623 GB, free: 12.24 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.002441/0.5326, allocations: 1.041 MB / 0.6633 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/0.5327, allocations: 16.02 kB / 0.6633 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.5335, allocations: 143.4 kB / 0.6634 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.5345, allocations: 473.5 kB / 0.6639 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.5347, allocations: 155.8 kB / 0.664 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.5348, allocations: 48 kB / 0.6641 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.5363, allocations: 1.144 MB / 0.6652 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.5363, allocations: 3.938 kB / 0.6652 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.5364, allocations: 27.94 kB / 0.6652 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/0.5365, allocations: 36.98 kB / 0.6653 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.5376, allocations: 0.6204 MB / 0.6659 GB, free: 8.312 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.004777/0.5424, allocations: 3.216 MB / 0.669 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.5431, allocations: 340.3 kB / 0.6693 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.5434, allocations: 157.3 kB / 0.6695 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.5435, allocations: 16.27 kB / 0.6695 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/0.5435, allocations: 38.84 kB / 0.6695 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.5435, allocations: 0 / 0.6695 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005953/0.5495, allocations: 1.609 MB / 0.6711 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/0.5496, allocations: 136.5 kB / 0.6712 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.5503, allocations: 0.5299 MB / 0.6718 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.5504, allocations: 37.7 kB / 0.6718 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.5507, allocations: 388.2 kB / 0.6722 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5508, allocations: 146.7 kB / 0.6723 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.5511, allocations: 158.6 kB / 0.6725 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.5513, allocations: 370.7 kB / 0.6728 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.5517, allocations: 205.9 kB / 0.673 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.5525, allocations: 0.5919 MB / 0.6736 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.5536, allocations: 0.7475 MB / 0.6743 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5536, allocations: 3.938 kB / 0.6743 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001641/0.5552, allocations: 0.8682 MB / 0.6752 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5552, allocations: 12 kB / 0.6752 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5553, allocations: 8 kB / 0.6752 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.5567, allocations: 317.3 kB / 0.6755 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.5571, allocations: 123.8 kB / 0.6756 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.5584, allocations: 0.9336 MB / 0.6765 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.5588, allocations: 27.98 kB / 0.6765 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/0.5589, allocations: 64 kB / 0.6766 GB, free: 12.72 MB / 0.5763 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.0003827/0.5593, allocations: 249.5 kB / 0.6768 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5595, allocations: 59.62 kB / 0.6769 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.5612, allocations: 0.8658 MB / 0.6777 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.5612, allocations: 8 kB / 0.6778 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5612, allocations: 0 / 0.6778 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5612, allocations: 0 / 0.6778 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.5632, allocations: 1.079 MB / 0.6788 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5632, allocations: 4 kB / 0.6788 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5643, allocations: 211.9 kB / 0.679 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.791e-05/0.5644, allocations: 24.84 kB / 0.679 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.5645, allocations: 20 kB / 0.6791 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.5668, allocations: 2.637 MB / 0.6816 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5668, allocations: 4.031 kB / 0.6816 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.5682, allocations: 0.8144 MB / 0.6824 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.5685, allocations: 111.5 kB / 0.6825 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.5686, allocations: 8 kB / 0.6825 GB, free: 6.305 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.569, allocations: 16.22 kB / 0.6826 GB, free: 6.289 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.5691, allocations: 43.94 kB / 0.6826 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.5692, allocations: 47.92 kB / 0.6826 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0005157/0.5697, allocations: 358.8 kB / 0.683 GB, free: 5.852 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5697, allocations: 3.938 kB / 0.683 GB, free: 5.848 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009773/0.5707, allocations: 255.7 kB / 0.6832 GB, free: 5.598 MB / 0.5763 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.0006823/0.5713, allocations: 277 kB / 0.6835 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.5726, allocations: 0.5307 MB / 0.684 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5726, allocations: 0 / 0.684 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.5736, allocations: 403.5 kB / 0.6844 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.5751, allocations: 307.4 kB / 0.6847 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.5776, allocations: 1.343 MB / 0.686 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.578, allocations: 336.3 kB / 0.6863 GB, free: 2.344 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5791, allocations: 458 kB / 0.6868 GB, free: 1.898 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.5794, allocations: 108.4 kB / 0.6869 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of SimCode: time 6.11e-07/0.5794, allocations: 0 / 0.6869 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of Templates: time 0.2472/0.8266, allocations: 15.75 MB / 0.7022 GB, free: 165.5 MB / 0.5763 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 -s ida -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: 6.225852827890776]