Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001297/0.001297, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001442/0.001442, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8913/0.8913, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 32.78 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.431e-05, allocations: 2.281 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1704/0.1704, allocations: 39.68 MB / 479.3 MB, free: 22.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.1733, allocations: 4.058 MB / 483.3 MB, free: 19.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1735, allocations: 28.56 kB / 483.4 MB, free: 19.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.1741, allocations: 311.8 kB / 483.7 MB, free: 19.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008917/0.175, allocations: 0.9052 MB / 484.6 MB, free: 19.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.176, allocations: 0.9454 MB / 485.5 MB, free: 18.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009161/0.177, allocations: 1.835 MB / 487.4 MB, free: 17.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1773, allocations: 394.1 kB / 487.7 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04943/0.2268, allocations: 44.59 MB / 0.5198 GB, free: 8.059 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008512/0.2353, allocations: 7.896 MB / 0.5276 GB, free: 72 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.2354, allocations: 60 kB / 0.5276 GB, free: 12 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.247, allocations: 10.6 MB / 0.538 GB, free: 5.301 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.2473, allocations: 283.1 kB / 0.5382 GB, free: 5.023 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.2476, allocations: 283.3 kB / 0.5385 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2487, allocations: 1.118 MB / 0.5396 GB, free: 3.625 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2487, allocations: 0 / 0.5396 GB, free: 3.625 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2487, allocations: 0 / 0.5396 GB, free: 3.625 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2487, allocations: 3.938 kB / 0.5396 GB, free: 3.621 MB / 442.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.001437/0.2501, allocations: 0.9873 MB / 0.5406 GB, free: 2.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2502, allocations: 8.031 kB / 0.5406 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.933e-05/0.2503, allocations: 98.69 kB / 0.5407 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.2505, allocations: 99.77 kB / 0.5408 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.251, allocations: 475.5 kB / 0.5412 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2512, allocations: 152.4 kB / 0.5414 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.2512, allocations: 44.38 kB / 0.5414 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008901/0.2521, allocations: 1.08 MB / 0.5425 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2521, allocations: 4 kB / 0.5425 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.2522, allocations: 27.98 kB / 0.5425 GB, free: 448 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.2522, allocations: 40.92 kB / 0.5425 GB, free: 404 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.2529, allocations: 0.6362 MB / 0.5432 GB, free: 15.76 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.002819/0.2557, allocations: 3.409 MB / 0.5465 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.2563, allocations: 390.5 kB / 0.5469 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2565, allocations: 197.4 kB / 0.547 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.2567, allocations: 52.3 kB / 0.5471 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2567, allocations: 42.88 kB / 0.5471 GB, free: 11.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.2567, allocations: 4 kB / 0.5471 GB, free: 11.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001993/0.2587, allocations: 1.451 MB / 0.5486 GB, free: 10.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2587, allocations: 142.8 kB / 0.5487 GB, free: 9.887 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.2592, allocations: 0.5848 MB / 0.5493 GB, free: 9.293 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2592, allocations: 33.7 kB / 0.5493 GB, free: 9.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.2594, allocations: 363.9 kB / 0.5496 GB, free: 8.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.2595, allocations: 166.6 kB / 0.5498 GB, free: 8.727 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2596, allocations: 138.6 kB / 0.5499 GB, free: 8.586 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2597, allocations: 374.8 kB / 0.5503 GB, free: 8.211 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.2599, allocations: 221.9 kB / 0.5505 GB, free: 7.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.2603, allocations: 0.5997 MB / 0.5511 GB, free: 7.242 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.2611, allocations: 0.7766 MB / 0.5518 GB, free: 6.336 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2611, allocations: 4 kB / 0.5518 GB, free: 6.332 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001068/0.2622, allocations: 0.9351 MB / 0.5528 GB, free: 5.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2622, allocations: 8 kB / 0.5528 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2622, allocations: 8 kB / 0.5528 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.2628, allocations: 271.7 kB / 0.553 GB, free: 5.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.263, allocations: 127.8 kB / 0.5532 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006131/0.2636, allocations: 0.8684 MB / 0.554 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.2639, allocations: 27.94 kB / 0.554 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2639, allocations: 43.94 kB / 0.5541 GB, free: 4.016 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.2641, allocations: 239.3 kB / 0.5543 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.2642, allocations: 67.58 kB / 0.5544 GB, free: 3.707 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.265, allocations: 0.7232 MB / 0.5551 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.265, allocations: 7.938 kB / 0.5551 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.265, allocations: 1.031 kB / 0.5551 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.265, allocations: 0 / 0.5551 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2663, allocations: 1.304 MB / 0.5564 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2663, allocations: 0 / 0.5564 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.2668, allocations: 195.8 kB / 0.5565 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.2669, allocations: 60.67 kB / 0.5566 GB, free: 1.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.267, allocations: 11.98 kB / 0.5566 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.2684, allocations: 2.771 MB / 0.5593 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2684, allocations: 12.19 kB / 0.5593 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/0.2694, allocations: 0.9998 MB / 0.5603 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.2696, allocations: 127.5 kB / 0.5604 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.2696, allocations: 13.97 kB / 0.5604 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.2698, allocations: 12 kB / 0.5605 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.2699, allocations: 43.86 kB / 0.5605 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2699, allocations: 23.98 kB / 0.5605 GB, free: 13.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003162/0.2702, allocations: 419 kB / 0.5609 GB, free: 12.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2702, allocations: 4.062 kB / 0.5609 GB, free: 12.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.2707, allocations: 203.9 kB / 0.5611 GB, free: 12.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.272, allocations: 1.674 MB / 0.5627 GB, free: 10.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.2727, allocations: 0.5743 MB / 0.5633 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2728, allocations: 4 kB / 0.5633 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.2734, allocations: 475.7 kB / 0.5638 GB, free: 9.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.2744, allocations: 379.7 kB / 0.5641 GB, free: 9.328 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.2803, allocations: 6.463 MB / 0.5704 GB, free: 2.477 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2806, allocations: 341.4 kB / 0.5708 GB, free: 2.117 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.281, allocations: 210.5 kB / 0.571 GB, free: 1.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.2812, allocations: 232.4 kB / 0.5712 GB, free: 1.695 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2812, allocations: 3.938 kB / 0.5712 GB, free: 1.691 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.312, allocations: 23.66 MB / 0.5943 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.782/9.094, allocations: 15.88 kB / 0.5943 GB, free: 10.46 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.137456169351935]