Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001568/0.001568, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001639/0.001639, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.537/1.537, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 88.09 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3433, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1989/0.5422, allocations: 154.6 MB / 0.7117 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00772/0.5499, allocations: 4.917 MB / 0.7165 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.5504, allocations: 27.75 kB / 0.7166 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.5513, allocations: 310 kB / 0.7169 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.5549, allocations: 1.368 MB / 0.7182 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.5579, allocations: 1.062 MB / 0.7192 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.5601, allocations: 1.871 MB / 0.7211 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.5607, allocations: 389.6 kB / 0.7214 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.5631, allocations: 1.125 MB / 0.7225 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.5644, allocations: 0.7627 MB / 0.7233 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.5645, allocations: 60 kB / 0.7233 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5658, allocations: 0.55 MB / 0.7239 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.566, allocations: 279.1 kB / 0.7241 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.5664, allocations: 330.6 kB / 0.7244 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.5681, allocations: 1.304 MB / 0.7257 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5681, allocations: 7.938 kB / 0.7257 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5681, allocations: 0 / 0.7257 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5682, allocations: 0 / 0.7257 GB, free: 10.43 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.002421/0.5706, allocations: 1.038 MB / 0.7267 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5706, allocations: 8.031 kB / 0.7267 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.5708, allocations: 102.5 kB / 0.7268 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008057/0.5716, allocations: 147.3 kB / 0.727 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009989/0.5726, allocations: 477.4 kB / 0.7274 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.5727, allocations: 155.8 kB / 0.7276 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.5728, allocations: 48 kB / 0.7276 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.5743, allocations: 1.144 MB / 0.7288 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.5743, allocations: 11.81 kB / 0.7288 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.5744, allocations: 20 kB / 0.7288 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.5744, allocations: 36.98 kB / 0.7288 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5755, allocations: 0.6127 MB / 0.7294 GB, free: 6.395 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.004499/0.58, allocations: 3.305 MB / 0.7326 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.5806, allocations: 342.4 kB / 0.733 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.5809, allocations: 161.3 kB / 0.7331 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.581, allocations: 12.28 kB / 0.7331 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.581, allocations: 38.84 kB / 0.7332 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.973e-06/0.581, allocations: 0 / 0.7332 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005686/0.5867, allocations: 1.624 MB / 0.7348 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5868, allocations: 136.5 kB / 0.7349 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2591/0.8459, allocations: 0.6187 MB / 0.7355 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.846, allocations: 35.77 kB / 0.7355 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.8464, allocations: 376 kB / 0.7359 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.8466, allocations: 149.4 kB / 0.736 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.847, allocations: 160 kB / 0.7362 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8471, allocations: 376.3 kB / 0.7365 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/0.8479, allocations: 199.3 kB / 0.7367 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.8489, allocations: 0.593 MB / 0.7373 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.8505, allocations: 0.7543 MB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.8506, allocations: 4.094 kB / 0.7381 GB, free: 174 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002612/0.8532, allocations: 0.8722 MB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.8532, allocations: 14 kB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.8532, allocations: 10.28 kB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/0.8554, allocations: 311.3 kB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.856, allocations: 120.1 kB / 0.7393 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.8573, allocations: 0.9337 MB / 0.7402 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.8578, allocations: 28.02 kB / 0.7403 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.8579, allocations: 66.47 kB / 0.7403 GB, free: 172.9 MB / 0.5606 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.0002951/0.8582, allocations: 252.9 kB / 0.7406 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.8583, allocations: 67.3 kB / 0.7406 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.8597, allocations: 0.8695 MB / 0.7415 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.8597, allocations: 6.906 kB / 0.7415 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8597, allocations: 3.531 kB / 0.7415 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8597, allocations: 0 / 0.7415 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.8612, allocations: 1.144 MB / 0.7426 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8612, allocations: 0 / 0.7426 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/0.8622, allocations: 210.6 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-05/0.8623, allocations: 34.2 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.8623, allocations: 16 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.8635, allocations: 2.671 MB / 0.7455 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8635, allocations: 0 / 0.7455 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/0.8645, allocations: 0.8309 MB / 0.7463 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.8647, allocations: 112.2 kB / 0.7464 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8648, allocations: 11.75 kB / 0.7464 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.8652, allocations: 19.5 kB / 0.7464 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.8653, allocations: 43.31 kB / 0.7465 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.8653, allocations: 50.55 kB / 0.7465 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003804/0.8657, allocations: 437.5 kB / 0.7469 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8657, allocations: 0 / 0.7469 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007782/0.8665, allocations: 258.9 kB / 0.7472 GB, free: 166.9 MB / 0.5606 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.001506/0.868, allocations: 1.531 MB / 0.7487 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009405/0.8689, allocations: 0.5335 MB / 0.7492 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8689, allocations: 0 / 0.7492 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.8698, allocations: 411 kB / 0.7496 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.8712, allocations: 374.5 kB / 0.7499 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.8779, allocations: 6.335 MB / 0.7561 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.8781, allocations: 337.8 kB / 0.7565 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.879, allocations: 463.1 kB / 0.7569 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.8793, allocations: 283.3 kB / 0.7572 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.8793, allocations: 0 / 0.7572 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.9314, allocations: 25.64 MB / 0.7822 GB, free: 131 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.66, allocations: 7.609 kB / 0.7822 GB, free: 131 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.85317567596212]