Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001305/0.001305, allocations: 115.5 kB / 17.13 MB, free: 5.891 MB / 14.72 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.001388/0.001388, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 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 1.408/1.408, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.1 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.3094/0.3094, allocations: 44.23 MB / 326.6 MB, free: 6.852 MB / 254.1 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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.91 kB / 462.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.268, allocations: 60.99 MB / 0.511 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01723/0.2853, allocations: 20.39 MB / 0.5309 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007532/0.2928, allocations: 4.302 MB / 0.5351 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000775/0.2936, allocations: 23.75 kB / 0.5351 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2946, allocations: 322 kB / 0.5354 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.2968, allocations: 0.8667 MB / 0.5362 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.2992, allocations: 0.8994 MB / 0.5371 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002332/0.3015, allocations: 1.798 MB / 0.5389 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006637/0.3022, allocations: 409.4 kB / 0.5393 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.3041, allocations: 0.9418 MB / 0.5402 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3051, allocations: 0.6734 MB / 0.5409 GB, free: 256 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3053, allocations: 60 kB / 0.5409 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.3061, allocations: 307.6 kB / 0.5412 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.3065, allocations: 275.1 kB / 0.5415 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.3069, allocations: 398.2 kB / 0.5418 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.3085, allocations: 1.089 MB / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3085, allocations: 0 / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3085, allocations: 0 / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.3085, allocations: 0 / 0.5429 GB, free: 14.14 MB / 414.1 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.002337/0.3108, allocations: 1.07 MB / 0.544 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3109, allocations: 11.89 kB / 0.544 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.311, allocations: 102.7 kB / 0.5441 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.3114, allocations: 96.45 kB / 0.5442 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/0.3123, allocations: 0.537 MB / 0.5447 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3124, allocations: 101 kB / 0.5448 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.3125, allocations: 52.11 kB / 0.5448 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3138, allocations: 0.8251 MB / 0.5456 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3138, allocations: 4 kB / 0.5456 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.3139, allocations: 24 kB / 0.5457 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/0.314, allocations: 40.97 kB / 0.5457 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3151, allocations: 0.6399 MB / 0.5463 GB, free: 10.46 MB / 414.1 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.005183/0.3203, allocations: 4.229 MB / 0.5505 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.3212, allocations: 391.8 kB / 0.5508 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.3215, allocations: 205.3 kB / 0.551 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/0.3221, allocations: 0.5067 MB / 0.5515 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3221, allocations: 34.89 kB / 0.5515 GB, free: 4.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.3221, allocations: 0 / 0.5515 GB, free: 4.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003429/0.3255, allocations: 1.531 MB / 0.553 GB, free: 3.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.3256, allocations: 140.5 kB / 0.5532 GB, free: 2.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.3263, allocations: 0.5771 MB / 0.5537 GB, free: 2.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.3264, allocations: 33.7 kB / 0.5538 GB, free: 2.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.3267, allocations: 359.9 kB / 0.5541 GB, free: 1.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.3269, allocations: 170.6 kB / 0.5543 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3271, allocations: 138.6 kB / 0.5544 GB, free: 1.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3273, allocations: 378.7 kB / 0.5548 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.3277, allocations: 225.9 kB / 0.555 GB, free: 1.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.3284, allocations: 0.524 MB / 0.5555 GB, free: 388 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3295, allocations: 0.7757 MB / 0.5563 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3295, allocations: 4 kB / 0.5563 GB, free: 15.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0019/0.3314, allocations: 0.9333 MB / 0.5572 GB, free: 14.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3314, allocations: 12 kB / 0.5572 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3314, allocations: 8 kB / 0.5572 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3326, allocations: 269.4 kB / 0.5574 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.333, allocations: 123.8 kB / 0.5576 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.3341, allocations: 0.8589 MB / 0.5584 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.3346, allocations: 31.98 kB / 0.5584 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.3346, allocations: 36 kB / 0.5585 GB, free: 13.17 MB / 430.1 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.0003516/0.335, allocations: 245.6 kB / 0.5587 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3351, allocations: 71.58 kB / 0.5588 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.3365, allocations: 0.7095 MB / 0.5595 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3365, allocations: 8 kB / 0.5595 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3366, allocations: 0 / 0.5595 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.3366, allocations: 7.984 kB / 0.5595 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.3388, allocations: 1.407 MB / 0.5609 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3388, allocations: 4 kB / 0.5609 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.3398, allocations: 195.8 kB / 0.561 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.3401, allocations: 60.89 kB / 0.5611 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.3401, allocations: 16 kB / 0.5611 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/0.3427, allocations: 2.975 MB / 0.564 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3427, allocations: 3.938 kB / 0.564 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3444, allocations: 1.001 MB / 0.565 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.3447, allocations: 204.5 kB / 0.5652 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.3448, allocations: 16.06 kB / 0.5652 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.3452, allocations: 19.98 kB / 0.5652 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.3453, allocations: 35.89 kB / 0.5653 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.3453, allocations: 19.98 kB / 0.5653 GB, free: 5.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005501/0.3459, allocations: 427 kB / 0.5657 GB, free: 5.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 0 / 0.5657 GB, free: 5.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007744/0.3466, allocations: 199.9 kB / 0.5659 GB, free: 5.129 MB / 430.1 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.002379/0.349, allocations: 1.683 MB / 0.5675 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.3503, allocations: 0.5812 MB / 0.5681 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3503, allocations: 0 / 0.5681 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.3516, allocations: 474.6 kB / 0.5685 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.3533, allocations: 373.8 kB / 0.5689 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009934/0.3632, allocations: 6.547 MB / 0.5753 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.3638, allocations: 0.9424 MB / 0.5762 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007084/0.3646, allocations: 202.4 kB / 0.5764 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.3649, allocations: 232.9 kB / 0.5766 GB, free: 9.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3649, allocations: 0 / 0.5766 GB, free: 9.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05759/0.4225, allocations: 22.25 MB / 0.5984 GB, free: 3.359 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.57, allocations: 12.95 kB / 0.5984 GB, free: 3.348 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_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_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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: 16.368435633004992]