Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.002049/0.002049, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.003351/0.003351, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 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 1.716/1.716, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2349/0.2349, allocations: 46.9 MB / 361.1 MB, free: 4.621 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-beta.om/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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003809/0.003809, allocations: 83.86 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.351, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2216/0.5726, allocations: 178.9 MB / 0.7359 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3398/0.9123, allocations: 5.383 MB / 0.7412 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008689/0.9132, allocations: 20.72 kB / 0.7412 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.9141, allocations: 320.6 kB / 0.7415 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.9178, allocations: 1.367 MB / 0.7429 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.9207, allocations: 1.068 MB / 0.7439 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.9228, allocations: 1.862 MB / 0.7457 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.9234, allocations: 395.4 kB / 0.7461 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.9256, allocations: 1.099 MB / 0.7472 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.9268, allocations: 0.8043 MB / 0.748 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.9269, allocations: 62.84 kB / 0.748 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.9283, allocations: 0.6317 MB / 0.7486 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.9286, allocations: 271.6 kB / 0.7489 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.929, allocations: 395.5 kB / 0.7493 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.9306, allocations: 1.312 MB / 0.7506 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.9306, allocations: 0 / 0.7506 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.9306, allocations: 0.875 kB / 0.7506 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.9306, allocations: 0 / 0.7506 GB, free: 1.586 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.002175/0.9328, allocations: 1.128 MB / 0.7517 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.542e-05/0.9328, allocations: 10.19 kB / 0.7517 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008044/0.9336, allocations: 143 kB / 0.7518 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.9346, allocations: 0.5268 MB / 0.7523 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.9347, allocations: 101 kB / 0.7524 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.9348, allocations: 56.97 kB / 0.7525 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.9359, allocations: 0.8097 MB / 0.7533 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.9359, allocations: 6.406 kB / 0.7533 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.936, allocations: 27.33 kB / 0.7533 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/0.9361, allocations: 38.92 kB / 0.7533 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.9369, allocations: 0.6241 MB / 0.7539 GB, free: 16.37 MB / 0.5762 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.004715/0.9416, allocations: 3.946 MB / 0.7578 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.9422, allocations: 339 kB / 0.7581 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.9424, allocations: 160.7 kB / 0.7583 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.9425, allocations: 95 kB / 0.7584 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.9426, allocations: 37.19 kB / 0.7584 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.355e-06/0.9426, allocations: 0.8125 kB / 0.7584 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005574/0.9481, allocations: 1.691 MB / 0.76 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.9482, allocations: 135.7 kB / 0.7602 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.9488, allocations: 0.6187 MB / 0.7608 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.9489, allocations: 36.11 kB / 0.7608 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.9491, allocations: 369.8 kB / 0.7612 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.9492, allocations: 153.8 kB / 0.7613 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.9494, allocations: 157.8 kB / 0.7615 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.9496, allocations: 375.5 kB / 0.7618 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.9499, allocations: 200.9 kB / 0.762 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.9505, allocations: 0.5144 MB / 0.7625 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/0.9514, allocations: 0.7528 MB / 0.7633 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9514, allocations: 5.641 kB / 0.7633 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001385/0.9528, allocations: 0.8805 MB / 0.7641 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9528, allocations: 14.34 kB / 0.7641 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9528, allocations: 10.78 kB / 0.7641 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.9541, allocations: 314.8 kB / 0.7644 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.9545, allocations: 123.5 kB / 0.7646 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.9556, allocations: 0.9303 MB / 0.7655 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.956, allocations: 26.88 kB / 0.7655 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.9561, allocations: 66.17 kB / 0.7656 GB, free: 10.75 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.0003374/0.9565, allocations: 245.4 kB / 0.7658 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.9566, allocations: 76.98 kB / 0.7659 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.958, allocations: 0.8674 MB / 0.7667 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.958, allocations: 4.5 kB / 0.7667 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.958, allocations: 2.812 kB / 0.7667 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.9581, allocations: 7.719 kB / 0.7667 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.9601, allocations: 1.46 MB / 0.7682 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.9601, allocations: 4.219 kB / 0.7682 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.9611, allocations: 210 kB / 0.7684 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-05/0.9612, allocations: 25.45 kB / 0.7684 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.9612, allocations: 23.44 kB / 0.7684 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.9635, allocations: 2.873 MB / 0.7712 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9635, allocations: 5.719 kB / 0.7712 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.9647, allocations: 0.8219 MB / 0.772 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.965, allocations: 191 kB / 0.7722 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.9652, allocations: 12.94 kB / 0.7722 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.9656, allocations: 15.94 kB / 0.7722 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.9657, allocations: 47.55 kB / 0.7723 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.9657, allocations: 45.45 kB / 0.7723 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004969/0.9662, allocations: 438.8 kB / 0.7727 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9662, allocations: 1.953 kB / 0.7727 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008854/0.9671, allocations: 256.7 kB / 0.773 GB, free: 6.586 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.0007456/0.9678, allocations: 305.4 kB / 0.7733 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.9689, allocations: 0.5327 MB / 0.7738 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.9689, allocations: 0.9375 kB / 0.7738 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/0.9698, allocations: 407.9 kB / 0.7742 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.9715, allocations: 360.2 kB / 0.7745 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.9738, allocations: 1.357 MB / 0.7758 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.9743, allocations: 0.9326 MB / 0.7768 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009694/0.9753, allocations: 464.2 kB / 0.7772 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.9756, allocations: 121.1 kB / 0.7773 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.9756, allocations: 0 / 0.7773 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.02957/1.005, allocations: 17.95 MB / 0.7949 GB, free: 368 kB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.641145261004567]