Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_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.004873/0.004873, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001118/0.001118, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.274/1.274, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2935/0.2935, allocations: 43.5 MB / 313.5 MB, free: 8.262 MB / 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.001344/0.001344, allocations: 63.91 kB / 382.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 57.79 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2057/0.3109, allocations: 37.42 MB / 477.3 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.3279, allocations: 17.83 MB / 495.2 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/0.3287, allocations: 24.56 kB / 495.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.3297, allocations: 373.3 kB / 495.6 MB, free: 16.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.3383, allocations: 3.253 MB / 498.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007268/0.3455, allocations: 2.669 MB / 0.4897 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.3482, allocations: 2.419 MB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.3492, allocations: 483.2 kB / 0.4925 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.3507, allocations: 0.6699 MB / 0.4932 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.3519, allocations: 0.5824 MB / 0.4938 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.3521, allocations: 39.5 kB / 0.4938 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01613/0.3683, allocations: 7.339 MB / 0.501 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.3691, allocations: 221.3 kB / 0.5012 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.3705, allocations: 388.9 kB / 0.5016 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.3842, allocations: 5.039 MB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3842, allocations: 0 / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3842, allocations: 0 / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.3843, allocations: 0 / 0.5065 GB, free: 7.434 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.005838/0.3901, allocations: 1.613 MB / 0.5081 GB, free: 6.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.3902, allocations: 9.781 kB / 0.5081 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.3905, allocations: 101.5 kB / 0.5082 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.3937, allocations: 368.9 kB / 0.5085 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.3946, allocations: 0.5187 MB / 0.509 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3947, allocations: 117.8 kB / 0.5091 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3948, allocations: 57.66 kB / 0.5092 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.3976, allocations: 1.129 MB / 0.5103 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3976, allocations: 5.219 kB / 0.5103 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.3977, allocations: 28.19 kB / 0.5103 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.3978, allocations: 31.61 kB / 0.5104 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.4004, allocations: 1.052 MB / 0.5114 GB, free: 4.258 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.005964/0.4064, allocations: 5.016 MB / 0.5163 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.409, allocations: 0.9187 MB / 0.5172 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.4098, allocations: 379.2 kB / 0.5175 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04441/0.4542, allocations: 24.21 MB / 0.5412 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.4543, allocations: 39 kB / 0.5412 GB, free: 6.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.4543, allocations: 0 / 0.5412 GB, free: 6.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.006781/0.4611, allocations: 1.977 MB / 0.5431 GB, free: 4.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.4612, allocations: 111.2 kB / 0.5433 GB, free: 4.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.4619, allocations: 0.6003 MB / 0.5438 GB, free: 3.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.462, allocations: 33.7 kB / 0.5439 GB, free: 3.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.4623, allocations: 315.7 kB / 0.5442 GB, free: 3.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.4624, allocations: 165.7 kB / 0.5443 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.4627, allocations: 134.2 kB / 0.5445 GB, free: 2.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4628, allocations: 362.8 kB / 0.5448 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.4635, allocations: 333.1 kB / 0.5451 GB, free: 2.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.4643, allocations: 485.6 kB / 0.5456 GB, free: 1.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4658, allocations: 0.7318 MB / 0.5463 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4658, allocations: 0 / 0.5463 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002341/0.4681, allocations: 1.051 MB / 0.5473 GB, free: 15.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4682, allocations: 15.88 kB / 0.5473 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4682, allocations: 4 kB / 0.5473 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.4695, allocations: 429.8 kB / 0.5478 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.4699, allocations: 120.9 kB / 0.5479 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.472, allocations: 1.627 MB / 0.5495 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.4729, allocations: 103.3 kB / 0.5496 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.473, allocations: 31.94 kB / 0.5496 GB, free: 13.52 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.0004288/0.4735, allocations: 237.6 kB / 0.5498 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.4736, allocations: 63.25 kB / 0.5499 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.4778, allocations: 3.261 MB / 0.5531 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/0.4779, allocations: 43.92 kB / 0.5531 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4779, allocations: 3.938 kB / 0.5531 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.4779, allocations: 3.984 kB / 0.5531 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.4796, allocations: 1.558 MB / 0.5546 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4797, allocations: 7.984 kB / 0.5546 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.48, allocations: 79.94 kB / 0.5547 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.4814, allocations: 0.8816 MB / 0.5556 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.4815, allocations: 12 kB / 0.5556 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.4839, allocations: 2.299 MB / 0.5578 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4839, allocations: 9.562 kB / 0.5578 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.4869, allocations: 2.265 MB / 0.5601 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.4874, allocations: 295 kB / 0.5603 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4875, allocations: 31.72 kB / 0.5604 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.4881, allocations: 63.84 kB / 0.5604 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.4882, allocations: 60.47 kB / 0.5605 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.4883, allocations: 19.98 kB / 0.5605 GB, free: 2.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006082/0.4889, allocations: 0.5146 MB / 0.561 GB, free: 1.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4889, allocations: 3.938 kB / 0.561 GB, free: 1.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004098/0.493, allocations: 1.167 MB / 0.5622 GB, free: 496 kB / 430.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.008733/0.5017, allocations: 3.8 MB / 0.5659 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.5042, allocations: 1.126 MB / 0.567 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5042, allocations: 0 / 0.567 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.5056, allocations: 0.8692 MB / 0.5678 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.5075, allocations: 355.4 kB / 0.5681 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.5224, allocations: 9.165 MB / 0.5771 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.5231, allocations: 1.154 MB / 0.5782 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008057/0.524, allocations: 349.2 kB / 0.5786 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.5244, allocations: 411.3 kB / 0.579 GB, free: 15.01 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5244, allocations: 0 / 0.579 GB, free: 15.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/0.804, allocations: 59.83 MB / 0.6374 GB, free: 149.9 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.8042, allocations: 279.1 kB / 0.6377 GB, free: 149.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/5.095, allocations: 0.8438 kB / 0.6377 GB, free: 149.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches