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.0007873/0.0007873, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007768/0.0007768, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8514/0.8514, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2372/0.2372, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.322e-06/1.322e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.403e-05, allocations: 6.219 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1739/0.1739, allocations: 39.67 MB / 479.3 MB, free: 22.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1779, allocations: 4.062 MB / 483.3 MB, free: 19.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.1783, allocations: 31.88 kB / 483.4 MB, free: 19.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.179, allocations: 319.8 kB / 483.7 MB, free: 19.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1803, allocations: 0.9038 MB / 484.6 MB, free: 19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1819, allocations: 0.944 MB / 485.5 MB, free: 18.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.1832, allocations: 1.831 MB / 487.4 MB, free: 17.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.1836, allocations: 395.8 kB / 487.7 MB, free: 17.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0547/0.2383, allocations: 44.58 MB / 0.5198 GB, free: 8.035 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009079/0.2474, allocations: 7.908 MB / 0.5276 GB, free: 36 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.2476, allocations: 60.05 kB / 0.5276 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.2594, allocations: 10.59 MB / 0.538 GB, free: 5.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.2598, allocations: 279.1 kB / 0.5382 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.2602, allocations: 275.4 kB / 0.5385 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2615, allocations: 1.126 MB / 0.5396 GB, free: 3.598 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2615, allocations: 0 / 0.5396 GB, free: 3.598 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2615, allocations: 4 kB / 0.5396 GB, free: 3.594 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.2615, allocations: 0 / 0.5396 GB, free: 3.594 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.001539/0.263, allocations: 0.9834 MB / 0.5406 GB, free: 2.578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2631, allocations: 16.02 kB / 0.5406 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.61e-05/0.2632, allocations: 98.69 kB / 0.5407 GB, free: 2.457 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.2634, allocations: 91.84 kB / 0.5408 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.264, allocations: 487.4 kB / 0.5412 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2641, allocations: 156.3 kB / 0.5414 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.2642, allocations: 48.38 kB / 0.5414 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.2651, allocations: 1.069 MB / 0.5425 GB, free: 448 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2652, allocations: 4 kB / 0.5425 GB, free: 444 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.2652, allocations: 19.98 kB / 0.5425 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.2653, allocations: 48.91 kB / 0.5425 GB, free: 372 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.266, allocations: 0.6401 MB / 0.5432 GB, free: 15.72 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.002803/0.2688, allocations: 3.405 MB / 0.5465 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.2693, allocations: 388 kB / 0.5468 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.2695, allocations: 193.4 kB / 0.547 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.2697, allocations: 60.28 kB / 0.5471 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2697, allocations: 34.89 kB / 0.5471 GB, free: 11.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.953e-06/0.2697, allocations: 4 kB / 0.5471 GB, free: 11.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.002048/0.2718, allocations: 1.455 MB / 0.5485 GB, free: 10.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.2718, allocations: 138.9 kB / 0.5487 GB, free: 9.859 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.2723, allocations: 0.5848 MB / 0.5493 GB, free: 9.266 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.2723, allocations: 37.7 kB / 0.5493 GB, free: 9.223 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.2725, allocations: 355.9 kB / 0.5496 GB, free: 8.867 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.2726, allocations: 166.6 kB / 0.5498 GB, free: 8.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.2727, allocations: 142.6 kB / 0.5499 GB, free: 8.559 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2728, allocations: 374.8 kB / 0.5503 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.2731, allocations: 229.9 kB / 0.5505 GB, free: 7.961 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.2735, allocations: 0.5955 MB / 0.5511 GB, free: 7.211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.2741, allocations: 0.7805 MB / 0.5518 GB, free: 6.301 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2741, allocations: 4 kB / 0.5518 GB, free: 6.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001095/0.2752, allocations: 0.9307 MB / 0.5528 GB, free: 5.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2753, allocations: 13 kB / 0.5528 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2753, allocations: 8 kB / 0.5528 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.2759, allocations: 274.1 kB / 0.553 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2761, allocations: 119.8 kB / 0.5532 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006538/0.2768, allocations: 0.8739 MB / 0.554 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.277, allocations: 27.98 kB / 0.554 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.2771, allocations: 32 kB / 0.5541 GB, free: 3.992 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.0002421/0.2773, allocations: 247.8 kB / 0.5543 GB, free: 3.742 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2774, allocations: 71.52 kB / 0.5544 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.2783, allocations: 0.7109 MB / 0.5551 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2783, allocations: 7.938 kB / 0.5551 GB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2783, allocations: 5.031 kB / 0.5551 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2783, allocations: 3.984 kB / 0.5551 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.2796, allocations: 1.3 MB / 0.5563 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2796, allocations: 4 kB / 0.5564 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.2801, allocations: 191.7 kB / 0.5565 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.2802, allocations: 64.94 kB / 0.5566 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2803, allocations: 16 kB / 0.5566 GB, free: 1.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.2817, allocations: 2.771 MB / 0.5593 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2817, allocations: 4.031 kB / 0.5593 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/0.2827, allocations: 1 MB / 0.5603 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.2829, allocations: 123.5 kB / 0.5604 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.2829, allocations: 17.95 kB / 0.5604 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2831, allocations: 16.12 kB / 0.5604 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.2832, allocations: 39.88 kB / 0.5605 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.2832, allocations: 23.92 kB / 0.5605 GB, free: 13.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.2835, allocations: 423 kB / 0.5609 GB, free: 12.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2835, allocations: 0 / 0.5609 GB, free: 12.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004935/0.284, allocations: 207.9 kB / 0.5611 GB, free: 12.43 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.001468/0.2855, allocations: 1.677 MB / 0.5627 GB, free: 10.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007723/0.2862, allocations: 0.5821 MB / 0.5633 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2862, allocations: 3.938 kB / 0.5633 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/0.2869, allocations: 463.3 kB / 0.5638 GB, free: 9.656 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.2879, allocations: 378.9 kB / 0.5641 GB, free: 9.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/0.2942, allocations: 6.463 MB / 0.5704 GB, free: 2.445 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2944, allocations: 341.4 kB / 0.5708 GB, free: 2.086 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.2949, allocations: 215.4 kB / 0.571 GB, free: 1.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.2951, allocations: 236.4 kB / 0.5712 GB, free: 1.66 MB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2951, allocations: 0 / 0.5712 GB, free: 1.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.3307, allocations: 23.66 MB / 0.5943 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.825, allocations: 3.938 kB / 0.5943 GB, free: 10.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.807897259481251]