Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001323/0.001323, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001416/0.001416, allocations: 192 kB / 18.56 MB, free: 4.434 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.222/0.222, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 60.09 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03146/0.1489, allocations: 26.79 MB / 496.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.1519, allocations: 2.959 MB / 499.1 MB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1521, allocations: 0 / 499.1 MB, free: 424 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1524, allocations: 51.61 kB / 499.1 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.1541, allocations: 0.7227 MB / 499.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1545, allocations: 135.5 kB / 0.4883 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.155, allocations: 374.1 kB / 0.4886 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.1551, allocations: 13.67 kB / 0.4887 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2558/0.4109, allocations: 15.48 MB / 0.5038 GB, free: 24.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.4113, allocations: 145.7 kB / 0.5039 GB, free: 24.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.4114, allocations: 8.438 kB / 0.5039 GB, free: 24.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008725/0.4201, allocations: 3.45 MB / 0.5073 GB, free: 23.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.771e-05/0.4202, allocations: 44.81 kB / 0.5073 GB, free: 23.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.4204, allocations: 104.9 kB / 0.5074 GB, free: 23.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.4213, allocations: 464.4 kB / 0.5079 GB, free: 23.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4213, allocations: 1.156 kB / 0.5079 GB, free: 23.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4213, allocations: 0 / 0.5079 GB, free: 23.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4213, allocations: 0 / 0.5079 GB, free: 23.25 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001056/0.4224, allocations: 0.6054 MB / 0.5085 GB, free: 22.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4224, allocations: 10.03 kB / 0.5085 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/0.4225, allocations: 57.88 kB / 0.5085 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4227, allocations: 25.75 kB / 0.5086 GB, free: 22.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.4229, allocations: 232.4 kB / 0.5088 GB, free: 22.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.423, allocations: 123.5 kB / 0.5089 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.423, allocations: 29.38 kB / 0.5089 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.4235, allocations: 322.9 kB / 0.5092 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4235, allocations: 5.359 kB / 0.5092 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4235, allocations: 9.594 kB / 0.5092 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.4236, allocations: 7.578 kB / 0.5092 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.4244, allocations: 0.7366 MB / 0.51 GB, free: 22.38 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.001105/0.4255, allocations: 1.305 MB / 0.5112 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.4259, allocations: 162 kB / 0.5114 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.426, allocations: 89.23 kB / 0.5115 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.4278, allocations: 2.811 MB / 0.5142 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4279, allocations: 37.95 kB / 0.5143 GB, free: 18.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.4279, allocations: 3.094 kB / 0.5143 GB, free: 18.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002803/0.4282, allocations: 122.7 kB / 0.5144 GB, free: 18.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.4282, allocations: 56.86 kB / 0.5144 GB, free: 18.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4284, allocations: 216 kB / 0.5146 GB, free: 18.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4284, allocations: 29.77 kB / 0.5147 GB, free: 18.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4285, allocations: 217.9 kB / 0.5149 GB, free: 17.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4286, allocations: 46.39 kB / 0.5149 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.4287, allocations: 84.88 kB / 0.515 GB, free: 17.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.4287, allocations: 333.3 kB / 0.5153 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.4288, allocations: 45.62 kB / 0.5154 GB, free: 17.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.429, allocations: 347.8 kB / 0.5157 GB, free: 17.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.4293, allocations: 440 kB / 0.5161 GB, free: 16.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4294, allocations: 2.75 kB / 0.5161 GB, free: 16.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005216/0.4299, allocations: 382.9 kB / 0.5165 GB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4299, allocations: 9.172 kB / 0.5165 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4299, allocations: 10.97 kB / 0.5165 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.43, allocations: 18.31 kB / 0.5165 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.4302, allocations: 101.8 kB / 0.5166 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.4302, allocations: 17.44 kB / 0.5166 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.4305, allocations: 61.09 kB / 0.5167 GB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.4305, allocations: 29.98 kB / 0.5167 GB, free: 16.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.4306, allocations: 145.8 kB / 0.5169 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.4307, allocations: 18.41 kB / 0.5169 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.431, allocations: 150.5 kB / 0.517 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.431, allocations: 1.719 kB / 0.517 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.431, allocations: 3.984 kB / 0.517 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.431, allocations: 2.344 kB / 0.517 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.4314, allocations: 410.3 kB / 0.5174 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4314, allocations: 4.266 kB / 0.5174 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.4315, allocations: 15.72 kB / 0.5174 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4315, allocations: 1.375 kB / 0.5174 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4315, allocations: 7.219 kB / 0.5174 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4315, allocations: 1.125 kB / 0.5174 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4315, allocations: 1.031 kB / 0.5175 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4317, allocations: 206.6 kB / 0.5176 GB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.4317, allocations: 100.2 kB / 0.5177 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.4318, allocations: 6.594 kB / 0.5177 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.432, allocations: 7.875 kB / 0.5178 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.432, allocations: 9.953 kB / 0.5178 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.432, allocations: 5.125 kB / 0.5178 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.4321, allocations: 164.9 kB / 0.5179 GB, free: 15.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4321, allocations: 1.531 kB / 0.5179 GB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.4326, allocations: 89.33 kB / 0.518 GB, free: 15.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005191/0.4332, allocations: 0.7946 MB / 0.5188 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.4335, allocations: 175.8 kB / 0.519 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4335, allocations: 0.6562 kB / 0.519 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.4335, allocations: 25.69 kB / 0.519 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.434, allocations: 51.78 kB / 0.519 GB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.437, allocations: 2.804 MB / 0.5218 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.4372, allocations: 0.7224 MB / 0.5225 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.4375, allocations: 56.16 kB / 0.5225 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.4376, allocations: 65.44 kB / 0.5226 GB, free: 12.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4376, allocations: 0.9688 kB / 0.5226 GB, free: 12.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.4588, allocations: 5.165 MB / 0.5276 GB, free: 11.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/8.081, allocations: 10.28 kB / 0.5276 GB, free: 11.59 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches