Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001277/0.001276, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001408/0.001408, allocations: 188 kB / 18.71 MB, free: 4.387 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2162/0.2162, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006484/0.4059, allocations: 4.955 MB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.4113, allocations: 4.554 MB / 0.5277 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.4115, allocations: 1.375 kB / 0.5277 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.4119, allocations: 56.69 kB / 0.5278 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.4141, allocations: 0.6577 MB / 0.5284 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.4145, allocations: 158 kB / 0.5286 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.4151, allocations: 367.3 kB / 0.5289 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.4152, allocations: 14.41 kB / 0.529 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.4154, allocations: 149.7 kB / 0.5291 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.4156, allocations: 133.2 kB / 0.5292 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4156, allocations: 6.75 kB / 0.5292 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008951/0.4166, allocations: 332.8 kB / 0.5296 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.4166, allocations: 48.14 kB / 0.5296 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.4168, allocations: 110.3 kB / 0.5297 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006953/0.4175, allocations: 413.8 kB / 0.5301 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4175, allocations: 1.406 kB / 0.5301 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4175, allocations: 0 / 0.5301 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4175, allocations: 0 / 0.5301 GB, free: 11.18 MB / 398.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.0009348/0.4184, allocations: 0.5873 MB / 0.5307 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4185, allocations: 9.281 kB / 0.5307 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.4186, allocations: 59.73 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.4187, allocations: 28.23 kB / 0.5308 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.4191, allocations: 229.9 kB / 0.531 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.4192, allocations: 127.5 kB / 0.5311 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4193, allocations: 26.12 kB / 0.5311 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.4198, allocations: 327.5 kB / 0.5314 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4198, allocations: 1.188 kB / 0.5314 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.4198, allocations: 7.375 kB / 0.5315 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.4198, allocations: 10.97 kB / 0.5315 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.4207, allocations: 0.7445 MB / 0.5322 GB, free: 9.598 MB / 398.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.001456/0.4221, allocations: 1.246 MB / 0.5334 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.4225, allocations: 149.1 kB / 0.5335 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4226, allocations: 76.86 kB / 0.5336 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.4249, allocations: 2.659 MB / 0.5362 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4249, allocations: 36.28 kB / 0.5363 GB, free: 5.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 4.339e-06/0.4249, allocations: 4 kB / 0.5363 GB, free: 5.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006646/0.4256, allocations: 225.1 kB / 0.5365 GB, free: 5.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4257, allocations: 53.47 kB / 0.5365 GB, free: 5.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4259, allocations: 213.7 kB / 0.5367 GB, free: 4.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4259, allocations: 27.58 kB / 0.5368 GB, free: 4.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.426, allocations: 207.8 kB / 0.537 GB, free: 4.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.4261, allocations: 55.5 kB / 0.537 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.4262, allocations: 86.66 kB / 0.5371 GB, free: 4.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4263, allocations: 334.7 kB / 0.5374 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.4264, allocations: 51.62 kB / 0.5375 GB, free: 4.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4266, allocations: 322.9 kB / 0.5378 GB, free: 3.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.4271, allocations: 425.4 kB / 0.5382 GB, free: 3.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4271, allocations: 2.125 kB / 0.5382 GB, free: 3.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005199/0.4276, allocations: 380.4 kB / 0.5385 GB, free: 3.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4277, allocations: 9.719 kB / 0.5385 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4277, allocations: 10.38 kB / 0.5386 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.4277, allocations: 17.19 kB / 0.5386 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.428, allocations: 112.5 kB / 0.5387 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.4281, allocations: 16.41 kB / 0.5387 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.4283, allocations: 17.97 kB / 0.5387 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.4283, allocations: 27.98 kB / 0.5387 GB, free: 3.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 0.0001321/0.4285, allocations: 148.6 kB / 0.5389 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.4285, allocations: 17.47 kB / 0.5389 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.4288, allocations: 161.2 kB / 0.539 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4289, allocations: 10.28 kB / 0.5391 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4289, allocations: 0 / 0.5391 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4289, allocations: 1.375 kB / 0.5391 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.4294, allocations: 435.3 kB / 0.5395 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4294, allocations: 5.25 kB / 0.5395 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4296, allocations: 31.58 kB / 0.5395 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4296, allocations: 5.031 kB / 0.5395 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4296, allocations: 6.25 kB / 0.5395 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4296, allocations: 5.047 kB / 0.5395 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4296, allocations: 1.125 kB / 0.5395 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.4299, allocations: 223.3 kB / 0.5397 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.43, allocations: 101.9 kB / 0.5398 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.43, allocations: 9.375 kB / 0.5398 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.4302, allocations: 7.234 kB / 0.5399 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.4302, allocations: 13.45 kB / 0.5399 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4303, allocations: 5.281 kB / 0.5399 GB, free: 2.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.4304, allocations: 148.8 kB / 0.54 GB, free: 1.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4304, allocations: 1.188 kB / 0.54 GB, free: 1.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000497/0.4309, allocations: 101 kB / 0.5401 GB, free: 1.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0007112/0.4316, allocations: 0.8147 MB / 0.5409 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.432, allocations: 176.6 kB / 0.5411 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.432, allocations: 0 / 0.5411 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.4321, allocations: 35.61 kB / 0.5411 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.4326, allocations: 54.69 kB / 0.5412 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.4367, allocations: 2.699 MB / 0.5438 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.4372, allocations: 0.7321 MB / 0.5445 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.4374, allocations: 62.23 kB / 0.5446 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4376, allocations: 60.11 kB / 0.5446 GB, free: 13.78 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4376, allocations: 4 kB / 0.5446 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.4616, allocations: 5.639 MB / 0.5501 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.173, allocations: 14.16 kB / 0.5502 GB, free: 10.19 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches