Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008899, allocations: 94.53 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00096/0.00096, allocations: 172.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.186/0.186, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 8 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01997/0.1464, allocations: 20.35 MB / 492.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00667/0.1531, allocations: 4.399 MB / 497.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007643/0.1539, allocations: 27.75 kB / 497.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.1547, allocations: 270.5 kB / 497.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1565, allocations: 0.8087 MB / 498.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.1586, allocations: 0.8049 MB / 499 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.1612, allocations: 2.659 MB / 0.4899 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.1618, allocations: 393.3 kB / 0.4903 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1632, allocations: 0.8209 MB / 0.4911 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/0.1641, allocations: 0.65 MB / 0.4917 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.1642, allocations: 32 kB / 0.4918 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.1649, allocations: 267.6 kB / 0.492 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.1652, allocations: 235.3 kB / 0.4922 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.1656, allocations: 391.9 kB / 0.4926 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1668, allocations: 1.032 MB / 0.4936 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1668, allocations: 3.938 kB / 0.4936 GB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1668, allocations: 0 / 0.4936 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1668, allocations: 4 kB / 0.4936 GB, free: 11.98 MB / 382.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.001944/0.1688, allocations: 0.9194 MB / 0.4945 GB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1688, allocations: 12.03 kB / 0.4945 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.169, allocations: 98.64 kB / 0.4946 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.1693, allocations: 95.98 kB / 0.4947 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.17, allocations: 0.4977 MB / 0.4952 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1701, allocations: 96.97 kB / 0.4953 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.1702, allocations: 60.02 kB / 0.4954 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.1714, allocations: 0.8291 MB / 0.4962 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1715, allocations: 4 kB / 0.4962 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.1715, allocations: 20 kB / 0.4962 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.1716, allocations: 40.92 kB / 0.4962 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.1726, allocations: 0.6439 MB / 0.4969 GB, free: 8.488 MB / 382.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.004549/0.1771, allocations: 4.221 MB / 0.501 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/0.178, allocations: 411.9 kB / 0.5014 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1784, allocations: 205.4 kB / 0.5016 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004934/0.1789, allocations: 0.4989 MB / 0.5021 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1789, allocations: 34.89 kB / 0.5021 GB, free: 2.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.1789, allocations: 4 kB / 0.5021 GB, free: 2.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003212/0.1821, allocations: 1.54 MB / 0.5036 GB, free: 1.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.1822, allocations: 136.5 kB / 0.5037 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.1829, allocations: 0.5616 MB / 0.5043 GB, free: 384 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.183, allocations: 37.7 kB / 0.5043 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1943/0.3773, allocations: 346.8 kB / 0.5046 GB, free: 50.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.3776, allocations: 163 kB / 0.5048 GB, free: 50.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3777, allocations: 64.23 kB / 0.5049 GB, free: 50.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3779, allocations: 378.3 kB / 0.5052 GB, free: 50.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.3784, allocations: 224.1 kB / 0.5054 GB, free: 50.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.3789, allocations: 0.5205 MB / 0.5059 GB, free: 50.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/0.3798, allocations: 0.7824 MB / 0.5067 GB, free: 49.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3798, allocations: 5.812 kB / 0.5067 GB, free: 49.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00189/0.3817, allocations: 0.9406 MB / 0.5076 GB, free: 49.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3818, allocations: 11.75 kB / 0.5076 GB, free: 49.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3818, allocations: 9.562 kB / 0.5077 GB, free: 49.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.3829, allocations: 274.5 kB / 0.5079 GB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.3833, allocations: 129.3 kB / 0.508 GB, free: 49.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/0.3842, allocations: 0.8645 MB / 0.5089 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.3847, allocations: 46.47 kB / 0.5089 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.3848, allocations: 32.73 kB / 0.509 GB, free: 49.18 MB / 382.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.0003226/0.3851, allocations: 246.7 kB / 0.5092 GB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3852, allocations: 71.03 kB / 0.5093 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.3865, allocations: 0.7101 MB / 0.51 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3865, allocations: 6.094 kB / 0.51 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3866, allocations: 3.344 kB / 0.51 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3866, allocations: 2.859 kB / 0.51 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.3886, allocations: 1.41 MB / 0.5113 GB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3886, allocations: 2.031 kB / 0.5113 GB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.3896, allocations: 190.6 kB / 0.5115 GB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/0.3899, allocations: 60.56 kB / 0.5116 GB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.39, allocations: 19.7 kB / 0.5116 GB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.3917, allocations: 2.79 MB / 0.5143 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3918, allocations: 1.438 kB / 0.5143 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.3932, allocations: 1.006 MB / 0.5153 GB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.3935, allocations: 197 kB / 0.5155 GB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.3936, allocations: 13.38 kB / 0.5155 GB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.394, allocations: 36.55 kB / 0.5156 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3941, allocations: 44.7 kB / 0.5156 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.3941, allocations: 20.95 kB / 0.5156 GB, free: 44.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000525/0.3947, allocations: 424.1 kB / 0.516 GB, free: 44.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3947, allocations: 1.125 kB / 0.516 GB, free: 44.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007895/0.3955, allocations: 200.1 kB / 0.5162 GB, free: 44.15 MB / 382.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.001961/0.3974, allocations: 1.68 MB / 0.5179 GB, free: 43.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3986, allocations: 0.5997 MB / 0.5184 GB, free: 42.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3986, allocations: 5.219 kB / 0.5184 GB, free: 42.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.3999, allocations: 484.1 kB / 0.5189 GB, free: 42.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.4018, allocations: 354.2 kB / 0.5192 GB, free: 42.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009073/0.4109, allocations: 7.038 MB / 0.5261 GB, free: 38.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4113, allocations: 0.9414 MB / 0.527 GB, free: 37.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007647/0.4121, allocations: 215.7 kB / 0.5272 GB, free: 37.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.4123, allocations: 232.4 kB / 0.5275 GB, free: 37.32 MB / 382.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4124, allocations: 4 kB / 0.5275 GB, free: 37.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.4461, allocations: 20.93 MB / 0.5479 GB, free: 19.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.4463, allocations: 315.2 kB / 0.5482 GB, free: 19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.697, allocations: 2.672 kB / 0.5482 GB, free: 19 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches