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.00102/0.00102, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009061/0.0009061, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9408/0.9408, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2486/0.2486, allocations: 34.23 MB / 294.8 MB, free: 0.6992 MB / 266.7 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 1.332e-06/1.332e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.547e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3129/0.3129, allocations: 154.6 MB / 0.5828 GB, free: 5.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.3185, allocations: 4.916 MB / 0.5876 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008453/0.3193, allocations: 27.75 kB / 0.5876 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.3201, allocations: 313.9 kB / 0.5879 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.3234, allocations: 1.396 MB / 0.5893 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.3255, allocations: 1.084 MB / 0.5903 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3274, allocations: 1.887 MB / 0.5922 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.3279, allocations: 389.5 kB / 0.5925 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.3298, allocations: 1.347 MB / 0.5939 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009371/0.3307, allocations: 0.7312 MB / 0.5946 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3308, allocations: 64 kB / 0.5946 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009557/0.3318, allocations: 0.5576 MB / 0.5952 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.3321, allocations: 290.1 kB / 0.5955 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.3324, allocations: 283.4 kB / 0.5957 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3338, allocations: 1.383 MB / 0.5971 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3338, allocations: 0 / 0.5971 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3338, allocations: 0 / 0.5971 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.3338, allocations: 0 / 0.5971 GB, free: 7.16 MB / 0.4948 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.00164/0.3355, allocations: 1.041 MB / 0.5981 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3355, allocations: 8.031 kB / 0.5981 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3356, allocations: 94.52 kB / 0.5982 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.3361, allocations: 151.4 kB / 0.5983 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.3368, allocations: 477.4 kB / 0.5988 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.3369, allocations: 155.8 kB / 0.5989 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.337, allocations: 48 kB / 0.599 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.3379, allocations: 1.136 MB / 0.6001 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3379, allocations: 0 / 0.6001 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.338, allocations: 27.98 kB / 0.6001 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.338, allocations: 48.84 kB / 0.6002 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.3387, allocations: 0.6205 MB / 0.6008 GB, free: 3.125 MB / 0.4948 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.002768/0.3415, allocations: 3.3 MB / 0.604 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3419, allocations: 337 kB / 0.6043 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3421, allocations: 168.4 kB / 0.6045 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.3421, allocations: 8.281 kB / 0.6045 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3422, allocations: 38.84 kB / 0.6045 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.3422, allocations: 0 / 0.6045 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002966/0.3451, allocations: 1.611 MB / 0.6061 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3452, allocations: 136.5 kB / 0.6062 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.3456, allocations: 0.6327 MB / 0.6068 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3457, allocations: 42.48 kB / 0.6069 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3459, allocations: 367.9 kB / 0.6072 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.3459, allocations: 146.8 kB / 0.6074 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.3461, allocations: 154.6 kB / 0.6075 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3462, allocations: 378.8 kB / 0.6079 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3464, allocations: 201.9 kB / 0.6081 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.3468, allocations: 0.588 MB / 0.6087 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.3475, allocations: 0.7477 MB / 0.6094 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3475, allocations: 4 kB / 0.6094 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008974/0.3484, allocations: 0.8806 MB / 0.6102 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3485, allocations: 9 kB / 0.6103 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3485, allocations: 15.98 kB / 0.6103 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007248/0.3492, allocations: 312.5 kB / 0.6106 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.3494, allocations: 127.8 kB / 0.6107 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007105/0.3501, allocations: 0.9358 MB / 0.6116 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.3504, allocations: 23.98 kB / 0.6116 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.3505, allocations: 71.98 kB / 0.6117 GB, free: 7.363 MB / 0.5105 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.0002315/0.3507, allocations: 250.6 kB / 0.6119 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.3508, allocations: 74.83 kB / 0.612 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009874/0.3517, allocations: 0.8587 MB / 0.6128 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3518, allocations: 4 kB / 0.6128 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3518, allocations: 4 kB / 0.6129 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3518, allocations: 5.797 kB / 0.6129 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.353, allocations: 1.145 MB / 0.614 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.353, allocations: 0 / 0.614 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.3536, allocations: 207.8 kB / 0.6142 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.637e-05/0.3536, allocations: 29.02 kB / 0.6142 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3537, allocations: 20 kB / 0.6142 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.3551, allocations: 2.666 MB / 0.6168 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3551, allocations: 6.188 kB / 0.6168 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.3559, allocations: 0.822 MB / 0.6176 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.3561, allocations: 115.5 kB / 0.6177 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.3562, allocations: 8 kB / 0.6178 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3564, allocations: 19.92 kB / 0.6178 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.3565, allocations: 51.81 kB / 0.6178 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.3565, allocations: 43.98 kB / 0.6179 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003681/0.3569, allocations: 435 kB / 0.6183 GB, free: 280 kB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 4.156 kB / 0.6183 GB, free: 276 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006309/0.3575, allocations: 251.8 kB / 0.6185 GB, free: 24 kB / 0.5105 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.001527/0.359, allocations: 1.557 MB / 0.62 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008934/0.3599, allocations: 0.5314 MB / 0.6206 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3599, allocations: 0 / 0.6206 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.3605, allocations: 406.4 kB / 0.6209 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3616, allocations: 369.6 kB / 0.6213 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.3684, allocations: 6.253 MB / 0.6274 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3686, allocations: 332.7 kB / 0.6277 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007713/0.3694, allocations: 466.7 kB / 0.6282 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.3697, allocations: 288.4 kB / 0.6284 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of SimCode: time 1.773e-06/0.3697, allocations: 0 / 0.6284 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/0.5618, allocations: 25.68 MB / 0.6535 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.171, allocations: 10.89 kB / 0.6535 GB, free: 160.8 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/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: 11.322814959101379]