Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000839/0.000839, allocations: 79.69 kB / 20.02 MB, free: 4.504 MB / 18.57 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.0008574/0.0008574, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9143/0.9143, allocations: 158.6 MB / 185.1 MB, free: 2.992 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1329/0.1329, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 407.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.447e-05, allocations: 2.281 kB / 407.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3185/0.3185, allocations: 156.4 MB / 0.5503 GB, free: 6.395 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00718/0.3257, allocations: 5.281 MB / 0.5554 GB, free: 2.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007041/0.3264, allocations: 28.84 kB / 0.5554 GB, free: 2.824 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.3274, allocations: 318.5 kB / 0.5557 GB, free: 2.648 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.3315, allocations: 1.612 MB / 0.5573 GB, free: 1.801 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.3343, allocations: 1.274 MB / 0.5586 GB, free: 1.176 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.3362, allocations: 1.883 MB / 0.5604 GB, free: 208 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005853/0.3368, allocations: 405.9 kB / 0.5608 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.3391, allocations: 1.488 MB / 0.5622 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.3403, allocations: 0.7213 MB / 0.5629 GB, free: 14.6 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.3404, allocations: 61.38 kB / 0.563 GB, free: 14.6 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3415, allocations: 0.7506 MB / 0.5637 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.3418, allocations: 284.2 kB / 0.564 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.342, allocations: 288.9 kB / 0.5643 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3436, allocations: 1.53 MB / 0.5658 GB, free: 12.94 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3436, allocations: 0 / 0.5658 GB, free: 12.94 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3436, allocations: 3.938 kB / 0.5658 GB, free: 12.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.3436, allocations: 0 / 0.5658 GB, free: 12.93 MB / 458.7 MB 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.001911/0.3456, allocations: 1.068 MB / 0.5668 GB, free: 12.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3456, allocations: 14.02 kB / 0.5668 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.124e-05/0.3457, allocations: 97.84 kB / 0.5669 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.3462, allocations: 141.8 kB / 0.5671 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.347, allocations: 0.4964 MB / 0.5676 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.3471, allocations: 153.8 kB / 0.5677 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.3471, allocations: 48.75 kB / 0.5677 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.3481, allocations: 1.17 MB / 0.5689 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3481, allocations: 3.938 kB / 0.5689 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.3482, allocations: 23.53 kB / 0.5689 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.3482, allocations: 38.77 kB / 0.569 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.3489, allocations: 0.6239 MB / 0.5696 GB, free: 10.09 MB / 458.7 MB 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.002812/0.3517, allocations: 3.326 MB / 0.5728 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.3521, allocations: 333.7 kB / 0.5731 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.3523, allocations: 165.5 kB / 0.5733 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3525, allocations: 143.6 kB / 0.5734 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3526, allocations: 41.53 kB / 0.5735 GB, free: 6.961 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3526, allocations: 0 / 0.5735 GB, free: 6.961 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.00316/0.3557, allocations: 1.591 MB / 0.575 GB, free: 6.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.3558, allocations: 133.4 kB / 0.5751 GB, free: 5.863 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.3563, allocations: 0.6304 MB / 0.5758 GB, free: 5.488 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3563, allocations: 35.86 kB / 0.5758 GB, free: 5.449 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3565, allocations: 376 kB / 0.5762 GB, free: 5.113 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.3566, allocations: 149.6 kB / 0.5763 GB, free: 4.984 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3568, allocations: 162.2 kB / 0.5764 GB, free: 4.891 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3569, allocations: 374.7 kB / 0.5768 GB, free: 4.531 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3571, allocations: 200.2 kB / 0.577 GB, free: 4.438 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.3575, allocations: 0.5934 MB / 0.5776 GB, free: 3.828 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.3581, allocations: 0.7534 MB / 0.5783 GB, free: 3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3581, allocations: 0 / 0.5783 GB, free: 3 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00087/0.359, allocations: 0.8728 MB / 0.5792 GB, free: 2.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.359, allocations: 8 kB / 0.5792 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.359, allocations: 14.34 kB / 0.5792 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.3597, allocations: 321.6 kB / 0.5795 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3599, allocations: 123.8 kB / 0.5796 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006974/0.3606, allocations: 0.9267 MB / 0.5805 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.3609, allocations: 27.98 kB / 0.5805 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.3609, allocations: 71.98 kB / 0.5806 GB, free: 0.6133 MB / 458.7 MB 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.0002093/0.3611, allocations: 241.6 kB / 0.5808 GB, free: 376 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.3612, allocations: 75.52 kB / 0.5809 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/0.362, allocations: 0.6803 MB / 0.5816 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.362, allocations: 4 kB / 0.5816 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.362, allocations: 3.984 kB / 0.5816 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.362, allocations: 7.938 kB / 0.5816 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3633, allocations: 1.219 MB / 0.5828 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3633, allocations: 4 kB / 0.5828 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.3638, allocations: 207.8 kB / 0.583 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.408e-05/0.3638, allocations: 24.84 kB / 0.583 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3639, allocations: 19.98 kB / 0.583 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.3652, allocations: 2.662 MB / 0.5856 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3652, allocations: 4.031 kB / 0.5856 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.3661, allocations: 0.8034 MB / 0.5864 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.3663, allocations: 119.5 kB / 0.5865 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.3663, allocations: 8 kB / 0.5865 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.3665, allocations: 23.97 kB / 0.5866 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.3666, allocations: 39.94 kB / 0.5866 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.3666, allocations: 39.98 kB / 0.5866 GB, free: 10.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003534/0.367, allocations: 443.2 kB / 0.5871 GB, free: 9.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-08/0.367, allocations: 0 / 0.5871 GB, free: 9.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006672/0.3677, allocations: 303.5 kB / 0.5873 GB, free: 9.371 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001574/0.3692, allocations: 1.629 MB / 0.5889 GB, free: 7.711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.3699, allocations: 0.524 MB / 0.5894 GB, free: 7.188 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3699, allocations: 0 / 0.5894 GB, free: 7.188 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.3705, allocations: 402.7 kB / 0.5898 GB, free: 6.781 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.3714, allocations: 374.3 kB / 0.5902 GB, free: 6.445 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/0.3773, allocations: 6.232 MB / 0.5963 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.3775, allocations: 340.7 kB / 0.5966 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005018/0.378, allocations: 267.3 kB / 0.5969 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.3783, allocations: 272.4 kB / 0.5971 GB, free: 14.93 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3783, allocations: 0 / 0.5971 GB, free: 14.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.4161, allocations: 26.83 MB / 0.6233 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.531/8.947, allocations: 0 / 0.6233 GB, free: 4.094 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.169662521220744]