Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 210.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 46.95 MB / 360.9 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 63.91 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3173, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01959/0.3369, allocations: 16.32 MB / 0.5765 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.3469, allocations: 6.49 MB / 0.5829 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.3477, allocations: 31.69 kB / 0.5829 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.3487, allocations: 373.6 kB / 0.5832 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.3504, allocations: 0.7074 MB / 0.5839 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.354, allocations: 1.333 MB / 0.5852 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.3572, allocations: 2.559 MB / 0.5877 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.3581, allocations: 0.5729 MB / 0.5883 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.3601, allocations: 1.075 MB / 0.5893 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3614, allocations: 0.794 MB / 0.5901 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.3616, allocations: 88 kB / 0.5902 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3628, allocations: 495.2 kB / 0.5907 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.3632, allocations: 382.9 kB / 0.591 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006355/0.3638, allocations: 442.2 kB / 0.5915 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.3664, allocations: 1.584 MB / 0.593 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3664, allocations: 0 / 0.593 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3664, allocations: 4 kB / 0.593 GB, free: 2.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.3664, allocations: 4 kB / 0.593 GB, free: 2.898 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002641/0.3691, allocations: 1.229 MB / 0.5942 GB, free: 1.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3691, allocations: 8.031 kB / 0.5942 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.3693, allocations: 143.2 kB / 0.5944 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.3698, allocations: 124.3 kB / 0.5945 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.3709, allocations: 0.5532 MB / 0.595 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.3712, allocations: 407 kB / 0.5954 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.3714, allocations: 88.06 kB / 0.5955 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.3737, allocations: 1.699 MB / 0.5972 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.3737, allocations: 7.938 kB / 0.5972 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.3738, allocations: 43.98 kB / 0.5972 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.3739, allocations: 41.3 kB / 0.5972 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.3755, allocations: 0.961 MB / 0.5982 GB, free: 13.24 MB / 446.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.007262/0.3827, allocations: 5.936 MB / 0.604 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.3833, allocations: 296.6 kB / 0.6043 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.3836, allocations: 157.4 kB / 0.6044 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/0.3855, allocations: 0.786 MB / 0.6052 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.3855, allocations: 38.8 kB / 0.6052 GB, free: 5.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/0.3856, allocations: 4 kB / 0.6052 GB, free: 5.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002512/0.3881, allocations: 1.042 MB / 0.6062 GB, free: 4.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3881, allocations: 59.41 kB / 0.6063 GB, free: 4.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3893, allocations: 0.9107 MB / 0.6072 GB, free: 3.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.3893, allocations: 33.7 kB / 0.6072 GB, free: 3.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.3898, allocations: 0.5921 MB / 0.6078 GB, free: 3.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.3899, allocations: 142.9 kB / 0.6079 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.3902, allocations: 246.7 kB / 0.6082 GB, free: 2.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.3905, allocations: 394.7 kB / 0.6085 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.3909, allocations: 242.5 kB / 0.6088 GB, free: 2.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.3919, allocations: 0.966 MB / 0.6097 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3935, allocations: 1.316 MB / 0.611 GB, free: 15.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.3935, allocations: 12 kB / 0.611 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001943/0.3955, allocations: 1.215 MB / 0.6122 GB, free: 13.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.3955, allocations: 16 kB / 0.6122 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.3955, allocations: 24.91 kB / 0.6122 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.692e-05/0.3956, allocations: 36 kB / 0.6123 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/0.3965, allocations: 283.4 kB / 0.6125 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/0.3965, allocations: 47.8 kB / 0.6126 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.3972, allocations: 55.98 kB / 0.6126 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/0.3973, allocations: 72 kB / 0.6127 GB, free: 13.26 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000464/0.3978, allocations: 329.6 kB / 0.613 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.398, allocations: 91.44 kB / 0.6131 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009258/0.3989, allocations: 488.3 kB / 0.6136 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.3989, allocations: 7.938 kB / 0.6136 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3989, allocations: 0 / 0.6136 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3989, allocations: 3.984 kB / 0.6136 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4007, allocations: 1.01 MB / 0.6146 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4007, allocations: 3.938 kB / 0.6146 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.401, allocations: 75.88 kB / 0.6147 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.401, allocations: 0 / 0.6147 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.401, allocations: 15.94 kB / 0.6147 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4011, allocations: 0 / 0.6147 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4011, allocations: 7.938 kB / 0.6147 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.402, allocations: 0.6567 MB / 0.6153 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.4024, allocations: 127.3 kB / 0.6154 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4025, allocations: 16.19 kB / 0.6155 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.4029, allocations: 15.98 kB / 0.6155 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.4029, allocations: 27.91 kB / 0.6155 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.403, allocations: 23.97 kB / 0.6155 GB, free: 10.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008151/0.4038, allocations: 0.597 MB / 0.6161 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4038, allocations: 0 / 0.6161 GB, free: 9.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001196/0.405, allocations: 303.6 kB / 0.6164 GB, free: 9.355 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.4068, allocations: 1.406 MB / 0.6178 GB, free: 7.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.4079, allocations: 0.6179 MB / 0.6184 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4079, allocations: 0 / 0.6184 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4082, allocations: 132.8 kB / 0.6185 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.4101, allocations: 433.3 kB / 0.6189 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.4212, allocations: 8.024 MB / 0.6267 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.4217, allocations: 401.5 kB / 0.6271 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009664/0.4226, allocations: 318.3 kB / 0.6274 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.423, allocations: 303.3 kB / 0.6277 GB, free: 12.82 MB / 478.1 MB Notification: Performance of SimCode: time 1.623e-06/0.423, allocations: 4 kB / 0.6277 GB, free: 12.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/0.4881, allocations: 27.03 MB / 0.6541 GB, free: 2.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.94, allocations: 10.98 kB / 0.6541 GB, free: 2.234 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.930134663009085]