Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001294/0.001294, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001475/0.001475, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.23/0.23, allocations: 46.91 MB / 357.1 MB, free: 10.31 MB / 286.1 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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 67.91 kB / 0.4909 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1276, allocations: 65.99 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02624/0.1538, allocations: 20.49 MB / 0.5754 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007218/0.161, allocations: 4.306 MB / 0.5796 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/0.1618, allocations: 27.75 kB / 0.5796 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.163, allocations: 318 kB / 0.5799 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.1655, allocations: 0.8745 MB / 0.5808 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.1681, allocations: 0.8952 MB / 0.5817 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.171, allocations: 1.797 MB / 0.5834 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.1719, allocations: 405.5 kB / 0.5838 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.1743, allocations: 0.9496 MB / 0.5847 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.1757, allocations: 0.685 MB / 0.5854 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.176, allocations: 60 kB / 0.5854 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.1771, allocations: 315.6 kB / 0.5857 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.1776, allocations: 263.2 kB / 0.586 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000835/0.1784, allocations: 398.2 kB / 0.5864 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.1806, allocations: 1.082 MB / 0.5874 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1806, allocations: 0 / 0.5874 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1806, allocations: 0 / 0.5874 GB, free: 4.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.459e-05/0.1807, allocations: 0 / 0.5874 GB, free: 4.895 MB / 446.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.002988/0.1836, allocations: 1.07 MB / 0.5885 GB, free: 3.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1837, allocations: 8.031 kB / 0.5885 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.1839, allocations: 102.7 kB / 0.5886 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.1843, allocations: 96.41 kB / 0.5887 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.1855, allocations: 0.5292 MB / 0.5892 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.1856, allocations: 104.9 kB / 0.5893 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1857, allocations: 52.08 kB / 0.5893 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.1872, allocations: 0.8175 MB / 0.5901 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1872, allocations: 3.938 kB / 0.5901 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.1873, allocations: 27.98 kB / 0.5902 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.122e-05/0.1874, allocations: 36.98 kB / 0.5902 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1886, allocations: 0.6478 MB / 0.5908 GB, free: 1.219 MB / 446.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.2343/0.4229, allocations: 4.197 MB / 0.5949 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.4238, allocations: 395.1 kB / 0.5953 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.4242, allocations: 199.1 kB / 0.5955 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/0.4246, allocations: 0.5042 MB / 0.596 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4246, allocations: 36.52 kB / 0.596 GB, free: 34.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.4246, allocations: 0.8125 kB / 0.596 GB, free: 34.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003525/0.4281, allocations: 1.534 MB / 0.5975 GB, free: 33.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.4282, allocations: 139.4 kB / 0.5977 GB, free: 33.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/0.429, allocations: 0.572 MB / 0.5982 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.429, allocations: 39.14 kB / 0.5983 GB, free: 33.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.4292, allocations: 360.1 kB / 0.5986 GB, free: 33.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.4294, allocations: 172.6 kB / 0.5988 GB, free: 33.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4296, allocations: 134.5 kB / 0.5989 GB, free: 33.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4297, allocations: 380 kB / 0.5993 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.4302, allocations: 222.7 kB / 0.5995 GB, free: 32.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.4307, allocations: 0.5266 MB / 0.6 GB, free: 32.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.4316, allocations: 0.774 MB / 0.6007 GB, free: 31.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4316, allocations: 2.812 kB / 0.6007 GB, free: 31.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002037/0.4337, allocations: 0.9348 MB / 0.6017 GB, free: 31.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.4337, allocations: 9.719 kB / 0.6017 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.4337, allocations: 10.66 kB / 0.6017 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4349, allocations: 272.6 kB / 0.6019 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.4354, allocations: 120.8 kB / 0.6021 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.4363, allocations: 0.8716 MB / 0.6029 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.4369, allocations: 31.78 kB / 0.6029 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.4369, allocations: 37.3 kB / 0.603 GB, free: 30.75 MB / 446.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.0003532/0.4373, allocations: 245.8 kB / 0.6032 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.4374, allocations: 73.52 kB / 0.6033 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.4389, allocations: 0.7072 MB / 0.604 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4389, allocations: 7.109 kB / 0.604 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4389, allocations: 0 / 0.604 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4389, allocations: 3.047 kB / 0.604 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.4412, allocations: 1.399 MB / 0.6053 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.4412, allocations: 3.234 kB / 0.6053 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.4423, allocations: 197 kB / 0.6055 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.4426, allocations: 58.72 kB / 0.6056 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.4426, allocations: 14.98 kB / 0.6056 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.4445, allocations: 2.987 MB / 0.6085 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4445, allocations: 3.391 kB / 0.6085 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.446, allocations: 1.002 MB / 0.6095 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.4463, allocations: 200.5 kB / 0.6097 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.4463, allocations: 14.25 kB / 0.6097 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4467, allocations: 19.03 kB / 0.6097 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4468, allocations: 41.16 kB / 0.6098 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.4469, allocations: 20.48 kB / 0.6098 GB, free: 25.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005527/0.4474, allocations: 424.8 kB / 0.6102 GB, free: 25.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4474, allocations: 0 / 0.6102 GB, free: 25.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008944/0.4483, allocations: 207.6 kB / 0.6104 GB, free: 25.52 MB / 446.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.002139/0.4505, allocations: 1.661 MB / 0.612 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.4517, allocations: 0.5883 MB / 0.6126 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4517, allocations: 1.125 kB / 0.6126 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.4529, allocations: 468 kB / 0.613 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4547, allocations: 379.4 kB / 0.6134 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009184/0.4639, allocations: 6.547 MB / 0.6198 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.4644, allocations: 0.936 MB / 0.6207 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008114/0.4652, allocations: 200.8 kB / 0.6209 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.4655, allocations: 241.6 kB / 0.6211 GB, free: 19.09 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4655, allocations: 0 / 0.6211 GB, free: 19.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.5167, allocations: 22.24 MB / 0.6428 GB, free: 2.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.95, allocations: 8 kB / 0.6429 GB, free: 2.281 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 17.116217244882137]