Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00805/0.00805, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.752/1.752, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4626/0.4626, allocations: 40.01 MB / 310.7 MB, free: 9.895 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.0006655/0.0006656, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1844, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003133/0.1876, allocations: 1.413 MB / 438.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1895, allocations: 0.7691 MB / 439.6 MB, free: 0 / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1896, allocations: 0 / 439.6 MB, free: 0 / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.1901, allocations: 35.94 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.1905, allocations: 47.83 kB / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1909, allocations: 83.78 kB / 439.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1912, allocations: 91.59 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.1914, allocations: 12.22 kB / 439.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1915, allocations: 43.77 kB / 439.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1917, allocations: 31.8 kB / 439.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1917, allocations: 0 / 439.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1919, allocations: 35.98 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.192, allocations: 23.91 kB / 440 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1921, allocations: 53.45 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1924, allocations: 115.9 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1924, allocations: 4 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.1924, allocations: 0 / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1924, allocations: 0 / 440.2 MB, free: 15.43 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.0008295/0.1933, allocations: 399 kB / 440.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/0.1934, allocations: 11.97 kB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.1934, allocations: 8.844 kB / 440.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1938, allocations: 208.1 kB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1938, allocations: 384 / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1939, allocations: 12.12 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1941, allocations: 53.67 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1941, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1942, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1942, allocations: 4 kB / 440.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1943, allocations: 15.98 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.195, allocations: 288.8 kB / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1952, allocations: 66.61 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.1953, allocations: 16.86 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.1954, allocations: 7.984 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.1957, allocations: 75.23 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.1957, allocations: 0 / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000838/0.1966, allocations: 173.3 kB / 441.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1967, allocations: 59.39 kB / 441.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.197, allocations: 178.2 kB / 441.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.1971, allocations: 29.7 kB / 441.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1972, allocations: 104.1 kB / 441.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.1973, allocations: 23.7 kB / 441.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.1974, allocations: 17.72 kB / 441.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.1977, allocations: 326.8 kB / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.1978, allocations: 20 kB / 442.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.1978, allocations: 33.7 kB / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.198, allocations: 65.62 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.198, allocations: 4 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001991/0.1982, allocations: 97.58 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1982, allocations: 7.594 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1982, allocations: 4.031 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1982, allocations: 4 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1984, allocations: 15.94 kB / 442.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1984, allocations: 0 / 442.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.1984, allocations: 11.92 kB / 442.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1985, allocations: 4.188 kB / 442.5 MB, free: 12.89 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.0001435/0.1986, allocations: 121.8 kB / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1986, allocations: 11.84 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.1987, allocations: 20.7 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1987, allocations: 4 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1987, allocations: 0 / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1988, allocations: 3.938 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1992, allocations: 391.2 kB / 443 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.1993, allocations: 4 kB / 443 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.1993, allocations: 7.984 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1993, allocations: 4 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1993, allocations: 7.969 kB / 443 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1993, allocations: 7.875 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1994, allocations: 4 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1996, allocations: 200.5 kB / 443.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1996, allocations: 88.91 kB / 443.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1997, allocations: 7.938 kB / 443.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.1998, allocations: 8 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1998, allocations: 7.984 kB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1998, allocations: 4.375 kB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1999, allocations: 144.1 kB / 443.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1999, allocations: 0 / 443.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.2002, allocations: 23.98 kB / 443.5 MB, free: 11.73 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.001115/0.2013, allocations: 466.8 kB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.2015, allocations: 51.98 kB / 444 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2016, allocations: 0 / 444 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.2016, allocations: 35.91 kB / 444.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.202, allocations: 39.78 kB / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.2027, allocations: 238.8 kB / 444.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.203, allocations: 0.7083 MB / 445 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.2031, allocations: 17.17 kB / 445 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.2031, allocations: 15.44 kB / 445.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2032, allocations: 0 / 445.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005278/0.2084, allocations: 1.607 MB / 446.7 MB, free: 8.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: