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.000741/0.0007411, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008684/0.0008684, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.311/1.311, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1956/0.1956, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03408/0.1361, allocations: 36.61 MB / 0.497 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2332/0.3694, allocations: 17.55 MB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.3701, allocations: 21.06 kB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3711, allocations: 381.1 kB / 0.5146 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.3821, allocations: 3.265 MB / 0.5178 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008741/0.3909, allocations: 2.672 MB / 0.5204 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.394, allocations: 2.42 MB / 0.5227 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.395, allocations: 476 kB / 0.5232 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.3963, allocations: 0.6656 MB / 0.5238 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.3971, allocations: 0.577 MB / 0.5244 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.3972, allocations: 36.03 kB / 0.5244 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/0.4126, allocations: 7.337 MB / 0.5316 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.4131, allocations: 211.9 kB / 0.5318 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.4138, allocations: 410.4 kB / 0.5322 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.4253, allocations: 5.003 MB / 0.5371 GB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4253, allocations: 0 / 0.5371 GB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4254, allocations: 0 / 0.5371 GB, free: 6.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4254, allocations: 0 / 0.5371 GB, free: 6.48 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.003953/0.4293, allocations: 1.467 MB / 0.5385 GB, free: 5.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4294, allocations: 12.81 kB / 0.5385 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.4295, allocations: 112.9 kB / 0.5386 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.4322, allocations: 382.8 kB / 0.539 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.4328, allocations: 0.5176 MB / 0.5395 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.433, allocations: 116.7 kB / 0.5396 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.989e-05/0.433, allocations: 56.59 kB / 0.5397 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.4354, allocations: 1.155 MB / 0.5408 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4354, allocations: 7.5 kB / 0.5408 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/0.4355, allocations: 29.52 kB / 0.5408 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.4355, allocations: 34.3 kB / 0.5409 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.4379, allocations: 1.1 MB / 0.5419 GB, free: 3.984 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.005293/0.4433, allocations: 5.038 MB / 0.5469 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.4459, allocations: 0.9591 MB / 0.5478 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.4467, allocations: 393.8 kB / 0.5482 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04867/0.4954, allocations: 24.43 MB / 0.572 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.4955, allocations: 43 kB / 0.5721 GB, free: 3.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.315e-06/0.4955, allocations: 0 / 0.5721 GB, free: 3.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007237/0.5027, allocations: 2.087 MB / 0.5741 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.5028, allocations: 115.2 kB / 0.5742 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.5037, allocations: 0.5905 MB / 0.5748 GB, free: 220 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.5038, allocations: 33.7 kB / 0.5748 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.5041, allocations: 322.5 kB / 0.5751 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.5043, allocations: 173.5 kB / 0.5753 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.5044, allocations: 53.69 kB / 0.5753 GB, free: 15.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5046, allocations: 370.8 kB / 0.5757 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.5053, allocations: 341.1 kB / 0.576 GB, free: 14.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.5062, allocations: 0.4912 MB / 0.5765 GB, free: 14.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5076, allocations: 0.7691 MB / 0.5773 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.5076, allocations: 0 / 0.5773 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002263/0.5099, allocations: 1.082 MB / 0.5783 GB, free: 12.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5099, allocations: 10.91 kB / 0.5783 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.51, allocations: 12 kB / 0.5783 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.5111, allocations: 425.3 kB / 0.5787 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.5116, allocations: 127.8 kB / 0.5789 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.5135, allocations: 1.64 MB / 0.5805 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.5142, allocations: 107.3 kB / 0.5806 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.5143, allocations: 27.98 kB / 0.5806 GB, free: 10.09 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.0003764/0.5147, allocations: 238.1 kB / 0.5808 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5149, allocations: 63.25 kB / 0.5809 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/0.5194, allocations: 3.318 MB / 0.5841 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/0.5195, allocations: 43.92 kB / 0.5842 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.5195, allocations: 0 / 0.5842 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5195, allocations: 4.484 kB / 0.5842 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.5214, allocations: 1.567 MB / 0.5857 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5214, allocations: 0 / 0.5857 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.5217, allocations: 92.75 kB / 0.5858 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.5233, allocations: 0.8934 MB / 0.5867 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.5233, allocations: 12 kB / 0.5867 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.5258, allocations: 2.319 MB / 0.5889 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5258, allocations: 3.984 kB / 0.5889 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.5291, allocations: 2.319 MB / 0.5912 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.5296, allocations: 359.3 kB / 0.5915 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.5298, allocations: 11.98 kB / 0.5916 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.5304, allocations: 67.86 kB / 0.5916 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.5306, allocations: 68.45 kB / 0.5917 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.5307, allocations: 23.98 kB / 0.5917 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006701/0.5313, allocations: 0.5146 MB / 0.5922 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5313, allocations: 0 / 0.5922 GB, free: 14.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003434/0.5348, allocations: 1.159 MB / 0.5933 GB, free: 12.9 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.008856/0.5436, allocations: 3.849 MB / 0.5971 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.546, allocations: 1.157 MB / 0.5982 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.546, allocations: 0 / 0.5982 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.5475, allocations: 0.8812 MB / 0.5991 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.5494, allocations: 363.5 kB / 0.5994 GB, free: 6.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.5641, allocations: 9.3 MB / 0.6085 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.5649, allocations: 1.154 MB / 0.6096 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007531/0.5656, allocations: 354.7 kB / 0.61 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.5661, allocations: 415.2 kB / 0.6104 GB, free: 11.29 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5661, allocations: 0 / 0.6104 GB, free: 11.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0958/0.6619, allocations: 59.57 MB / 0.6686 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.6622, allocations: 281.2 kB / 0.6688 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.487/5.149, allocations: 4 kB / 0.6688 GB, free: 15.59 MB / 0.5138 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