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.001783/0.001783, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002986/0.002986, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2332/0.2332, allocations: 46.92 MB / 360.8 MB, free: 4.203 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.002346/0.002346, allocations: 83.86 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3361, allocations: 66.07 MB / 0.5607 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2143/0.5505, allocations: 179 MB / 0.7355 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3313/0.8818, allocations: 5.37 MB / 0.7407 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006646/0.8825, allocations: 26.69 kB / 0.7408 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.8833, allocations: 322.6 kB / 0.7411 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.8867, allocations: 1.38 MB / 0.7424 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.8893, allocations: 1.089 MB / 0.7435 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.8918, allocations: 1.876 MB / 0.7453 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.8925, allocations: 394.3 kB / 0.7457 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.8949, allocations: 1.118 MB / 0.7468 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.8962, allocations: 0.7964 MB / 0.7476 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.8963, allocations: 63.06 kB / 0.7476 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.8978, allocations: 0.6453 MB / 0.7483 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.898, allocations: 274.2 kB / 0.7485 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00041/0.8984, allocations: 394.8 kB / 0.7489 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.8999, allocations: 1.307 MB / 0.7502 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8999, allocations: 1.203 kB / 0.7502 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8999, allocations: 3.094 kB / 0.7502 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.8999, allocations: 0.9688 kB / 0.7502 GB, free: 1.555 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.002102/0.902, allocations: 1.045 MB / 0.7512 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.902, allocations: 11.22 kB / 0.7512 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.9022, allocations: 97.62 kB / 0.7513 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/0.9029, allocations: 142.8 kB / 0.7514 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.9038, allocations: 477.3 kB / 0.7519 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.9039, allocations: 155 kB / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.904, allocations: 49.12 kB / 0.7521 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.905, allocations: 0.8164 MB / 0.7529 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.905, allocations: 3.125 kB / 0.7529 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.9051, allocations: 25.81 kB / 0.7529 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.9051, allocations: 41.48 kB / 0.753 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.906, allocations: 0.6186 MB / 0.7536 GB, free: 16.4 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.004512/0.9105, allocations: 3.893 MB / 0.7574 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.911, allocations: 343.3 kB / 0.7577 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.9113, allocations: 158.6 kB / 0.7578 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/0.9114, allocations: 18.41 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.9114, allocations: 40.34 kB / 0.7579 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 3.257e-06/0.9114, allocations: 0.9688 kB / 0.7579 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005174/0.9166, allocations: 1.614 MB / 0.7595 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.9167, allocations: 131.2 kB / 0.7596 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.9174, allocations: 0.6145 MB / 0.7602 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.9175, allocations: 37.45 kB / 0.7602 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.9177, allocations: 378.6 kB / 0.7606 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.9178, allocations: 144.1 kB / 0.7607 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.918, allocations: 161.3 kB / 0.7609 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002658/0.9183, allocations: 372 kB / 0.7612 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.9186, allocations: 205.9 kB / 0.7614 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.9192, allocations: 0.5124 MB / 0.7619 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.9201, allocations: 0.7555 MB / 0.7627 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9201, allocations: 1.875 kB / 0.7627 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00126/0.9213, allocations: 0.8778 MB / 0.7635 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.9214, allocations: 16.47 kB / 0.7635 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9214, allocations: 10.5 kB / 0.7636 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.9226, allocations: 310.5 kB / 0.7639 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.923, allocations: 129.5 kB / 0.764 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.924, allocations: 0.9218 MB / 0.7649 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.9246, allocations: 33.92 kB / 0.7649 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.9246, allocations: 59.78 kB / 0.765 GB, free: 11 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.0003375/0.925, allocations: 253.5 kB / 0.7652 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.9251, allocations: 72.67 kB / 0.7653 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.9265, allocations: 0.8667 MB / 0.7661 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.9265, allocations: 3.406 kB / 0.7661 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.9265, allocations: 3.328 kB / 0.7661 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.9265, allocations: 8.109 kB / 0.7661 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.9283, allocations: 1.212 MB / 0.7673 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9283, allocations: 2.469 kB / 0.7673 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.9293, allocations: 210.5 kB / 0.7675 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/0.9294, allocations: 22.83 kB / 0.7675 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.9295, allocations: 23.12 kB / 0.7676 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.9321, allocations: 2.671 MB / 0.7702 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9321, allocations: 5.688 kB / 0.7702 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.9335, allocations: 0.8222 MB / 0.771 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.9338, allocations: 112 kB / 0.7711 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/0.9339, allocations: 11.19 kB / 0.7711 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.9342, allocations: 17.06 kB / 0.7711 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.9343, allocations: 48.91 kB / 0.7712 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.9344, allocations: 41.33 kB / 0.7712 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004634/0.9348, allocations: 440.3 kB / 0.7716 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9348, allocations: 0 / 0.7716 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008999/0.9357, allocations: 257 kB / 0.7719 GB, free: 7.508 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.002076/0.9378, allocations: 1.54 MB / 0.7734 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.939, allocations: 0.5373 MB / 0.7739 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.939, allocations: 0 / 0.7739 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.9399, allocations: 409.9 kB / 0.7743 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.9414, allocations: 375 kB / 0.7746 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/0.9495, allocations: 6.33 MB / 0.7808 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.9501, allocations: 0.9348 MB / 0.7817 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009653/0.951, allocations: 465.5 kB / 0.7822 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.9515, allocations: 288.7 kB / 0.7825 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.9515, allocations: 0 / 0.7825 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/1.014, allocations: 25.02 MB / 0.8069 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.1, allocations: 0 / 0.8069 GB, free: 6.559 MB / 0.5919 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: 18.247470383998007]