Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008951/0.000895, allocations: 176.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007466/0.0007467, allocations: 103.5 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3411/0.3411, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 58.84 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2418/0.363, allocations: 34.1 MB / 0.5127 GB, free: 26.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.379, allocations: 15.69 MB / 0.528 GB, free: 14.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.38, allocations: 21.59 kB / 0.528 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.3811, allocations: 349.6 kB / 0.5284 GB, free: 14.78 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01051/0.3916, allocations: 3.221 MB / 0.5315 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007494/0.3992, allocations: 2.471 MB / 0.5339 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.4015, allocations: 2.053 MB / 0.5359 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006194/0.4021, allocations: 487.5 kB / 0.5364 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.4032, allocations: 0.644 MB / 0.537 GB, free: 10.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.4038, allocations: 0.5501 MB / 0.5376 GB, free: 10.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/0.4039, allocations: 38.84 kB / 0.5376 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.4179, allocations: 7.085 MB / 0.5445 GB, free: 9.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.4185, allocations: 207.1 kB / 0.5447 GB, free: 8.941 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.4191, allocations: 399.5 kB / 0.5451 GB, free: 8.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008421/0.4276, allocations: 3.44 MB / 0.5485 GB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.4276, allocations: 5.562 kB / 0.5485 GB, free: 7.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4276, allocations: 0 / 0.5485 GB, free: 7.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4276, allocations: 0 / 0.5485 GB, free: 7.672 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005472/0.4331, allocations: 1.465 MB / 0.5499 GB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4332, allocations: 9.938 kB / 0.5499 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.4333, allocations: 109.8 kB / 0.55 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.4359, allocations: 383.9 kB / 0.5504 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.4367, allocations: 0.5221 MB / 0.5509 GB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.4368, allocations: 110.9 kB / 0.551 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.4369, allocations: 64.98 kB / 0.5511 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.4394, allocations: 1.152 MB / 0.5522 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4394, allocations: 0.9688 kB / 0.5522 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.4395, allocations: 28.02 kB / 0.5522 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.4396, allocations: 39.59 kB / 0.5523 GB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.4422, allocations: 1.084 MB / 0.5533 GB, free: 4.574 MB / 378.7 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.006125/0.4483, allocations: 5.059 MB / 0.5583 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.451, allocations: 0.953 MB / 0.5592 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.4518, allocations: 400.3 kB / 0.5596 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04854/0.5004, allocations: 24.42 MB / 0.5834 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.5005, allocations: 50.86 kB / 0.5835 GB, free: 8.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 2.465e-06/0.5005, allocations: 4 kB / 0.5835 GB, free: 8.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.006642/0.5071, allocations: 2.075 MB / 0.5855 GB, free: 6.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.5072, allocations: 111.2 kB / 0.5856 GB, free: 6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.508, allocations: 0.5848 MB / 0.5862 GB, free: 5.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.508, allocations: 41.64 kB / 0.5862 GB, free: 5.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.5083, allocations: 323.6 kB / 0.5865 GB, free: 5.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5084, allocations: 161.7 kB / 0.5867 GB, free: 4.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.5085, allocations: 16 kB / 0.5867 GB, free: 4.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5087, allocations: 366.8 kB / 0.587 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.5093, allocations: 337.1 kB / 0.5874 GB, free: 4.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.5101, allocations: 493.6 kB / 0.5878 GB, free: 3.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.5115, allocations: 0.763 MB / 0.5886 GB, free: 2.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5115, allocations: 8 kB / 0.5886 GB, free: 2.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002185/0.5137, allocations: 1.074 MB / 0.5896 GB, free: 1.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5137, allocations: 7.938 kB / 0.5896 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5137, allocations: 8.469 kB / 0.5896 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.5149, allocations: 437.3 kB / 0.5901 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.5153, allocations: 119.8 kB / 0.5902 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.5171, allocations: 1.635 MB / 0.5918 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.5179, allocations: 119.2 kB / 0.5919 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.518, allocations: 30.5 kB / 0.5919 GB, free: 15.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.5184, allocations: 237.6 kB / 0.5921 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5185, allocations: 67.19 kB / 0.5922 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.5227, allocations: 3.312 MB / 0.5954 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/0.5228, allocations: 39.94 kB / 0.5955 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5228, allocations: 0 / 0.5955 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5228, allocations: 7.984 kB / 0.5955 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.5245, allocations: 1.561 MB / 0.597 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5246, allocations: 0 / 0.597 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.5249, allocations: 99.81 kB / 0.5971 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.5264, allocations: 0.8934 MB / 0.598 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.5264, allocations: 15.44 kB / 0.598 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.5288, allocations: 2.315 MB / 0.6003 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5288, allocations: 0 / 0.6003 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.5319, allocations: 2.3 MB / 0.6025 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.5324, allocations: 358.6 kB / 0.6028 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.5325, allocations: 12 kB / 0.6029 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/0.5331, allocations: 71.84 kB / 0.6029 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.5333, allocations: 64.45 kB / 0.603 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.5334, allocations: 23.98 kB / 0.603 GB, free: 3.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006235/0.534, allocations: 0.5107 MB / 0.6035 GB, free: 3.238 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.534, allocations: 3.938 kB / 0.6035 GB, free: 3.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004341/0.5384, allocations: 1.156 MB / 0.6046 GB, free: 2.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01093/0.5493, allocations: 3.834 MB / 0.6084 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.552, allocations: 1.15 MB / 0.6095 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.552, allocations: 0 / 0.6095 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.5535, allocations: 0.8771 MB / 0.6104 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.5555, allocations: 350.5 kB / 0.6107 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.5681, allocations: 6.519 MB / 0.6171 GB, free: 5.211 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.5688, allocations: 1.15 MB / 0.6182 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.5694, allocations: 399.3 kB / 0.6186 GB, free: 3.637 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5694, allocations: 0 / 0.6186 GB, free: 3.637 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.396/6.965, allocations: 41.06 MB / 0.6587 GB, free: 10.5 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches