Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008406/0.0008406, 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.001039/0.001039, 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.8902/0.8902, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2587/0.2587, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_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.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.402e-05, allocations: 10.16 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1895/0.1896, allocations: 39.68 MB / 481.9 MB, free: 19.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.1931, allocations: 4.06 MB / 485.9 MB, free: 16.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.1934, allocations: 27.84 kB / 485.9 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.194, allocations: 310.6 kB / 486.3 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.1951, allocations: 0.9128 MB / 487.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1963, allocations: 0.9385 MB / 488.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.1972, allocations: 1.829 MB / 489.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.1976, allocations: 402.2 kB / 490.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05904/0.2566, allocations: 44.58 MB / 0.5224 GB, free: 3.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00956/0.2662, allocations: 7.9 MB / 0.5301 GB, free: 11.87 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.2664, allocations: 60 kB / 0.5301 GB, free: 11.81 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/0.279, allocations: 10.6 MB / 0.5405 GB, free: 1.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.2794, allocations: 283.1 kB / 0.5408 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.2799, allocations: 283.3 kB / 0.541 GB, free: 0.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.2813, allocations: 1.114 MB / 0.5421 GB, free: 15.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2813, allocations: 0 / 0.5421 GB, free: 15.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2813, allocations: 0 / 0.5421 GB, free: 15.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.2813, allocations: 0 / 0.5421 GB, free: 15.43 MB / 458.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.001791/0.2831, allocations: 0.9932 MB / 0.5431 GB, free: 14.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2832, allocations: 12.03 kB / 0.5431 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.634e-05/0.2833, allocations: 96.2 kB / 0.5432 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.2835, allocations: 92.45 kB / 0.5433 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.2842, allocations: 477.9 kB / 0.5437 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.2843, allocations: 152.4 kB / 0.5439 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.2844, allocations: 60.3 kB / 0.5439 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2854, allocations: 1.069 MB / 0.545 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2854, allocations: 0 / 0.545 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.2855, allocations: 24 kB / 0.545 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.2855, allocations: 44.91 kB / 0.5451 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.2863, allocations: 0.64 MB / 0.5457 GB, free: 11.56 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.00314/0.2895, allocations: 3.402 MB / 0.549 GB, free: 8.035 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.29, allocations: 407.8 kB / 0.5494 GB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.2903, allocations: 193.4 kB / 0.5496 GB, free: 7.441 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.2904, allocations: 52.28 kB / 0.5496 GB, free: 7.391 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2905, allocations: 38.89 kB / 0.5497 GB, free: 7.344 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.2905, allocations: 2.344 kB / 0.5497 GB, free: 7.344 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.00205/0.2925, allocations: 1.452 MB / 0.5511 GB, free: 5.852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.2926, allocations: 136.5 kB / 0.5512 GB, free: 5.688 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.293, allocations: 0.5848 MB / 0.5518 GB, free: 5.094 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.2931, allocations: 37.7 kB / 0.5518 GB, free: 5.051 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2933, allocations: 359.9 kB / 0.5522 GB, free: 4.691 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2934, allocations: 162.6 kB / 0.5523 GB, free: 4.531 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2935, allocations: 142.6 kB / 0.5524 GB, free: 4.387 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2936, allocations: 374.8 kB / 0.5528 GB, free: 4.012 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.2939, allocations: 225.9 kB / 0.553 GB, free: 3.793 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.2943, allocations: 0.5968 MB / 0.5536 GB, free: 3.043 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.295, allocations: 0.7845 MB / 0.5544 GB, free: 2.129 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.295, allocations: 0 / 0.5544 GB, free: 2.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001155/0.2962, allocations: 0.9349 MB / 0.5553 GB, free: 1.188 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2962, allocations: 12 kB / 0.5553 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2962, allocations: 8 kB / 0.5553 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.2968, allocations: 257.3 kB / 0.5555 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.297, allocations: 135.8 kB / 0.5557 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006335/0.2976, allocations: 0.8639 MB / 0.5565 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.2979, allocations: 35.92 kB / 0.5566 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.2979, allocations: 35.19 kB / 0.5566 GB, free: 15.83 MB / 474.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.0002147/0.2981, allocations: 255.3 kB / 0.5568 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.2982, allocations: 67.58 kB / 0.5569 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.299, allocations: 0.7223 MB / 0.5576 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2991, allocations: 7.984 kB / 0.5576 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2991, allocations: 4 kB / 0.5576 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2991, allocations: 0 / 0.5576 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.3004, allocations: 1.292 MB / 0.5589 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3004, allocations: 4 kB / 0.5589 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.3009, allocations: 187.8 kB / 0.5591 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.301, allocations: 68.88 kB / 0.5591 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3011, allocations: 12 kB / 0.5591 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.3026, allocations: 2.776 MB / 0.5618 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3026, allocations: 3.938 kB / 0.5619 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.3035, allocations: 1.001 MB / 0.5628 GB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3037, allocations: 127.5 kB / 0.563 GB, free: 8.969 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.3037, allocations: 13.78 kB / 0.563 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3039, allocations: 12 kB / 0.563 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.304, allocations: 43.86 kB / 0.563 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.304, allocations: 16.12 kB / 0.563 GB, free: 8.887 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.3044, allocations: 431 kB / 0.5634 GB, free: 8.465 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3044, allocations: 0 / 0.5634 GB, free: 8.465 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005008/0.3049, allocations: 203.9 kB / 0.5636 GB, free: 8.266 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.001413/0.3063, allocations: 1.671 MB / 0.5653 GB, free: 6.543 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007464/0.307, allocations: 0.5816 MB / 0.5658 GB, free: 5.965 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.307, allocations: 0.5 kB / 0.5658 GB, free: 5.965 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.3077, allocations: 478.2 kB / 0.5663 GB, free: 5.484 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.3087, allocations: 375.8 kB / 0.5667 GB, free: 5.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.3152, allocations: 6.467 MB / 0.573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3154, allocations: 337.4 kB / 0.5733 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.3159, allocations: 206.4 kB / 0.5735 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.3162, allocations: 236.4 kB / 0.5737 GB, free: 13.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3162, allocations: 0 / 0.5737 GB, free: 13.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.3552, allocations: 23.66 MB / 0.5968 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.772, allocations: 7.922 kB / 0.5968 GB, free: 6.277 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.846907371655107]