Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3006, allocations: 62.43 MB / 0.5305 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03577/0.3364, allocations: 36.49 MB / 0.5661 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.3561, allocations: 16.78 MB / 0.5825 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000798/0.357, allocations: 15.88 kB / 0.5825 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3582, allocations: 425.4 kB / 0.5829 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.3697, allocations: 4.043 MB / 0.5869 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008188/0.3779, allocations: 3.156 MB / 0.59 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.3804, allocations: 1.806 MB / 0.5917 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.3813, allocations: 0.543 MB / 0.5923 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.383, allocations: 0.7668 MB / 0.593 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009004/0.3839, allocations: 0.5799 MB / 0.5936 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3841, allocations: 72 kB / 0.5937 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.3975, allocations: 7.461 MB / 0.6009 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.3979, allocations: 251.2 kB / 0.6012 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.3984, allocations: 418.2 kB / 0.6016 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009835/0.4082, allocations: 5.07 MB / 0.6065 GB, free: 3.645 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4082, allocations: 0 / 0.6065 GB, free: 3.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4083, allocations: 4 kB / 0.6065 GB, free: 3.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.4083, allocations: 0 / 0.6065 GB, free: 3.641 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003557/0.4118, allocations: 1.652 MB / 0.6081 GB, free: 1.934 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4119, allocations: 12.02 kB / 0.6082 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.412, allocations: 118.6 kB / 0.6083 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.4148, allocations: 364.1 kB / 0.6086 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.4156, allocations: 0.5487 MB / 0.6092 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.4157, allocations: 113.2 kB / 0.6093 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.4158, allocations: 59.94 kB / 0.6093 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.4182, allocations: 1.13 MB / 0.6104 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4183, allocations: 3.938 kB / 0.6104 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.4183, allocations: 24 kB / 0.6104 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.4184, allocations: 33.3 kB / 0.6105 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.4209, allocations: 1.055 MB / 0.6115 GB, free: 14.37 MB / 478.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.006099/0.427, allocations: 5.013 MB / 0.6164 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.4296, allocations: 0.909 MB / 0.6173 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.4303, allocations: 389.8 kB / 0.6177 GB, free: 7.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04653/0.4768, allocations: 26.89 MB / 0.6439 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.4769, allocations: 39 kB / 0.644 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.4769, allocations: 3.938 kB / 0.644 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.00665/0.4836, allocations: 1.978 MB / 0.6459 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.4837, allocations: 115.2 kB / 0.646 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/0.4844, allocations: 0.5888 MB / 0.6466 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.4845, allocations: 33.7 kB / 0.6466 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.4847, allocations: 324.3 kB / 0.6469 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4848, allocations: 162.6 kB / 0.6471 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.4851, allocations: 134.3 kB / 0.6472 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4852, allocations: 374.8 kB / 0.6476 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.4859, allocations: 317.1 kB / 0.6479 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/0.4866, allocations: 496.9 kB / 0.6483 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.488, allocations: 0.7396 MB / 0.6491 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.488, allocations: 4 kB / 0.6491 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002098/0.4901, allocations: 1.056 MB / 0.6501 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4901, allocations: 10.28 kB / 0.6501 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4901, allocations: 8 kB / 0.6501 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.4913, allocations: 425.5 kB / 0.6505 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.4917, allocations: 123.8 kB / 0.6506 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.4934, allocations: 1.623 MB / 0.6522 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.494, allocations: 91.38 kB / 0.6523 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.494, allocations: 35.98 kB / 0.6523 GB, free: 460 kB / 0.4981 GB 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.0003087/0.4944, allocations: 229.7 kB / 0.6526 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.4945, allocations: 67.58 kB / 0.6526 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.4985, allocations: 3.252 MB / 0.6558 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.4985, allocations: 47.92 kB / 0.6558 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4985, allocations: 0 / 0.6558 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4986, allocations: 3.984 kB / 0.6559 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.5001, allocations: 1.569 MB / 0.6574 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5001, allocations: 0 / 0.6574 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.5004, allocations: 87.88 kB / 0.6575 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.5017, allocations: 0.87 MB / 0.6583 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.5018, allocations: 11.98 kB / 0.6583 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.5041, allocations: 2.303 MB / 0.6606 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5041, allocations: 0 / 0.6606 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.5071, allocations: 2.274 MB / 0.6628 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.5074, allocations: 311.6 kB / 0.6631 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5076, allocations: 27.84 kB / 0.6631 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.508, allocations: 39.95 kB / 0.6632 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.5082, allocations: 60.47 kB / 0.6632 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.5083, allocations: 27.98 kB / 0.6632 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005854/0.5089, allocations: 0.5146 MB / 0.6637 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5089, allocations: 0 / 0.6637 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002968/0.5118, allocations: 1.185 MB / 0.6649 GB, free: 3.398 MB / 0.5137 GB 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.007578/0.5194, allocations: 3.808 MB / 0.6686 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.522, allocations: 1.13 MB / 0.6697 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.5221, allocations: 8.188 kB / 0.6697 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.5235, allocations: 0.8806 MB / 0.6706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.5253, allocations: 364.4 kB / 0.6709 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.5394, allocations: 8.473 MB / 0.6792 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.5401, allocations: 1.154 MB / 0.6803 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008261/0.541, allocations: 356 kB / 0.6807 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.5414, allocations: 407.3 kB / 0.6811 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of SimCode: time 1.402e-06/0.5414, allocations: 0 / 0.6811 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3282/0.8696, allocations: 61.37 MB / 0.741 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.7, allocations: 12.95 kB / 0.741 GB, free: 148.4 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv","/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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches