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.001187/0.001187, allocations: 113.9 kB / 17.33 MB, free: 6.012 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.001224/0.001224, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.449/1.449, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.16 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 64.22 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1339, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04502/0.1789, allocations: 36.65 MB / 0.4936 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2556/0.4346, allocations: 16.89 MB / 0.5101 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008761/0.4355, allocations: 20.38 kB / 0.5101 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.4368, allocations: 382.7 kB / 0.5105 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.45, allocations: 3.573 MB / 0.514 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.4608, allocations: 2.844 MB / 0.5168 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.4638, allocations: 1.807 MB / 0.5185 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.4648, allocations: 0.5348 MB / 0.5191 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.4674, allocations: 0.753 MB / 0.5198 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.4688, allocations: 0.6067 MB / 0.5204 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.469, allocations: 76.31 kB / 0.5205 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01938/0.4883, allocations: 7.352 MB / 0.5276 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000859/0.4893, allocations: 249.3 kB / 0.5279 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.4905, allocations: 426.8 kB / 0.5283 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.5043, allocations: 5.055 MB / 0.5332 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5044, allocations: 0 / 0.5332 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5044, allocations: 0 / 0.5332 GB, free: 6.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.5044, allocations: 0 / 0.5332 GB, free: 6.793 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.004119/0.5085, allocations: 1.609 MB / 0.5348 GB, free: 5.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5086, allocations: 14.75 kB / 0.5348 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.5087, allocations: 110.8 kB / 0.5349 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.5115, allocations: 370.3 kB / 0.5353 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.5122, allocations: 0.5186 MB / 0.5358 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.5123, allocations: 112.7 kB / 0.5359 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.5124, allocations: 57.03 kB / 0.5359 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.5147, allocations: 1.13 MB / 0.537 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5148, allocations: 10.62 kB / 0.537 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.5149, allocations: 26.44 kB / 0.5371 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.5149, allocations: 36.3 kB / 0.5371 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.5173, allocations: 1.051 MB / 0.5381 GB, free: 3.648 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.00577/0.5231, allocations: 5.01 MB / 0.543 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.526, allocations: 0.9223 MB / 0.5439 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.5267, allocations: 377.9 kB / 0.5443 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04791/0.5746, allocations: 24.22 MB / 0.5679 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.5748, allocations: 39 kB / 0.568 GB, free: 2.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.507e-06/0.5748, allocations: 0 / 0.568 GB, free: 2.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007568/0.5823, allocations: 1.977 MB / 0.5699 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.5825, allocations: 111.2 kB / 0.57 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/0.5834, allocations: 0.5925 MB / 0.5706 GB, free: 128 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.5836, allocations: 33.7 kB / 0.5706 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.5839, allocations: 318.4 kB / 0.5709 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.5841, allocations: 168.9 kB / 0.5711 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5844, allocations: 130.2 kB / 0.5712 GB, free: 15.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5846, allocations: 370.8 kB / 0.5716 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.5854, allocations: 321.1 kB / 0.5719 GB, free: 14.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008683/0.5862, allocations: 493.6 kB / 0.5723 GB, free: 14.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.5877, allocations: 0.7336 MB / 0.5731 GB, free: 13.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.5877, allocations: 3.844 kB / 0.5731 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002455/0.5902, allocations: 1.051 MB / 0.5741 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5902, allocations: 11.94 kB / 0.5741 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5903, allocations: 4 kB / 0.5741 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.5915, allocations: 425.6 kB / 0.5745 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.592, allocations: 119.8 kB / 0.5746 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.594, allocations: 1.627 MB / 0.5762 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.5949, allocations: 99.3 kB / 0.5763 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.595, allocations: 31.98 kB / 0.5763 GB, free: 10.03 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.0004588/0.5954, allocations: 230.1 kB / 0.5766 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5957, allocations: 63.25 kB / 0.5766 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.6004, allocations: 3.261 MB / 0.5798 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/0.6005, allocations: 48.06 kB / 0.5798 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.6005, allocations: 0 / 0.5798 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6005, allocations: 7.969 kB / 0.5799 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.6026, allocations: 1.562 MB / 0.5814 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6026, allocations: 0 / 0.5814 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.603, allocations: 79.88 kB / 0.5815 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.6045, allocations: 0.8799 MB / 0.5823 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.6046, allocations: 15.98 kB / 0.5823 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.6073, allocations: 2.29 MB / 0.5846 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6073, allocations: 3.938 kB / 0.5846 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.611, allocations: 2.273 MB / 0.5868 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/0.6116, allocations: 291 kB / 0.5871 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.6119, allocations: 35.62 kB / 0.5871 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.6127, allocations: 59.94 kB / 0.5872 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.6129, allocations: 64.47 kB / 0.5872 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.6129, allocations: 19.98 kB / 0.5872 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008096/0.6138, allocations: 0.5146 MB / 0.5877 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6138, allocations: 3.938 kB / 0.5877 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004689/0.6185, allocations: 1.163 MB / 0.5889 GB, free: 13.04 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.01155/0.63, allocations: 3.798 MB / 0.5926 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.6337, allocations: 1.204 MB / 0.5938 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6337, allocations: 0 / 0.5938 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.6354, allocations: 0.8777 MB / 0.5946 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.6377, allocations: 393.5 kB / 0.595 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.6557, allocations: 9.135 MB / 0.6039 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.6566, allocations: 1.158 MB / 0.6051 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008488/0.6575, allocations: 353.2 kB / 0.6054 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.658, allocations: 411.3 kB / 0.6058 GB, free: 11.59 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.658, allocations: 3.938 kB / 0.6058 GB, free: 11.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/0.7599, allocations: 60.78 MB / 0.6651 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.7602, allocations: 281.9 kB / 0.6654 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.943/5.704, allocations: 2.953 kB / 0.6654 GB, free: 14.7 MB / 0.5137 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