Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008272/0.0008272, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.000766/0.000766, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8242/0.8242, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1298/0.1298, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.516e-05, allocations: 6.281 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01167/0.01169, allocations: 16.09 MB / 422.9 MB, free: 2.074 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005403/0.01709, allocations: 6.465 MB / 429.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.01747, allocations: 31.69 kB / 429.4 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.01807, allocations: 373.5 kB / 429.8 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.01923, allocations: 0.7105 MB / 430.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.0213, allocations: 1.382 MB / 431.9 MB, free: 9.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.02317, allocations: 2.52 MB / 434.4 MB, free: 6.562 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006862/0.02386, allocations: 0.5727 MB / 435 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.02517, allocations: 1.328 MB / 436.3 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.02577, allocations: 0.7207 MB / 437 MB, free: 3.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.02587, allocations: 88 kB / 437.1 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.02652, allocations: 490.9 kB / 437.6 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.02699, allocations: 390.8 kB / 438 MB, free: 2.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.02723, allocations: 395.2 kB / 438.4 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.02831, allocations: 1.593 MB / 440 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.02831, allocations: 0 / 440 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02831, allocations: 0 / 440 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.02832, allocations: 0 / 440 MB, free: 0.9922 MB / 410.7 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.001291/0.02961, allocations: 1.222 MB / 441.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.02964, allocations: 12.03 kB / 441.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.02976, allocations: 143.2 kB / 441.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.03001, allocations: 132.2 kB / 441.5 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.0306, allocations: 0.5486 MB / 442 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.03077, allocations: 411 kB / 442.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.03085, allocations: 76.38 kB / 442.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.03208, allocations: 1.761 MB / 444.2 MB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.0321, allocations: 7.875 kB / 444.2 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.03216, allocations: 47.94 kB / 444.3 MB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.0322, allocations: 45.23 kB / 444.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.03337, allocations: 0.961 MB / 445.3 MB, free: 11.25 MB / 426.7 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.003561/0.03693, allocations: 5.914 MB / 451.2 MB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.03727, allocations: 296.7 kB / 451.5 MB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.03743, allocations: 157.4 kB / 451.7 MB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.03854, allocations: 0.7977 MB / 452.5 MB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.03856, allocations: 42.73 kB / 452.5 MB, free: 3.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.133e-06/0.03856, allocations: 0 / 452.5 MB, free: 3.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001348/0.03991, allocations: 1.033 MB / 453.5 MB, free: 2.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.03994, allocations: 59.34 kB / 453.6 MB, free: 2.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.04058, allocations: 0.9223 MB / 454.5 MB, free: 1.711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.04061, allocations: 37.7 kB / 454.5 MB, free: 1.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.04087, allocations: 0.5766 MB / 455.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.04095, allocations: 142.9 kB / 455.3 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.04111, allocations: 242.7 kB / 455.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.04123, allocations: 394.8 kB / 455.9 MB, free: 312 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.04149, allocations: 246.5 kB / 456.1 MB, free: 68 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.04203, allocations: 0.9698 MB / 457.1 MB, free: 14.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.0432, allocations: 1.319 MB / 458.4 MB, free: 13.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.04321, allocations: 8 kB / 458.4 MB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001083/0.04429, allocations: 1.216 MB / 459.6 MB, free: 11.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.04431, allocations: 16 kB / 459.7 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.04433, allocations: 27.98 kB / 459.7 MB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.04436, allocations: 36 kB / 459.7 MB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.04478, allocations: 279.5 kB / 460 MB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.0448, allocations: 51.73 kB / 460 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.04514, allocations: 52 kB / 460.1 MB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.0452, allocations: 72.33 kB / 460.2 MB, free: 11.3 MB / 442.7 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.0002416/0.04544, allocations: 352.9 kB / 460.5 MB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.04552, allocations: 91.44 kB / 460.6 MB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.04606, allocations: 495.1 kB / 461.1 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.04606, allocations: 4 kB / 461.1 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.04607, allocations: 4 kB / 461.1 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.04607, allocations: 3.984 kB / 461.1 MB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.04701, allocations: 1.006 MB / 462.1 MB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.04702, allocations: 3.938 kB / 462.1 MB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.04717, allocations: 67.95 kB / 462.2 MB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.04717, allocations: 4 kB / 462.2 MB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.04719, allocations: 15.88 kB / 462.2 MB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.04719, allocations: 8.188 kB / 462.2 MB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.04719, allocations: 0 / 462.2 MB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.04777, allocations: 0.6496 MB / 462.8 MB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.04791, allocations: 131.4 kB / 463 MB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.04797, allocations: 15.89 kB / 463 MB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.04817, allocations: 15.98 kB / 463 MB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.04819, allocations: 23.97 kB / 463 MB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.04822, allocations: 27.97 kB / 463.1 MB, free: 8.281 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004842/0.04871, allocations: 0.593 MB / 463.6 MB, free: 7.676 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04871, allocations: 4.062 kB / 463.7 MB, free: 7.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006682/0.04938, allocations: 299.6 kB / 463.9 MB, free: 7.379 MB / 442.7 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.001209/0.05058, allocations: 1.446 MB / 465.4 MB, free: 5.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.05141, allocations: 0.6137 MB / 466 MB, free: 5.277 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.05142, allocations: 4 kB / 466 MB, free: 5.273 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.05156, allocations: 137.4 kB / 466.1 MB, free: 5.141 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.05249, allocations: 422.3 kB / 466.6 MB, free: 4.727 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1417/0.1942, allocations: 7.931 MB / 474.5 MB, free: 98.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1944, allocations: 399.3 kB / 474.9 MB, free: 98.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00065/0.1951, allocations: 311.4 kB / 475.2 MB, free: 98.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.1953, allocations: 302 kB / 475.5 MB, free: 98.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.844e-06/0.1953, allocations: 0 / 475.5 MB, free: 98.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.2329, allocations: 26.79 MB / 0.4905 GB, free: 92.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.398, allocations: 12.77 kB / 0.4905 GB, free: 92.62 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.371716558001935]