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.001126/0.001126, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001043/0.001043, allocations: 192 kB / 18.55 MB, free: 4.566 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.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1869/0.1869, allocations: 44.19 MB / 336.6 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 62.77 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 60.82 MB / 469.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02834/0.1334, allocations: 26.8 MB / 496.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.1367, allocations: 2.955 MB / 499.1 MB, free: 396 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1368, allocations: 0 / 499.1 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1371, allocations: 55.59 kB / 499.2 MB, free: 340 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1389, allocations: 0.7188 MB / 499.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1392, allocations: 135.3 kB / 0.4883 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.1397, allocations: 374.1 kB / 0.4886 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.1398, allocations: 17.66 kB / 0.4887 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2544/0.3941, allocations: 15.47 MB / 0.5038 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.3946, allocations: 145 kB / 0.5039 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.3947, allocations: 8.031 kB / 0.5039 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009664/0.4044, allocations: 3.448 MB / 0.5073 GB, free: 22.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.4045, allocations: 52.17 kB / 0.5073 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.4047, allocations: 101.2 kB / 0.5074 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.4058, allocations: 469.7 kB / 0.5079 GB, free: 22.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4058, allocations: 0 / 0.5079 GB, free: 22.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4058, allocations: 0 / 0.5079 GB, free: 22.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4058, allocations: 1.125 kB / 0.5079 GB, free: 22.63 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.001151/0.407, allocations: 0.6022 MB / 0.5085 GB, free: 22.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.407, allocations: 9.906 kB / 0.5085 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/0.4071, allocations: 59.08 kB / 0.5085 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4073, allocations: 28.61 kB / 0.5086 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.4075, allocations: 225.8 kB / 0.5088 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.4076, allocations: 127.2 kB / 0.5089 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.4077, allocations: 25.44 kB / 0.5089 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.4082, allocations: 325.1 kB / 0.5092 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4082, allocations: 1.281 kB / 0.5092 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.4083, allocations: 10.91 kB / 0.5092 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.4083, allocations: 6.234 kB / 0.5093 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009428/0.4093, allocations: 0.7365 MB / 0.51 GB, free: 21.76 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.001217/0.4105, allocations: 1.304 MB / 0.5112 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.4109, allocations: 161 kB / 0.5114 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.411, allocations: 87.64 kB / 0.5115 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/0.4129, allocations: 2.816 MB / 0.5142 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.413, allocations: 39.45 kB / 0.5143 GB, free: 17.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.413, allocations: 0 / 0.5143 GB, free: 17.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002813/0.4133, allocations: 121.8 kB / 0.5144 GB, free: 17.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.4133, allocations: 52.66 kB / 0.5144 GB, free: 17.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4135, allocations: 219.6 kB / 0.5146 GB, free: 17.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.4135, allocations: 30.89 kB / 0.5147 GB, free: 17.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.4136, allocations: 219.5 kB / 0.5149 GB, free: 17.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.4136, allocations: 43.16 kB / 0.5149 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.4137, allocations: 87.48 kB / 0.515 GB, free: 17.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.4138, allocations: 328.4 kB / 0.5153 GB, free: 17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.4139, allocations: 44.95 kB / 0.5154 GB, free: 17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.4141, allocations: 353 kB / 0.5157 GB, free: 16.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.4144, allocations: 444.5 kB / 0.5161 GB, free: 16.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4144, allocations: 3.188 kB / 0.5161 GB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000519/0.4149, allocations: 385.9 kB / 0.5165 GB, free: 16.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.415, allocations: 9.938 kB / 0.5165 GB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.415, allocations: 10.97 kB / 0.5165 GB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.415, allocations: 17.72 kB / 0.5165 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.4153, allocations: 96.5 kB / 0.5166 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.4153, allocations: 22.58 kB / 0.5166 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.4155, allocations: 54 kB / 0.5167 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4155, allocations: 29.34 kB / 0.5167 GB, free: 16.14 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 8.764e-05/0.4156, allocations: 151.5 kB / 0.5169 GB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.4157, allocations: 21.36 kB / 0.5169 GB, free: 16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4159, allocations: 147 kB / 0.517 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.416, allocations: 6.078 kB / 0.517 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.416, allocations: 0.875 kB / 0.517 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.416, allocations: 3.922 kB / 0.517 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.4164, allocations: 403.9 kB / 0.5174 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4164, allocations: 4.094 kB / 0.5174 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.4164, allocations: 16.72 kB / 0.5174 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4165, allocations: 1.125 kB / 0.5174 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4165, allocations: 9.75 kB / 0.5175 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4165, allocations: 2.219 kB / 0.5175 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4165, allocations: 1.375 kB / 0.5175 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.4166, allocations: 199.6 kB / 0.5177 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.4167, allocations: 103.3 kB / 0.5177 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4167, allocations: 9.656 kB / 0.5178 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.4169, allocations: 3.641 kB / 0.5178 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.4169, allocations: 14.14 kB / 0.5178 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.4169, allocations: 4.641 kB / 0.5178 GB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.979e-05/0.417, allocations: 163.2 kB / 0.5179 GB, free: 15.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.417, allocations: 0 / 0.5179 GB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.4175, allocations: 90.27 kB / 0.518 GB, free: 15.25 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.0005075/0.418, allocations: 0.7976 MB / 0.5188 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.4183, allocations: 178.7 kB / 0.519 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4183, allocations: 0 / 0.519 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.4184, allocations: 21.62 kB / 0.519 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.4188, allocations: 43.16 kB / 0.519 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.4213, allocations: 2.799 MB / 0.5218 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.4214, allocations: 0.7268 MB / 0.5225 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.4217, allocations: 59.58 kB / 0.5225 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.4218, allocations: 66.08 kB / 0.5226 GB, free: 11.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4218, allocations: 0 / 0.5226 GB, free: 11.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8282/1.25, allocations: 5.16 MB / 0.5276 GB, free: 10.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.779, allocations: 14.33 kB / 0.5276 GB, free: 10.97 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