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.001145/0.001145, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001362/0.001362, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8659/0.8659, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 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.1463/0.1463, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.417e-05, allocations: 5.656 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01583/0.01585, allocations: 18.47 MB / 425.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.02117, allocations: 3.986 MB / 429.3 MB, free: 6.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.02202, allocations: 27.75 kB / 429.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.02338, allocations: 321.8 kB / 429.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.02543, allocations: 0.9009 MB / 430.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.02792, allocations: 0.9501 MB / 431.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.03011, allocations: 1.832 MB / 433.4 MB, free: 2.914 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000696/0.03081, allocations: 397.6 kB / 433.7 MB, free: 2.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.03275, allocations: 1.172 MB / 434.9 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.03359, allocations: 0.6116 MB / 435.5 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.03368, allocations: 60 kB / 435.6 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.03438, allocations: 291.4 kB / 435.9 MB, free: 396 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.03462, allocations: 279.1 kB / 436.1 MB, free: 116 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2104/0.2451, allocations: 275.5 kB / 436.4 MB, free: 17.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.247, allocations: 1.12 MB / 437.5 MB, free: 17.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.247, allocations: 1.156 kB / 437.5 MB, free: 17.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.247, allocations: 0 / 437.5 MB, free: 17.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.247, allocations: 0 / 437.5 MB, free: 17.38 MB / 362.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.001952/0.249, allocations: 0.9928 MB / 438.5 MB, free: 16.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.249, allocations: 10.34 kB / 438.5 MB, free: 16.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2491, allocations: 99.48 kB / 438.6 MB, free: 16.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.2495, allocations: 91.84 kB / 438.7 MB, free: 16.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.2503, allocations: 475.7 kB / 439.2 MB, free: 16.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.2504, allocations: 156.8 kB / 439.3 MB, free: 16.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.2505, allocations: 47.34 kB / 439.4 MB, free: 16.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.2518, allocations: 1.098 MB / 440.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2519, allocations: 6.969 kB / 440.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.2519, allocations: 23.44 kB / 440.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.252, allocations: 38 kB / 440.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009463/0.2529, allocations: 0.6432 MB / 441.2 MB, free: 15.95 MB / 362.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.004001/0.2569, allocations: 3.412 MB / 444.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.2578, allocations: 402.3 kB / 445 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.2582, allocations: 195.9 kB / 445.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.2585, allocations: 53.19 kB / 445.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2585, allocations: 37.89 kB / 445.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.887e-06/0.2585, allocations: 0 / 445.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.003015/0.2615, allocations: 1.458 MB / 446.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.2616, allocations: 134 kB / 446.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.2626, allocations: 0.5861 MB / 447.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.2626, allocations: 35.67 kB / 447.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.2629, allocations: 364.6 kB / 447.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.263, allocations: 167.5 kB / 448 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.2632, allocations: 137.4 kB / 448.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.2633, allocations: 374.4 kB / 448.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.2637, allocations: 232.7 kB / 448.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.2642, allocations: 0.5977 MB / 449.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.265, allocations: 0.7773 MB / 450.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2651, allocations: 3.562 kB / 450.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001589/0.2666, allocations: 0.94 MB / 451.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.2667, allocations: 9.297 kB / 451.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.2667, allocations: 10.06 kB / 451.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008163/0.2675, allocations: 269.2 kB / 451.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2678, allocations: 124.1 kB / 451.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007325/0.2685, allocations: 0.8561 MB / 452.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.269, allocations: 34.48 kB / 452.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.269, allocations: 37.17 kB / 452.4 MB, free: 11.14 MB / 362.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.0003231/0.2693, allocations: 241.1 kB / 452.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.2694, allocations: 74.09 kB / 452.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2705, allocations: 0.7202 MB / 453.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.2705, allocations: 5.953 kB / 453.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2705, allocations: 1.406 kB / 453.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.2705, allocations: 3.344 kB / 453.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.2722, allocations: 1.292 MB / 454.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2722, allocations: 2.344 kB / 454.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.2728, allocations: 197.8 kB / 454.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.2729, allocations: 63.48 kB / 455 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.273, allocations: 19.78 kB / 455 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.2743, allocations: 2.771 MB / 457.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2743, allocations: 6.031 kB / 457.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2755, allocations: 1.006 MB / 458.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.2757, allocations: 128.1 kB / 458.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2758, allocations: 8.375 kB / 458.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.276, allocations: 19.05 kB / 458.9 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.2761, allocations: 40.62 kB / 459 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.2761, allocations: 28.48 kB / 459 MB, free: 7.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004395/0.2766, allocations: 424.3 kB / 459.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2766, allocations: 0 / 459.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00082/0.2774, allocations: 206.5 kB / 459.6 MB, free: 6.879 MB / 362.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.001661/0.2791, allocations: 1.673 MB / 461.3 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009402/0.28, allocations: 0.5921 MB / 461.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.28, allocations: 1.375 kB / 461.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.2807, allocations: 469.1 kB / 462.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2818, allocations: 384.5 kB / 462.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.2882, allocations: 6.465 MB / 469.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2884, allocations: 337.7 kB / 469.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006025/0.289, allocations: 208.7 kB / 469.7 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.2892, allocations: 238.3 kB / 469.9 MB, free: 1.238 MB / 362.7 MB Notification: Performance of SimCode: time 1.813e-06/0.2892, allocations: 4 kB / 469.9 MB, free: 1.234 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/0.3377, allocations: 23.7 MB / 493.6 MB, free: 12.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.653, allocations: 3.984 kB / 493.6 MB, free: 12.66 MB / 394.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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: 10.748559384606779]