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.00163/0.00163, allocations: 112.4 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.001806/0.001806, allocations: 203 kB / 24.46 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.458/1.458, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.23/0.23, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.002664/0.002664, allocations: 79.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3386, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2208/0.5594, allocations: 178.9 MB / 0.736 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3593/0.9187, allocations: 5.374 MB / 0.7412 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.9194, allocations: 18.91 kB / 0.7412 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.9203, allocations: 325.9 kB / 0.7415 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.924, allocations: 1.367 MB / 0.7429 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.9268, allocations: 1.073 MB / 0.7439 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.929, allocations: 1.862 MB / 0.7457 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.9295, allocations: 392.6 kB / 0.7461 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.9314, allocations: 1.101 MB / 0.7472 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.9326, allocations: 0.799 MB / 0.748 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.786e-05/0.9327, allocations: 61.19 kB / 0.748 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.9339, allocations: 0.6379 MB / 0.7486 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.9342, allocations: 270 kB / 0.7489 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.9345, allocations: 392.4 kB / 0.7493 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.9359, allocations: 1.316 MB / 0.7506 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9359, allocations: 1.094 kB / 0.7506 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.936, allocations: 0.9375 kB / 0.7506 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.936, allocations: 0 / 0.7506 GB, free: 1.566 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.002286/0.9382, allocations: 1.123 MB / 0.7517 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.9383, allocations: 7.156 kB / 0.7517 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/0.9391, allocations: 148.2 kB / 0.7518 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.94, allocations: 0.5265 MB / 0.7523 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.9401, allocations: 100.8 kB / 0.7524 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.9402, allocations: 54.02 kB / 0.7525 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.9413, allocations: 0.8119 MB / 0.7533 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.9413, allocations: 5.125 kB / 0.7533 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.9414, allocations: 32.2 kB / 0.7533 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.9414, allocations: 40.95 kB / 0.7533 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/0.9423, allocations: 0.6171 MB / 0.7539 GB, free: 16.35 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.0043/0.9466, allocations: 3.949 MB / 0.7578 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.9471, allocations: 341.6 kB / 0.7581 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.9474, allocations: 156.9 kB / 0.7583 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.9475, allocations: 90.78 kB / 0.7584 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.9475, allocations: 43.09 kB / 0.7584 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.9475, allocations: 0.9688 kB / 0.7584 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005439/0.953, allocations: 1.694 MB / 0.7601 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.9531, allocations: 133.6 kB / 0.7602 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.9538, allocations: 0.6189 MB / 0.7608 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.9539, allocations: 30.95 kB / 0.7608 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.9541, allocations: 377.7 kB / 0.7612 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.9542, allocations: 151.1 kB / 0.7613 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.9544, allocations: 158.2 kB / 0.7615 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9546, allocations: 379.2 kB / 0.7618 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.9549, allocations: 201 kB / 0.762 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.9556, allocations: 0.5174 MB / 0.7625 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/0.9565, allocations: 0.7481 MB / 0.7633 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9565, allocations: 2.531 kB / 0.7633 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001352/0.9579, allocations: 0.8799 MB / 0.7641 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.9579, allocations: 8.625 kB / 0.7641 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.9579, allocations: 15.94 kB / 0.7641 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.9593, allocations: 310.5 kB / 0.7644 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.9596, allocations: 124.4 kB / 0.7646 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.9607, allocations: 0.9274 MB / 0.7655 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.9613, allocations: 26.66 kB / 0.7655 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.9614, allocations: 70.53 kB / 0.7656 GB, free: 10.74 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.0003908/0.9618, allocations: 247 kB / 0.7658 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.9619, allocations: 70.86 kB / 0.7659 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.9634, allocations: 0.8664 MB / 0.7667 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.9634, allocations: 4.875 kB / 0.7667 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9634, allocations: 0.875 kB / 0.7667 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.9634, allocations: 6.797 kB / 0.7667 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.9654, allocations: 1.46 MB / 0.7681 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9654, allocations: 2.125 kB / 0.7681 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.9665, allocations: 206.5 kB / 0.7683 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.782e-05/0.9666, allocations: 29.88 kB / 0.7684 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.9666, allocations: 23.12 kB / 0.7684 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.969, allocations: 2.877 MB / 0.7712 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.969, allocations: 6.344 kB / 0.7712 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.9701, allocations: 0.8254 MB / 0.772 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.9704, allocations: 190.5 kB / 0.7722 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9705, allocations: 13.06 kB / 0.7722 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.9709, allocations: 17.92 kB / 0.7722 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.971, allocations: 41.39 kB / 0.7723 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.9711, allocations: 45.42 kB / 0.7723 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004748/0.9715, allocations: 442.3 kB / 0.7727 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9715, allocations: 0.875 kB / 0.7727 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000906/0.9724, allocations: 254.6 kB / 0.773 GB, free: 6.574 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.0007694/0.9732, allocations: 311.5 kB / 0.7733 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.9742, allocations: 0.5339 MB / 0.7738 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9742, allocations: 4.016 kB / 0.7738 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009272/0.9752, allocations: 401.9 kB / 0.7742 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.9768, allocations: 365.2 kB / 0.7745 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.9788, allocations: 1.354 MB / 0.7759 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.9793, allocations: 0.9283 MB / 0.7768 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000899/0.9802, allocations: 471.1 kB / 0.7772 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.9805, allocations: 119.3 kB / 0.7773 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.9805, allocations: 0 / 0.7773 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of Templates: time 0.02885/1.009, allocations: 17.95 MB / 0.7949 GB, free: 344 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 gbode -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.243641155771911]