Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009336, allocations: 90.75 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.000859/0.0008591, 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.865/1.865, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.4903/0.4903, allocations: 40 MB / 310.4 MB, free: 10.01 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.0005883/0.0005888, allocations: 23.98 kB / 378.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.178, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003026/0.1811, allocations: 1.919 MB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.1839, allocations: 1.109 MB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1842, allocations: 3.938 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.1851, allocations: 267.3 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.1857, allocations: 231.1 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1868, allocations: 303.4 kB / 440.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007201/0.1875, allocations: 446.5 kB / 441.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.1878, allocations: 60.98 kB / 441.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.1882, allocations: 199.1 kB / 441.3 MB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.1885, allocations: 239 kB / 441.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.1886, allocations: 8 kB / 441.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1888, allocations: 32 kB / 441.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.189, allocations: 95.58 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1891, allocations: 93.44 kB / 441.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.1895, allocations: 279.7 kB / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.1895, allocations: 3.938 kB / 442 MB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1895, allocations: 0 / 442 MB, free: 13.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1895, allocations: 0 / 442 MB, free: 13.26 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001193/0.1907, allocations: 0.7047 MB / 442.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.1908, allocations: 8.031 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.1909, allocations: 51.34 kB / 442.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.1915, allocations: 379 kB / 443.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.1916, allocations: 15.98 kB / 443.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1916, allocations: 16 kB / 443.2 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.1921, allocations: 206.5 kB / 443.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1921, allocations: 4 kB / 443.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.1922, allocations: 4 kB / 443.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1922, allocations: 11.95 kB / 443.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.1924, allocations: 95.86 kB / 443.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1937, allocations: 0.8566 MB / 444.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.1944, allocations: 293.2 kB / 444.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.1946, allocations: 96.19 kB / 444.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.1947, allocations: 12 kB / 444.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/0.1953, allocations: 219.5 kB / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.1953, allocations: 0 / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002338/0.1976, allocations: 0.9692 MB / 446 MB, free: 9.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1977, allocations: 162.2 kB / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.1985, allocations: 0.6159 MB / 446.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.1986, allocations: 41.7 kB / 446.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.1988, allocations: 221 kB / 447 MB, free: 7.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.1991, allocations: 122.3 kB / 447.1 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.1991, allocations: 8 kB / 447.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003549/0.1995, allocations: 366.8 kB / 447.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1997, allocations: 100.8 kB / 447.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.2, allocations: 180.9 kB / 447.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2002, allocations: 124.3 kB / 447.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2002, allocations: 0 / 447.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007073/0.2009, allocations: 384.7 kB / 448.2 MB, free: 6.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.201, allocations: 11.98 kB / 448.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.201, allocations: 3.938 kB / 448.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.201, allocations: 4 kB / 448.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.2014, allocations: 84.19 kB / 448.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.2014, allocations: 16 kB / 448.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2016, allocations: 19.98 kB / 448.4 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.2017, allocations: 19.95 kB / 448.4 MB, free: 6.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002965/0.202, allocations: 204.3 kB / 448.6 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2021, allocations: 67.17 kB / 448.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.2022, allocations: 63.91 kB / 448.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.2023, allocations: 4 kB / 448.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.2023, allocations: 7.938 kB / 448.7 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2023, allocations: 4 kB / 448.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.2041, allocations: 1.261 MB / 450 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2041, allocations: 0 / 450 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2043, allocations: 55.86 kB / 450.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.2043, allocations: 4 kB / 450.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.2043, allocations: 15.98 kB / 450.1 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.2043, allocations: 4 kB / 450.1 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.2043, allocations: 4.094 kB / 450.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2054, allocations: 0.8243 MB / 450.9 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.2055, allocations: 132.4 kB / 451 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.2056, allocations: 19.95 kB / 451.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.2059, allocations: 15.98 kB / 451.1 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.2061, allocations: 39.95 kB / 451.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.2061, allocations: 27.97 kB / 451.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006532/0.2068, allocations: 454.8 kB / 451.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2068, allocations: 0 / 451.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006224/0.2074, allocations: 80 kB / 451.7 MB, free: 3.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00134/0.2088, allocations: 489 kB / 452.1 MB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007464/0.2095, allocations: 287.7 kB / 452.4 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.2096, allocations: 4.312 kB / 452.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.2099, allocations: 143.8 kB / 452.6 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.211, allocations: 142 kB / 452.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.213, allocations: 0.9385 MB / 453.6 MB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.2139, allocations: 0.8528 MB / 454.5 MB, free: 236 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.2142, allocations: 79.39 kB / 454.6 MB, free: 156 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2143, allocations: 55.41 kB / 454.6 MB, free: 100 kB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2144, allocations: 0 / 454.6 MB, free: 100 kB / 382.1 MB Notification: Performance of Templates: time 0.3009/0.5152, allocations: 5.121 MB / 459.7 MB, free: 47.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) Environment - environmentSimulation: