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.001823/0.001823, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.002377/0.002377, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2178/0.2178, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 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.002104/0.002104, allocations: 73.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1164, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04189/0.1584, allocations: 36.33 MB / 0.5229 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2453/0.4037, allocations: 16.75 MB / 0.5392 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.4046, allocations: 16.88 kB / 0.5392 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.4059, allocations: 432.9 kB / 0.5397 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.4166, allocations: 4.009 MB / 0.5436 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009108/0.4257, allocations: 3.136 MB / 0.5466 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.4288, allocations: 1.795 MB / 0.5484 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.4298, allocations: 0.5361 MB / 0.5489 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.4316, allocations: 0.7481 MB / 0.5496 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.4326, allocations: 0.5757 MB / 0.5502 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.4328, allocations: 70.44 kB / 0.5503 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/0.4501, allocations: 7.455 MB / 0.5576 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006666/0.4508, allocations: 247.6 kB / 0.5578 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008285/0.4517, allocations: 419.9 kB / 0.5582 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4656, allocations: 5.063 MB / 0.5631 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4656, allocations: 2.5 kB / 0.5631 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4657, allocations: 4 kB / 0.5631 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.4657, allocations: 0 / 0.5631 GB, free: 15.32 MB / 430.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.005915/0.4716, allocations: 1.649 MB / 0.5648 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4717, allocations: 13.2 kB / 0.5648 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.4718, allocations: 108.7 kB / 0.5649 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.4747, allocations: 370.7 kB / 0.5652 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.4757, allocations: 0.5506 MB / 0.5658 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.4758, allocations: 110.6 kB / 0.5659 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.4759, allocations: 69.42 kB / 0.5659 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.4786, allocations: 1.122 MB / 0.567 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4787, allocations: 9.344 kB / 0.567 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.4788, allocations: 27.22 kB / 0.5671 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/0.4789, allocations: 31.77 kB / 0.5671 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.4816, allocations: 1.052 MB / 0.5681 GB, free: 12.11 MB / 430.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.007225/0.4889, allocations: 4.997 MB / 0.573 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.4916, allocations: 0.9342 MB / 0.5739 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.4924, allocations: 375.3 kB / 0.5743 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05134/0.5437, allocations: 24.33 MB / 0.598 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.5438, allocations: 39.88 kB / 0.5981 GB, free: 13.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.5438, allocations: 0 / 0.5981 GB, free: 13.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.007122/0.5509, allocations: 1.983 MB / 0.6 GB, free: 11.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.5511, allocations: 111.2 kB / 0.6001 GB, free: 11.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.5519, allocations: 0.5887 MB / 0.6007 GB, free: 11.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.552, allocations: 33.7 kB / 0.6007 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.5522, allocations: 332.2 kB / 0.601 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.5524, allocations: 173.2 kB / 0.6012 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.5527, allocations: 130.3 kB / 0.6013 GB, free: 10.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5529, allocations: 370.8 kB / 0.6017 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/0.5536, allocations: 321.1 kB / 0.602 GB, free: 9.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.5545, allocations: 493.6 kB / 0.6025 GB, free: 9.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.556, allocations: 0.7329 MB / 0.6032 GB, free: 8.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.556, allocations: 4 kB / 0.6032 GB, free: 8.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002423/0.5584, allocations: 1.048 MB / 0.6042 GB, free: 7.266 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.5585, allocations: 11.94 kB / 0.6042 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5585, allocations: 4.688 kB / 0.6042 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.5597, allocations: 421.7 kB / 0.6046 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.5602, allocations: 123.8 kB / 0.6047 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.5622, allocations: 1.633 MB / 0.6063 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.5629, allocations: 91.56 kB / 0.6064 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.563, allocations: 28.86 kB / 0.6064 GB, free: 4.91 MB / 462.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.0003846/0.5634, allocations: 241.6 kB / 0.6067 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.5635, allocations: 71.58 kB / 0.6067 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.5682, allocations: 3.254 MB / 0.6099 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/0.5683, allocations: 39.94 kB / 0.61 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.5683, allocations: 0 / 0.61 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5683, allocations: 3.984 kB / 0.61 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.5704, allocations: 1.566 MB / 0.6115 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5704, allocations: 4 kB / 0.6115 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.5708, allocations: 84.44 kB / 0.6116 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.5723, allocations: 0.8737 MB / 0.6124 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.5723, allocations: 12 kB / 0.6124 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.5751, allocations: 2.295 MB / 0.6147 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5752, allocations: 3.938 kB / 0.6147 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.5789, allocations: 2.281 MB / 0.6169 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.5794, allocations: 295.7 kB / 0.6172 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.5796, allocations: 31.77 kB / 0.6172 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.5801, allocations: 39.95 kB / 0.6173 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.5803, allocations: 64.47 kB / 0.6173 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.5803, allocations: 23.98 kB / 0.6173 GB, free: 9.598 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.5811, allocations: 0.5185 MB / 0.6178 GB, free: 9.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5811, allocations: 4 kB / 0.6179 GB, free: 9.074 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00421/0.5853, allocations: 1.173 MB / 0.619 GB, free: 7.898 MB / 478.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.01056/0.5959, allocations: 3.815 MB / 0.6227 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.5987, allocations: 1.134 MB / 0.6238 GB, free: 3.031 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5987, allocations: 0 / 0.6238 GB, free: 3.031 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.6003, allocations: 0.8731 MB / 0.6247 GB, free: 2.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.6023, allocations: 381.9 kB / 0.625 GB, free: 1.793 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.6176, allocations: 8.451 MB / 0.6333 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/0.6184, allocations: 1.158 MB / 0.6344 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007727/0.6192, allocations: 353.1 kB / 0.6348 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.6197, allocations: 407.3 kB / 0.6352 GB, free: 7.184 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6197, allocations: 0 / 0.6352 GB, free: 7.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.7332, allocations: 61.28 MB / 0.695 GB, free: 9.824 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/17.33, allocations: 8.953 kB / 0.695 GB, free: 9.816 MB / 0.545 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches