Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.656/1.656, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3675/0.3675, allocations: 39.94 MB / 309.7 MB, free: 9.332 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.002095/0.002096, allocations: 71.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1802, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004309/0.1846, allocations: 1.834 MB / 436.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1864, allocations: 0.9013 MB / 437.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1865, allocations: 3.938 kB / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.1871, allocations: 223.4 kB / 437.5 MB, free: 0.7031 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000378/0.1875, allocations: 167.5 kB / 437.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1879, allocations: 135.6 kB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.1882, allocations: 231.3 kB / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1884, allocations: 33.52 kB / 438 MB, free: 144 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1886, allocations: 107.7 kB / 438.1 MB, free: 36 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1888, allocations: 147.5 kB / 438.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.1888, allocations: 4 kB / 438.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.189, allocations: 47.97 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1891, allocations: 43.84 kB / 438.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1892, allocations: 91.28 kB / 438.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1895, allocations: 207.5 kB / 438.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1895, allocations: 4 kB / 438.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1895, allocations: 0 / 438.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.391e-06/0.1895, allocations: 7.938 kB / 438.7 MB, free: 15.49 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008076/0.1903, allocations: 0.5408 MB / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1904, allocations: 11.89 kB / 439.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.1905, allocations: 24.66 kB / 439.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1908, allocations: 288 kB / 439.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1908, allocations: 384 / 439.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1909, allocations: 16.03 kB / 439.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1911, allocations: 95.36 kB / 439.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1911, allocations: 0 / 439.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1911, allocations: 4 kB / 439.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1912, allocations: 4 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1913, allocations: 39.91 kB / 439.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.1919, allocations: 445 kB / 440.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1922, allocations: 117.3 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.1923, allocations: 37.7 kB / 440.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1923, allocations: 7.984 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.1926, allocations: 117 kB / 440.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1927, allocations: 0 / 440.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009701/0.1936, allocations: 367.8 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.1937, allocations: 89.03 kB / 440.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1942, allocations: 424.5 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1942, allocations: 29.7 kB / 441.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1944, allocations: 156.2 kB / 441.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.1944, allocations: 47.39 kB / 441.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.1945, allocations: 37.7 kB / 441.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1947, allocations: 338.8 kB / 441.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1948, allocations: 43.97 kB / 441.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1949, allocations: 75.41 kB / 442 MB, free: 11.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.1951, allocations: 116.1 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1951, allocations: 0 / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003157/0.1955, allocations: 189.1 kB / 442.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1955, allocations: 8 kB / 442.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1955, allocations: 0 / 442.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1955, allocations: 4 kB / 442.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1957, allocations: 31.98 kB / 442.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1957, allocations: 7.938 kB / 442.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.1958, allocations: 7.984 kB / 442.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1958, allocations: 12 kB / 442.3 MB, free: 11.54 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000155/0.1959, allocations: 161.8 kB / 442.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.196, allocations: 31.62 kB / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.1961, allocations: 38.92 kB / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1961, allocations: 4 kB / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1961, allocations: 7.875 kB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1961, allocations: 0 / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.1968, allocations: 0.628 MB / 443.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1968, allocations: 0 / 443.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.1969, allocations: 16 kB / 443.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1969, allocations: 4 kB / 443.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1969, allocations: 3.984 kB / 443.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1969, allocations: 7.938 kB / 443.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1969, allocations: 0 / 443.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.1973, allocations: 367.5 kB / 443.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1973, allocations: 104.7 kB / 443.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1974, allocations: 4 kB / 443.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1975, allocations: 11.98 kB / 443.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.1976, allocations: 11.92 kB / 443.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1976, allocations: 8 kB / 443.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.1979, allocations: 323 kB / 444 MB, free: 9.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1979, allocations: 3.938 kB / 444 MB, free: 9.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1982, allocations: 40 kB / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001019/0.1992, allocations: 473.2 kB / 444.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.1995, allocations: 119.8 kB / 444.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1995, allocations: 0 / 444.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1997, allocations: 59.92 kB / 444.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.2002, allocations: 65.41 kB / 444.8 MB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.2009, allocations: 0.4946 MB / 445.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2013, allocations: 0.767 MB / 446 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.752e-05/0.2014, allocations: 33.92 kB / 446.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.2015, allocations: 27.42 kB / 446.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2015, allocations: 0 / 446.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of Templates: time 0.006092/0.2076, allocations: 2.714 MB / 448.8 MB, free: 4.902 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)