Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009006, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001084/0.001084, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4013/0.4013, allocations: 39.99 MB / 310.4 MB, free: 9.898 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.0006359/0.0006362, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.18, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002544/0.1826, allocations: 1.382 MB / 438.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1841, allocations: 0.7421 MB / 438.9 MB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1842, allocations: 0 / 438.9 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.1848, allocations: 79.81 kB / 439 MB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1851, allocations: 75.67 kB / 439.1 MB, free: 272 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.1856, allocations: 67.92 kB / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1858, allocations: 91.67 kB / 439.2 MB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1859, allocations: 16.2 kB / 439.3 MB, free: 96 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.1861, allocations: 43.78 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1862, allocations: 47.81 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1863, allocations: 8.047 kB / 439.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1864, allocations: 35.98 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.1865, allocations: 19.88 kB / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.1866, allocations: 37.64 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1868, allocations: 92.08 kB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1868, allocations: 0 / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1869, allocations: 0 / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1869, allocations: 0 / 439.5 MB, free: 15.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007829/0.1877, allocations: 410.7 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1877, allocations: 16.02 kB / 439.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1878, allocations: 15.81 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1881, allocations: 195.6 kB / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.1881, allocations: 8 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1882, allocations: 3.984 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1883, allocations: 53.67 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1884, allocations: 4 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1884, allocations: 0 / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1884, allocations: 3.953 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.1885, allocations: 31.86 kB / 440.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.189, allocations: 280.9 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1892, allocations: 54.69 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.1893, allocations: 20.84 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1893, allocations: 4 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1895, allocations: 79.28 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1896, allocations: 0 / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006513/0.1902, allocations: 181 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1903, allocations: 51.41 kB / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1905, allocations: 218.2 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1906, allocations: 29.7 kB / 441.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.1906, allocations: 108.1 kB / 441.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1907, allocations: 23.66 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.1907, allocations: 0 / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.1909, allocations: 322.8 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.191, allocations: 23.98 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.1911, allocations: 33.7 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.1912, allocations: 20 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1912, allocations: 4 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.1914, allocations: 113.5 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1914, allocations: 4 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1914, allocations: 0 / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1915, allocations: 0 / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1916, allocations: 19.94 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1916, allocations: 3.938 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.1916, allocations: 7.891 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1917, allocations: 4 kB / 441.8 MB, free: 13.28 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.1918, allocations: 133.7 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1918, allocations: 15.84 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1919, allocations: 17.41 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1919, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1919, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1919, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1924, allocations: 407.4 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1924, allocations: 0 / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1925, allocations: 8 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1925, allocations: 4.188 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1925, allocations: 4 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1925, allocations: 3.938 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1925, allocations: 0 / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1928, allocations: 208.2 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1928, allocations: 96.95 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1929, allocations: 4 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.1929, allocations: 384 / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.193, allocations: 11.98 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.193, allocations: 8 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1931, allocations: 156.2 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1932, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1934, allocations: 27.98 kB / 442.9 MB, free: 12.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.1945, allocations: 460.9 kB / 443.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1947, allocations: 59.91 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1947, allocations: 4.062 kB / 443.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1948, allocations: 31.94 kB / 443.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1952, allocations: 27.88 kB / 443.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.1958, allocations: 250.2 kB / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1962, allocations: 0.7121 MB / 444.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.554e-05/0.1962, allocations: 17.17 kB / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.1963, allocations: 15.44 kB / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1963, allocations: 0 / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Templates: time 0.00521/0.2015, allocations: 1.591 MB / 446.1 MB, free: 8.906 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) Environment - environmentSimulation: