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.0009671/0.0009671, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 179.5 kB / 16.92 MB, free: 6.688 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.439/1.439, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.3269/0.3269, allocations: 43.58 MB / 315 MB, free: 9.07 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.0004805/0.0004805, allocations: 12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09868, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2004/0.2991, allocations: 36.61 MB / 480.2 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3136, allocations: 17.55 MB / 497.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.3142, allocations: 20.03 kB / 497.7 MB, free: 16.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.3151, allocations: 374.9 kB / 498.1 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00866/0.3238, allocations: 3.261 MB / 0.4896 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008372/0.3322, allocations: 2.665 MB / 0.4922 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.3352, allocations: 2.428 MB / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009821/0.3362, allocations: 469.7 kB / 0.495 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.3376, allocations: 0.6539 MB / 0.4957 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.3384, allocations: 0.5853 MB / 0.4962 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.3385, allocations: 36.12 kB / 0.4963 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.3527, allocations: 7.331 MB / 0.5034 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.3532, allocations: 209.4 kB / 0.5036 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.3539, allocations: 417.4 kB / 0.504 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.368, allocations: 4.988 MB / 0.5089 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3681, allocations: 0 / 0.5089 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3681, allocations: 1.438 kB / 0.5089 GB, free: 7.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3681, allocations: 0 / 0.5089 GB, free: 7.332 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.004471/0.3726, allocations: 1.465 MB / 0.5103 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3726, allocations: 10.59 kB / 0.5103 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.3728, allocations: 112.9 kB / 0.5104 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.3755, allocations: 380.4 kB / 0.5108 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.3763, allocations: 0.5189 MB / 0.5113 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.3764, allocations: 118.5 kB / 0.5114 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.713e-05/0.3765, allocations: 56.91 kB / 0.5115 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.379, allocations: 1.158 MB / 0.5126 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.379, allocations: 5.219 kB / 0.5126 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.3791, allocations: 27.34 kB / 0.5126 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.3791, allocations: 32.36 kB / 0.5127 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.3818, allocations: 1.088 MB / 0.5137 GB, free: 4.242 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.006036/0.3878, allocations: 5.059 MB / 0.5187 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.3906, allocations: 0.9704 MB / 0.5196 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.3914, allocations: 394.3 kB / 0.52 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04949/0.4409, allocations: 24.43 MB / 0.5439 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.441, allocations: 42.12 kB / 0.5439 GB, free: 6.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/0.441, allocations: 4 kB / 0.5439 GB, free: 6.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007196/0.4482, allocations: 2.087 MB / 0.5459 GB, free: 3.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.4483, allocations: 115.2 kB / 0.5461 GB, free: 3.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.4491, allocations: 0.5888 MB / 0.5466 GB, free: 3.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/0.4491, allocations: 29.7 kB / 0.5467 GB, free: 3.195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.4494, allocations: 327.6 kB / 0.547 GB, free: 2.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.4496, allocations: 157.7 kB / 0.5471 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.4497, allocations: 57.69 kB / 0.5472 GB, free: 2.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4499, allocations: 378.8 kB / 0.5475 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.4506, allocations: 333.1 kB / 0.5479 GB, free: 1.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.4514, allocations: 0.4899 MB / 0.5483 GB, free: 1.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.4528, allocations: 0.7669 MB / 0.5491 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4529, allocations: 0 / 0.5491 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002255/0.4551, allocations: 1.09 MB / 0.5501 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4552, allocations: 7.938 kB / 0.5502 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4552, allocations: 4 kB / 0.5502 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.4563, allocations: 433.8 kB / 0.5506 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.4568, allocations: 123.8 kB / 0.5507 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.4585, allocations: 1.635 MB / 0.5523 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.4593, allocations: 107.3 kB / 0.5524 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.4594, allocations: 31.98 kB / 0.5524 GB, free: 13.07 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.0003489/0.4597, allocations: 241.7 kB / 0.5526 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.4599, allocations: 63.25 kB / 0.5527 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/0.4643, allocations: 3.312 MB / 0.5559 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/0.4643, allocations: 51.86 kB / 0.556 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4643, allocations: 0 / 0.556 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4644, allocations: 3.984 kB / 0.556 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.4661, allocations: 1.562 MB / 0.5575 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4661, allocations: 4 kB / 0.5575 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.4665, allocations: 88.56 kB / 0.5576 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.4681, allocations: 0.8933 MB / 0.5585 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.4681, allocations: 19.92 kB / 0.5585 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.4707, allocations: 2.318 MB / 0.5608 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4707, allocations: 3.984 kB / 0.5608 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.474, allocations: 2.324 MB / 0.563 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.4745, allocations: 354.6 kB / 0.5634 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4747, allocations: 11.98 kB / 0.5634 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.4753, allocations: 67.86 kB / 0.5635 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4755, allocations: 64.45 kB / 0.5635 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.4755, allocations: 20 kB / 0.5635 GB, free: 1.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006637/0.4762, allocations: 0.5224 MB / 0.564 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4762, allocations: 0 / 0.564 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004134/0.4804, allocations: 1.156 MB / 0.5652 GB, free: 15.83 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.009686/0.4901, allocations: 3.847 MB / 0.5689 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.4924, allocations: 1.15 MB / 0.57 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4925, allocations: 0 / 0.57 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.4939, allocations: 0.889 MB / 0.5709 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.496, allocations: 361.2 kB / 0.5713 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.511, allocations: 9.285 MB / 0.5803 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/0.5118, allocations: 1.157 MB / 0.5815 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007721/0.5126, allocations: 354.1 kB / 0.5818 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.5131, allocations: 411.3 kB / 0.5822 GB, free: 14.13 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5131, allocations: 7.938 kB / 0.5822 GB, free: 14.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2834/0.7965, allocations: 59.54 MB / 0.6403 GB, free: 149.1 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.7968, allocations: 277.7 kB / 0.6406 GB, free: 148.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/5.333, allocations: 0 / 0.6406 GB, free: 148.8 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