Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.00143/0.00143, 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.001348/0.001348, 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.307/1.307, 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.2065/0.2065, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 69.14 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1138, allocations: 60.81 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03864/0.1525, allocations: 36.33 MB / 0.4938 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2683/0.4209, allocations: 16.75 MB / 0.5102 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009666/0.4219, allocations: 15.97 kB / 0.5102 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.4234, allocations: 427.1 kB / 0.5106 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.4359, allocations: 4.015 MB / 0.5145 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009275/0.4452, allocations: 3.146 MB / 0.5176 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.4486, allocations: 1.816 MB / 0.5194 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000966/0.4496, allocations: 0.532 MB / 0.5199 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.4516, allocations: 0.7439 MB / 0.5206 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.453, allocations: 0.582 MB / 0.5212 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.4531, allocations: 72.12 kB / 0.5213 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.467, allocations: 7.294 MB / 0.5284 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.4675, allocations: 240.6 kB / 0.5286 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.4681, allocations: 432.5 kB / 0.529 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4787, allocations: 5.035 MB / 0.5339 GB, free: 6.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4787, allocations: 2.156 kB / 0.534 GB, free: 6.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4787, allocations: 0 / 0.534 GB, free: 6.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.4787, allocations: 4 kB / 0.534 GB, free: 6.152 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004266/0.483, allocations: 1.614 MB / 0.5355 GB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4831, allocations: 10 kB / 0.5355 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.4832, allocations: 102.1 kB / 0.5356 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.486, allocations: 366 kB / 0.536 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.4867, allocations: 0.5268 MB / 0.5365 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.642e-05/0.4868, allocations: 120.2 kB / 0.5366 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.4869, allocations: 57.38 kB / 0.5367 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.4892, allocations: 1.128 MB / 0.5378 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.4893, allocations: 14.72 kB / 0.5378 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.4894, allocations: 29.25 kB / 0.5378 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.4894, allocations: 27.47 kB / 0.5378 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.4919, allocations: 1.053 MB / 0.5389 GB, free: 3.012 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.005866/0.4978, allocations: 5.03 MB / 0.5438 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.5006, allocations: 0.9176 MB / 0.5447 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007377/0.5014, allocations: 373.9 kB / 0.545 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05301/0.5544, allocations: 24.23 MB / 0.5687 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.5545, allocations: 43 kB / 0.5687 GB, free: 2.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/0.5545, allocations: 0 / 0.5687 GB, free: 2.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007045/0.5616, allocations: 1.975 MB / 0.5707 GB, free: 232 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.5616, allocations: 107.2 kB / 0.5708 GB, free: 100 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.5624, allocations: 0.5947 MB / 0.5713 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.5624, allocations: 33.7 kB / 0.5714 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.5627, allocations: 322.5 kB / 0.5717 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5628, allocations: 157.1 kB / 0.5718 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.563, allocations: 130.2 kB / 0.572 GB, free: 14.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5632, allocations: 374.8 kB / 0.5723 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.5639, allocations: 325.1 kB / 0.5726 GB, free: 14.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.5646, allocations: 485.6 kB / 0.5731 GB, free: 13.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.566, allocations: 0.742 MB / 0.5738 GB, free: 12.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.566, allocations: 3.938 kB / 0.5738 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002192/0.5682, allocations: 1.047 MB / 0.5748 GB, free: 11.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5683, allocations: 12.41 kB / 0.5749 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5683, allocations: 8 kB / 0.5749 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.5694, allocations: 425.3 kB / 0.5753 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.5698, allocations: 115.8 kB / 0.5754 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.5717, allocations: 1.631 MB / 0.577 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/0.5723, allocations: 91.23 kB / 0.5771 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.5723, allocations: 24 kB / 0.5771 GB, free: 9.41 MB / 430.1 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.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.5727, allocations: 233.7 kB / 0.5773 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5728, allocations: 63.25 kB / 0.5774 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.577, allocations: 3.265 MB / 0.5806 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.5771, allocations: 43.92 kB / 0.5806 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5771, allocations: 0 / 0.5806 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5771, allocations: 3.984 kB / 0.5806 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5787, allocations: 1.562 MB / 0.5821 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5787, allocations: 3.984 kB / 0.5821 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.5791, allocations: 79.88 kB / 0.5822 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.5804, allocations: 0.8738 MB / 0.5831 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.5805, allocations: 23.92 kB / 0.5831 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.5828, allocations: 2.284 MB / 0.5853 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5828, allocations: 3.938 kB / 0.5853 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.586, allocations: 2.277 MB / 0.5875 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.5864, allocations: 295 kB / 0.5878 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5865, allocations: 27.72 kB / 0.5878 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.587, allocations: 39.95 kB / 0.5879 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.5872, allocations: 68.47 kB / 0.5879 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.5873, allocations: 24 kB / 0.588 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006468/0.5879, allocations: 0.5185 MB / 0.5885 GB, free: 13.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5879, allocations: 0 / 0.5885 GB, free: 13.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003597/0.5915, allocations: 1.163 MB / 0.5896 GB, free: 12.43 MB / 446.1 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008243/0.5998, allocations: 3.796 MB / 0.5933 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.6027, allocations: 1.208 MB / 0.5945 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6028, allocations: 0 / 0.5945 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.6043, allocations: 0.877 MB / 0.5954 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.6062, allocations: 384.5 kB / 0.5957 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.6214, allocations: 8.659 MB / 0.6042 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/0.6224, allocations: 1.158 MB / 0.6053 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001097/0.6235, allocations: 352.8 kB / 0.6056 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.6242, allocations: 411.3 kB / 0.606 GB, free: 11.46 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.6242, allocations: 0 / 0.606 GB, free: 11.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.7363, allocations: 61.11 MB / 0.6657 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.63, allocations: 13.41 kB / 0.6657 GB, free: 14.57 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches