Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.001201/0.001201, allocations: 108 kB / 16.41 MB, free: 6.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.001109/0.001109, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1998/0.1998, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05096/0.1566, allocations: 43.95 MB / 0.5303 GB, free: 188 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2474/0.4041, allocations: 4.363 MB / 0.5346 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006903/0.4048, allocations: 19.22 kB / 0.5346 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.4057, allocations: 319.9 kB / 0.5349 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.4078, allocations: 0.8468 MB / 0.5357 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.4108, allocations: 0.903 MB / 0.5366 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.4136, allocations: 1.785 MB / 0.5384 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009896/0.4146, allocations: 468.2 kB / 0.5388 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09263/0.5073, allocations: 44.52 MB / 0.5823 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01601/0.5233, allocations: 7.949 MB / 0.59 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.5236, allocations: 60 kB / 0.5901 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02173/0.5453, allocations: 10.67 MB / 0.6005 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005087/0.5459, allocations: 256.6 kB / 0.6008 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008281/0.5467, allocations: 393.5 kB / 0.6011 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5485, allocations: 1.085 MB / 0.6022 GB, free: 9.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5485, allocations: 3.844 kB / 0.6022 GB, free: 9.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5485, allocations: 0 / 0.6022 GB, free: 9.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.5486, allocations: 0 / 0.6022 GB, free: 9.859 MB / 462.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.002412/0.551, allocations: 1.051 MB / 0.6032 GB, free: 8.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.551, allocations: 11.89 kB / 0.6032 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.5512, allocations: 102.6 kB / 0.6033 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.5516, allocations: 92.02 kB / 0.6034 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/0.5525, allocations: 0.5328 MB / 0.6039 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.5527, allocations: 101.1 kB / 0.604 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.5528, allocations: 49.66 kB / 0.6041 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.554, allocations: 0.8177 MB / 0.6049 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.5541, allocations: 7.938 kB / 0.6049 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.5541, allocations: 24 kB / 0.6049 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.5542, allocations: 40.97 kB / 0.605 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5552, allocations: 0.6474 MB / 0.6056 GB, free: 6.258 MB / 462.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.004756/0.56, allocations: 4.217 MB / 0.6097 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.5608, allocations: 431.2 kB / 0.6101 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.5612, allocations: 201.4 kB / 0.6103 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/0.5616, allocations: 0.5009 MB / 0.6108 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.5617, allocations: 38.89 kB / 0.6108 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.016e-06/0.5617, allocations: 0 / 0.6108 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003007/0.5647, allocations: 1.528 MB / 0.6123 GB, free: 14.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.5648, allocations: 140.5 kB / 0.6125 GB, free: 14.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.5654, allocations: 0.5731 MB / 0.613 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.5655, allocations: 29.7 kB / 0.6131 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.5657, allocations: 354.4 kB / 0.6134 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.5658, allocations: 160.8 kB / 0.6135 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.566, allocations: 138.5 kB / 0.6137 GB, free: 13.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5662, allocations: 382.6 kB / 0.614 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.5666, allocations: 225.9 kB / 0.6143 GB, free: 12.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.5672, allocations: 0.5204 MB / 0.6148 GB, free: 12.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.5681, allocations: 0.7749 MB / 0.6155 GB, free: 11.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5681, allocations: 0 / 0.6155 GB, free: 11.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001685/0.5698, allocations: 0.9407 MB / 0.6164 GB, free: 10.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5699, allocations: 8 kB / 0.6164 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5699, allocations: 12.84 kB / 0.6165 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.5709, allocations: 266.3 kB / 0.6167 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.5713, allocations: 131.7 kB / 0.6168 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009176/0.5723, allocations: 0.8612 MB / 0.6177 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.5727, allocations: 31.98 kB / 0.6177 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.5728, allocations: 36 kB / 0.6177 GB, free: 9.012 MB / 478.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.0002782/0.5731, allocations: 248.3 kB / 0.618 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5732, allocations: 63.25 kB / 0.618 GB, free: 8.699 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.5745, allocations: 0.7186 MB / 0.6187 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5745, allocations: 8.031 kB / 0.6188 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5745, allocations: 0 / 0.6188 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5745, allocations: 3.984 kB / 0.6188 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.5766, allocations: 1.406 MB / 0.6201 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5766, allocations: 0 / 0.6201 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/0.5776, allocations: 191.8 kB / 0.6203 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.5778, allocations: 57.75 kB / 0.6204 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.5779, allocations: 16 kB / 0.6204 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.5801, allocations: 2.989 MB / 0.6233 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5802, allocations: 0 / 0.6233 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.5816, allocations: 1.008 MB / 0.6243 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.582, allocations: 204.2 kB / 0.6245 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.5821, allocations: 12 kB / 0.6245 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.5825, allocations: 19.98 kB / 0.6245 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.5826, allocations: 35.89 kB / 0.6245 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.5826, allocations: 19.98 kB / 0.6246 GB, free: 1.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005029/0.5832, allocations: 427 kB / 0.625 GB, free: 1.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5832, allocations: 0 / 0.625 GB, free: 1.195 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007435/0.5839, allocations: 200 kB / 0.6252 GB, free: 1 MB / 478.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.00206/0.586, allocations: 1.68 MB / 0.6268 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.5872, allocations: 0.6064 MB / 0.6274 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5872, allocations: 4 kB / 0.6274 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.5883, allocations: 483.7 kB / 0.6279 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.59, allocations: 363 kB / 0.6282 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.5998, allocations: 6.521 MB / 0.6346 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.6004, allocations: 0.9405 MB / 0.6355 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007016/0.6011, allocations: 218.5 kB / 0.6357 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.6014, allocations: 235.4 kB / 0.6359 GB, free: 5.543 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6014, allocations: 0 / 0.6359 GB, free: 5.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.6538, allocations: 22.44 MB / 0.6578 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.52, allocations: 19.97 kB / 0.6579 GB, free: 15.06 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches