Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 100.7 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 76.34 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1832, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003259/0.1865, allocations: 1.883 MB / 481.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1883, allocations: 1.084 MB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.1884, allocations: 3.938 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.1889, allocations: 291.4 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004295/0.1894, allocations: 239.4 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1896, allocations: 91.77 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.1899, allocations: 255.4 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.19, allocations: 17.66 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1901, allocations: 131.5 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1903, allocations: 199.9 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1904, allocations: 8 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.1905, allocations: 43.98 kB / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1906, allocations: 144.5 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1908, allocations: 142.8 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.1911, allocations: 367 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1911, allocations: 0 / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1911, allocations: 4 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1912, allocations: 0 / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000934/0.1921, allocations: 0.723 MB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1921, allocations: 12.03 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1922, allocations: 42.67 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.1923, allocations: 48.28 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.1928, allocations: 447.8 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1928, allocations: 4.359 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1929, allocations: 11.94 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.1931, allocations: 79.38 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1932, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1932, allocations: 3.984 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1932, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1933, allocations: 31.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.1938, allocations: 378.4 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1941, allocations: 117.1 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.1942, allocations: 37.7 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1942, allocations: 3.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1944, allocations: 113 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1945, allocations: 0 / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005564/0.195, allocations: 200.9 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.1951, allocations: 81.05 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.1967, allocations: 1.034 MB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1968, allocations: 25.7 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.197, allocations: 232.1 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.1971, allocations: 31.64 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.1972, allocations: 25.72 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003079/0.1975, allocations: 366.8 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1976, allocations: 27.98 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1977, allocations: 59.41 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.198, allocations: 87.36 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.198, allocations: 3.938 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004361/0.1985, allocations: 169 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.1985, allocations: 12 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1985, allocations: 3.984 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1985, allocations: 0 / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1987, allocations: 27.92 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1987, allocations: 0.625 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1989, allocations: 7.906 kB / 488.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1989, allocations: 7.984 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0004288/0.1993, allocations: 225.7 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.1994, allocations: 51.34 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1996, allocations: 60.09 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1996, allocations: 4 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1996, allocations: 0 / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1996, allocations: 7.984 kB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.2001, allocations: 341.3 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2002, allocations: 4 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.2002, allocations: 11.98 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2002, allocations: 0 / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2003, allocations: 4 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2003, allocations: 4 kB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2003, allocations: 0 / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.2008, allocations: 205.2 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.201, allocations: 136.6 kB / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.2011, allocations: 7.938 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2013, allocations: 4 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.2014, allocations: 15.92 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.2014, allocations: 4 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009155/0.2023, allocations: 0.7682 MB / 490.7 MB, free: 10 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.2023, allocations: 0 / 490.7 MB, free: 10 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.2026, allocations: 40 kB / 490.7 MB, free: 9.961 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001536/0.2042, allocations: 1.05 MB / 491.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.2045, allocations: 83.91 kB / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2045, allocations: 0 / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2046, allocations: 39.92 kB / 491.9 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.205, allocations: 65.36 kB / 492 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/0.2137, allocations: 4.646 MB / 496.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.2142, allocations: 0.8465 MB / 497.5 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.2144, allocations: 59.44 kB / 497.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.2146, allocations: 151.4 kB / 497.7 MB, free: 3 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2146, allocations: 3.938 kB / 497.7 MB, free: 2.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.2353, allocations: 8.631 MB / 0.4944 GB, free: 10.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.2356, allocations: 234.2 kB / 0.4947 GB, free: 10.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.293, allocations: 0 / 0.4947 GB, free: 10.22 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)