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.0008072/0.0008074, allocations: 94.47 kB / 17.35 MB, free: 6.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.0008409/0.0008411, allocations: 171.4 kB / 18.25 MB, free: 5.504 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.334/1.334, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2042/0.2042, allocations: 44.23 MB / 337.7 MB, free: 2.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 12.73 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03256/0.1475, allocations: 27.8 MB / 0.4884 GB, free: 1.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1508, allocations: 2.968 MB / 0.4913 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.151, allocations: 0 / 0.4913 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.1512, allocations: 47.72 kB / 0.4914 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.153, allocations: 0.653 MB / 0.492 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1533, allocations: 125.8 kB / 0.4921 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.1539, allocations: 446 kB / 0.4926 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1539, allocations: 21.67 kB / 0.4926 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2596/0.4136, allocations: 14.42 MB / 0.5067 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.4142, allocations: 155.9 kB / 0.5068 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.4142, allocations: 6.812 kB / 0.5068 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.4243, allocations: 3.433 MB / 0.5102 GB, free: 21.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.4245, allocations: 44.17 kB / 0.5102 GB, free: 21.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.4248, allocations: 133.6 kB / 0.5103 GB, free: 21.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.4262, allocations: 471.5 kB / 0.5108 GB, free: 21.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4262, allocations: 0 / 0.5108 GB, free: 21.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4262, allocations: 2.812 kB / 0.5108 GB, free: 21.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.4262, allocations: 1.438 kB / 0.5108 GB, free: 21.58 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.00113/0.4273, allocations: 0.5524 MB / 0.5113 GB, free: 21.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4274, allocations: 9.422 kB / 0.5113 GB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.839e-05/0.4275, allocations: 62.2 kB / 0.5114 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.4276, allocations: 25.7 kB / 0.5114 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.4279, allocations: 225.8 kB / 0.5116 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.428, allocations: 124.8 kB / 0.5118 GB, free: 20.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.4281, allocations: 22.56 kB / 0.5118 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.4286, allocations: 327.8 kB / 0.5121 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4287, allocations: 1.031 kB / 0.5121 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.4287, allocations: 11.73 kB / 0.5121 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.4288, allocations: 6.156 kB / 0.5121 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.43, allocations: 0.7383 MB / 0.5128 GB, free: 20.7 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.001352/0.4313, allocations: 1.3 MB / 0.5141 GB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.4317, allocations: 165.7 kB / 0.5143 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4319, allocations: 84.08 kB / 0.5143 GB, free: 19.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/0.434, allocations: 2.803 MB / 0.5171 GB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.434, allocations: 42.98 kB / 0.5171 GB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.434, allocations: 2.406 kB / 0.5171 GB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002786/0.4343, allocations: 114 kB / 0.5172 GB, free: 16.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.4344, allocations: 54.91 kB / 0.5173 GB, free: 16.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.4346, allocations: 229.7 kB / 0.5175 GB, free: 16.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4346, allocations: 30.02 kB / 0.5175 GB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4347, allocations: 215.5 kB / 0.5177 GB, free: 16.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.4347, allocations: 47.08 kB / 0.5178 GB, free: 16.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.4348, allocations: 38.95 kB / 0.5178 GB, free: 16.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.4349, allocations: 328 kB / 0.5181 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.4349, allocations: 46.41 kB / 0.5182 GB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.4352, allocations: 345.7 kB / 0.5185 GB, free: 15.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.4356, allocations: 445.6 kB / 0.5189 GB, free: 15.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.4356, allocations: 3.781 kB / 0.5189 GB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005643/0.4362, allocations: 380.9 kB / 0.5193 GB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.4362, allocations: 10 kB / 0.5193 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.4362, allocations: 11.03 kB / 0.5193 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.4363, allocations: 22.98 kB / 0.5193 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.4365, allocations: 100.2 kB / 0.5194 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.4366, allocations: 21 kB / 0.5194 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.4368, allocations: 58.38 kB / 0.5195 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.4369, allocations: 30.06 kB / 0.5195 GB, free: 15.08 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.6e-05/0.437, allocations: 144.1 kB / 0.5197 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.437, allocations: 19.06 kB / 0.5197 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4373, allocations: 160.7 kB / 0.5198 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4373, allocations: 2.953 kB / 0.5198 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4373, allocations: 3.469 kB / 0.5198 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4373, allocations: 8.594 kB / 0.5199 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.4377, allocations: 402 kB / 0.5202 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4377, allocations: 1.641 kB / 0.5202 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.4378, allocations: 13.83 kB / 0.5203 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4378, allocations: 2.406 kB / 0.5203 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4378, allocations: 5.75 kB / 0.5203 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4378, allocations: 3.703 kB / 0.5203 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4378, allocations: 5.656 kB / 0.5203 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.438, allocations: 206.7 kB / 0.5205 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.438, allocations: 107.1 kB / 0.5206 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.4381, allocations: 1.938 kB / 0.5206 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4382, allocations: 8.922 kB / 0.5206 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.4383, allocations: 13.08 kB / 0.5206 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4383, allocations: 4.875 kB / 0.5206 GB, free: 14.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4384, allocations: 153 kB / 0.5207 GB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4384, allocations: 0 / 0.5207 GB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.4389, allocations: 91.94 kB / 0.5208 GB, free: 14.2 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.0005442/0.4395, allocations: 0.7973 MB / 0.5216 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4398, allocations: 170.3 kB / 0.5218 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4398, allocations: 4.156 kB / 0.5218 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.4399, allocations: 27.7 kB / 0.5218 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4404, allocations: 46.89 kB / 0.5218 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.4431, allocations: 2.909 MB / 0.5247 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.4433, allocations: 0.726 MB / 0.5254 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.4435, allocations: 58.34 kB / 0.5255 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.4436, allocations: 55.45 kB / 0.5255 GB, free: 10.53 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4436, allocations: 0 / 0.5255 GB, free: 10.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.4594, allocations: 4.918 MB / 0.5303 GB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.4596, allocations: 215.9 kB / 0.5305 GB, free: 9.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.294, allocations: 0 / 0.5305 GB, free: 9.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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