Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007765/0.0007765, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008143/0.0008143, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.907/0.907, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.36e-05, allocations: 2.281 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1748/0.1749, allocations: 16.21 MB / 458.4 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003731/0.1786, allocations: 6.482 MB / 464.8 MB, free: 30.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.1788, allocations: 28.25 kB / 464.9 MB, free: 30.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.1794, allocations: 371.3 kB / 465.2 MB, free: 29.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008293/0.1803, allocations: 0.7179 MB / 465.9 MB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1819, allocations: 1.378 MB / 467.3 MB, free: 28.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1831, allocations: 2.523 MB / 469.8 MB, free: 27.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.1836, allocations: 0.5586 MB / 470.4 MB, free: 27.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009348/0.1845, allocations: 1.338 MB / 471.7 MB, free: 26.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.185, allocations: 0.7314 MB / 472.5 MB, free: 26.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.1851, allocations: 85.97 kB / 472.6 MB, free: 26.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.1856, allocations: 492.1 kB / 473 MB, free: 26.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.1858, allocations: 401.9 kB / 473.4 MB, free: 26.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.186, allocations: 382.8 kB / 473.8 MB, free: 26.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009859/0.187, allocations: 1.646 MB / 475.5 MB, free: 25.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.187, allocations: 0 / 475.5 MB, free: 25.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.187, allocations: 0 / 475.5 MB, free: 25.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.187, allocations: 0 / 475.5 MB, free: 25.56 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.001297/0.1883, allocations: 1.221 MB / 476.7 MB, free: 24.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1883, allocations: 9.75 kB / 476.7 MB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1885, allocations: 147.1 kB / 476.8 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.1887, allocations: 121.5 kB / 476.9 MB, free: 24.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.1892, allocations: 0.5471 MB / 477.5 MB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.1894, allocations: 412.1 kB / 477.9 MB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.1894, allocations: 79.06 kB / 478 MB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1905, allocations: 1.699 MB / 479.7 MB, free: 22.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1905, allocations: 18.02 kB / 479.7 MB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.1905, allocations: 36.25 kB / 479.7 MB, free: 22.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.1906, allocations: 39.56 kB / 479.8 MB, free: 22.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.1914, allocations: 0.9654 MB / 480.7 MB, free: 22.31 MB / 410.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.002816/0.1942, allocations: 5.906 MB / 486.6 MB, free: 17.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.1945, allocations: 298.2 kB / 486.9 MB, free: 17.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1947, allocations: 163.5 kB / 487.1 MB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.1954, allocations: 0.7906 MB / 487.9 MB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1954, allocations: 44.73 kB / 487.9 MB, free: 16.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.1954, allocations: 0 / 487.9 MB, free: 16.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00123/0.1967, allocations: 1.048 MB / 489 MB, free: 16.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.1967, allocations: 54.12 kB / 489 MB, free: 16.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.1972, allocations: 0.9145 MB / 489.9 MB, free: 15.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1973, allocations: 35.42 kB / 490 MB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.1974, allocations: 0.5883 MB / 490.6 MB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.1975, allocations: 141.1 kB / 490.7 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.1977, allocations: 239.5 kB / 490.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.1977, allocations: 398.1 kB / 491.3 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.198, allocations: 242.4 kB / 491.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.1984, allocations: 0.9621 MB / 492.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/0.1992, allocations: 1.325 MB / 493.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.1992, allocations: 7.5 kB / 493.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001095/0.2003, allocations: 1.215 MB / 495.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2003, allocations: 15.69 kB / 495.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.2003, allocations: 25.91 kB / 495.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.2004, allocations: 34.28 kB / 495.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.2008, allocations: 278.5 kB / 495.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.2008, allocations: 50.02 kB / 495.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.2012, allocations: 61.78 kB / 495.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.2013, allocations: 70.44 kB / 495.6 MB, free: 11.82 MB / 410.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.0002418/0.2015, allocations: 331.9 kB / 495.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.2016, allocations: 95.12 kB / 496 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.2022, allocations: 489 kB / 496.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2022, allocations: 12.47 kB / 496.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2022, allocations: 0 / 496.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2022, allocations: 3 kB / 496.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.2031, allocations: 1.016 MB / 497.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2031, allocations: 2.906 kB / 497.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.2033, allocations: 65.75 kB / 497.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2033, allocations: 2.406 kB / 497.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2033, allocations: 20.52 kB / 497.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2033, allocations: 2.594 kB / 497.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2033, allocations: 2.25 kB / 497.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.2039, allocations: 0.6481 MB / 498.3 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.2041, allocations: 127.5 kB / 498.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.2041, allocations: 13.05 kB / 498.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.2043, allocations: 12.92 kB / 498.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.2044, allocations: 25.3 kB / 498.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.2044, allocations: 28.52 kB / 498.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000536/0.2049, allocations: 0.5994 MB / 499.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2049, allocations: 0 / 499.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007205/0.2056, allocations: 306.8 kB / 499.4 MB, free: 9.918 MB / 410.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.001137/0.2068, allocations: 1.404 MB / 0.489 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.2075, allocations: 0.6193 MB / 0.4896 GB, free: 8.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2075, allocations: 1.688 kB / 0.4896 GB, free: 8.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.2076, allocations: 140.3 kB / 0.4898 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2087, allocations: 420 kB / 0.4902 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006194/0.2149, allocations: 7.92 MB / 0.4979 GB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2152, allocations: 411.8 kB / 0.4983 GB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005776/0.2158, allocations: 319 kB / 0.4986 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.216, allocations: 304.4 kB / 0.4989 GB, free: 2.961 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.216, allocations: 0 / 0.4989 GB, free: 2.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.2513, allocations: 26.65 MB / 0.5249 GB, free: 15.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.478, allocations: 7.875 kB / 0.5249 GB, free: 15.47 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.50195561349392]