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.001714/0.001714, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.002178/0.002178, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2218/0.2218, allocations: 46.93 MB / 361.6 MB, free: 4.281 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.001918/0.001918, allocations: 63.91 kB / 0.4974 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 66.02 MB / 0.5619 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2043/0.4982, allocations: 179 MB / 0.7366 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2903/0.7886, allocations: 5.381 MB / 0.7419 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.7891, allocations: 28.12 kB / 0.7419 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.7899, allocations: 326.8 kB / 0.7422 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.793, allocations: 1.381 MB / 0.7436 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.7954, allocations: 1.079 MB / 0.7446 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.7974, allocations: 1.88 MB / 0.7465 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.798, allocations: 389.5 kB / 0.7468 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.8003, allocations: 1.121 MB / 0.7479 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.8015, allocations: 0.797 MB / 0.7487 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.8016, allocations: 60.5 kB / 0.7488 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.8029, allocations: 0.6459 MB / 0.7494 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.8032, allocations: 275 kB / 0.7497 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.8036, allocations: 397.7 kB / 0.75 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.805, allocations: 1.306 MB / 0.7513 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.8051, allocations: 1.203 kB / 0.7513 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8051, allocations: 3.594 kB / 0.7513 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.8051, allocations: 0 / 0.7513 GB, free: 1.562 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.002072/0.8071, allocations: 1.044 MB / 0.7523 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.8072, allocations: 11.89 kB / 0.7523 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007456/0.8079, allocations: 145.6 kB / 0.7525 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/0.8087, allocations: 475.5 kB / 0.7529 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.8089, allocations: 153.5 kB / 0.7531 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.8089, allocations: 51.98 kB / 0.7531 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.81, allocations: 0.8138 MB / 0.7539 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.81, allocations: 0 / 0.7539 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.8101, allocations: 29.38 kB / 0.754 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.8101, allocations: 43.88 kB / 0.754 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.8109, allocations: 0.6233 MB / 0.7546 GB, free: 16.44 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.004082/0.815, allocations: 3.886 MB / 0.7584 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.8155, allocations: 339.3 kB / 0.7587 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.8157, allocations: 161.7 kB / 0.7589 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/0.8158, allocations: 14.73 kB / 0.7589 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.8158, allocations: 40.91 kB / 0.7589 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/0.8158, allocations: 0.7812 kB / 0.7589 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004967/0.8208, allocations: 1.61 MB / 0.7605 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.8209, allocations: 132.8 kB / 0.7606 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.8215, allocations: 0.6168 MB / 0.7612 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.8216, allocations: 37.92 kB / 0.7613 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.8218, allocations: 373.7 kB / 0.7616 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.099e-05/0.8219, allocations: 151.2 kB / 0.7618 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.822, allocations: 157.9 kB / 0.7619 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8222, allocations: 375.5 kB / 0.7623 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.8225, allocations: 208.2 kB / 0.7625 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.823, allocations: 0.515 MB / 0.763 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.8239, allocations: 0.7505 MB / 0.7637 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8239, allocations: 3.781 kB / 0.7637 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001238/0.8252, allocations: 0.8765 MB / 0.7646 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.8252, allocations: 10.81 kB / 0.7646 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.8252, allocations: 19.12 kB / 0.7646 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.8264, allocations: 309.4 kB / 0.7649 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.8268, allocations: 124.6 kB / 0.765 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.8278, allocations: 0.935 MB / 0.7659 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.8283, allocations: 24.81 kB / 0.766 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.8283, allocations: 65.91 kB / 0.766 GB, free: 11.06 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.0003343/0.8287, allocations: 252.5 kB / 0.7663 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.8288, allocations: 67.75 kB / 0.7663 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.8302, allocations: 0.8707 MB / 0.7672 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.8302, allocations: 4.938 kB / 0.7672 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8302, allocations: 0.6562 kB / 0.7672 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.8302, allocations: 6.938 kB / 0.7672 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.8319, allocations: 1.21 MB / 0.7684 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8319, allocations: 0 / 0.7684 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009553/0.8329, allocations: 216.7 kB / 0.7686 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.003e-05/0.833, allocations: 22.12 kB / 0.7686 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.833, allocations: 23.69 kB / 0.7686 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.8352, allocations: 2.676 MB / 0.7712 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8352, allocations: 2.375 kB / 0.7712 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.8363, allocations: 0.815 MB / 0.772 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.8367, allocations: 119.8 kB / 0.7721 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.8367, allocations: 9.688 kB / 0.7722 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.8371, allocations: 18.67 kB / 0.7722 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.8372, allocations: 48.28 kB / 0.7722 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.8373, allocations: 41.84 kB / 0.7723 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004721/0.8377, allocations: 442.1 kB / 0.7727 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8377, allocations: 0.6875 kB / 0.7727 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008854/0.8386, allocations: 250.4 kB / 0.7729 GB, free: 7.562 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.000569/0.8392, allocations: 284 kB / 0.7732 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009768/0.8402, allocations: 0.5361 MB / 0.7737 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8402, allocations: 0.9062 kB / 0.7737 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.841, allocations: 395.9 kB / 0.7741 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8425, allocations: 361.8 kB / 0.7744 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.8447, allocations: 1.404 MB / 0.7758 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.8452, allocations: 0.9274 MB / 0.7767 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.8455, allocations: 130.1 kB / 0.7768 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.8455, allocations: 0.875 kB / 0.7768 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of Templates: time 0.02142/0.8669, allocations: 16.67 MB / 0.7931 GB, free: 1.773 MB / 0.5762 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: 10.94672196591273]