Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001195/0.001195, allocations: 194.2 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3847/0.3847, allocations: 39.93 MB / 309.3 MB, free: 9.336 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1798, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004266/0.1841, allocations: 1.763 MB / 435.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.186, allocations: 0.7845 MB / 436.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1862, allocations: 8 kB / 436.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.1868, allocations: 51.8 kB / 436.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1871, allocations: 55.81 kB / 436.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.1875, allocations: 71.84 kB / 436.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1877, allocations: 103.7 kB / 436.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1879, allocations: 8.219 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.188, allocations: 43.78 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1881, allocations: 35.78 kB / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1882, allocations: 0 / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1883, allocations: 39.98 kB / 436.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1885, allocations: 31.84 kB / 436.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.1885, allocations: 43.67 kB / 436.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1888, allocations: 131.8 kB / 437 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1889, allocations: 3.938 kB / 437 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1889, allocations: 0 / 437 MB, free: 0.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1889, allocations: 0 / 437 MB, free: 0.957 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001315/0.1902, allocations: 442.6 kB / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.04e-05/0.1903, allocations: 8.031 kB / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.1904, allocations: 16.75 kB / 437.4 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.1908, allocations: 224.9 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1909, allocations: 4.375 kB / 437.6 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1909, allocations: 8.125 kB / 437.7 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1911, allocations: 53.67 kB / 437.7 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1911, allocations: 0 / 437.7 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1911, allocations: 3.938 kB / 437.7 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1911, allocations: 0 / 437.7 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.1912, allocations: 23.92 kB / 437.7 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007335/0.192, allocations: 296.8 kB / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1922, allocations: 58.69 kB / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.1922, allocations: 20.84 kB / 438.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1923, allocations: 7.938 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.1926, allocations: 63.39 kB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1926, allocations: 4 kB / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006848/0.1933, allocations: 189 kB / 438.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.1934, allocations: 51.41 kB / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1937, allocations: 268.8 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1937, allocations: 33.7 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.1938, allocations: 112.1 kB / 438.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1938, allocations: 27.64 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1939, allocations: 21.72 kB / 438.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1941, allocations: 334.8 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.1941, allocations: 20 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1942, allocations: 37.7 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1943, allocations: 61.64 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1943, allocations: 0 / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1945, allocations: 109.5 kB / 439.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1946, allocations: 4 kB / 439.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1946, allocations: 0 / 439.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1946, allocations: 4 kB / 439.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1947, allocations: 12.19 kB / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1947, allocations: 0 / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.1948, allocations: 15.86 kB / 439.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1948, allocations: 4 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0002348/0.1951, allocations: 137.8 kB / 439.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1951, allocations: 15.81 kB / 439.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.1952, allocations: 17.41 kB / 439.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1952, allocations: 11.97 kB / 439.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1952, allocations: 0 / 439.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1952, allocations: 3.938 kB / 439.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.1959, allocations: 399.5 kB / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1959, allocations: 7.922 kB / 440 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.1959, allocations: 11.94 kB / 440 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.196, allocations: 4.031 kB / 440 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.196, allocations: 7.938 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.196, allocations: 80 / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.196, allocations: 3.984 kB / 440.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1963, allocations: 208.2 kB / 440.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1964, allocations: 92.91 kB / 440.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1964, allocations: 3.938 kB / 440.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.1967, allocations: 12 kB / 440.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.1968, allocations: 11.92 kB / 440.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1968, allocations: 4.375 kB / 440.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.197, allocations: 208.5 kB / 440.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.197, allocations: 0 / 440.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1974, allocations: 27.98 kB / 440.6 MB, free: 12.96 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001319/0.1987, allocations: 465.1 kB / 441.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1989, allocations: 55.92 kB / 441.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1989, allocations: 3.938 kB / 441.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.199, allocations: 31.98 kB / 441.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1994, allocations: 32.03 kB / 441.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.2002, allocations: 329.6 kB / 441.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.2008, allocations: 0.716 MB / 442.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.2009, allocations: 17.17 kB / 442.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.2009, allocations: 15.44 kB / 442.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2009, allocations: 4 kB / 442.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of Templates: time 0.006389/0.2073, allocations: 1.673 MB / 443.9 MB, free: 9.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)