Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001558, 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.0017/0.0017, allocations: 192.6 kB / 16.14 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.74/1.74, allocations: 205.1 MB / 222 MB, free: 4.734 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.4029/0.4029, allocations: 39.93 MB / 309.3 MB, free: 9.277 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.001479/0.001479, allocations: 67.92 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.177, allocations: 56.89 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004977/0.182, allocations: 1.956 MB / 435.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1844, allocations: 0.8312 MB / 436.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1845, allocations: 0 / 436.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.185, allocations: 39.77 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.1853, allocations: 43.84 kB / 436.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1858, allocations: 91.83 kB / 436.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.1861, allocations: 131.5 kB / 436.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1863, allocations: 29.75 kB / 436.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1864, allocations: 51.72 kB / 437 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1866, allocations: 51.7 kB / 437 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.1866, allocations: 4 kB / 437 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1868, allocations: 39.94 kB / 437.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.1869, allocations: 39.83 kB / 437.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.187, allocations: 43.69 kB / 437.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.1873, allocations: 139.5 kB / 437.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1874, allocations: 0 / 437.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1874, allocations: 0 / 437.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1874, allocations: 0 / 437.3 MB, free: 0.6094 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009328/0.1883, allocations: 480.5 kB / 437.8 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1884, allocations: 12.03 kB / 437.8 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1885, allocations: 20.75 kB / 437.8 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.1889, allocations: 228 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.189, allocations: 384 / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.189, allocations: 12.12 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.1894, allocations: 112 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1895, allocations: 0 / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1895, allocations: 4 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1895, allocations: 4 kB / 438.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.1898, allocations: 47.95 kB / 438.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.1907, allocations: 0.5164 MB / 438.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.1913, allocations: 86.61 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1915, allocations: 40.83 kB / 438.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.1915, allocations: 4 kB / 438.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.192, allocations: 83.38 kB / 438.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.374e-06/0.192, allocations: 3.938 kB / 438.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006811/0.1927, allocations: 137.5 kB / 439.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.1927, allocations: 59.34 kB / 439.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.193, allocations: 187.5 kB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1931, allocations: 29.7 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1932, allocations: 123.9 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.1933, allocations: 28.08 kB / 439.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.1934, allocations: 25.72 kB / 439.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1936, allocations: 326.8 kB / 439.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1937, allocations: 31.92 kB / 439.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.1939, allocations: 68.2 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.1943, allocations: 92.22 kB / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1943, allocations: 0 / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000428/0.1947, allocations: 141.4 kB / 440.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1948, allocations: 8 kB / 440.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1948, allocations: 3.984 kB / 440.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.1948, allocations: 4 kB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.195, allocations: 27.86 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.195, allocations: 4 kB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1952, allocations: 15.83 kB / 440.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1952, allocations: 4 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001545/0.1954, allocations: 125.9 kB / 440.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1954, allocations: 15.81 kB / 440.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.1955, allocations: 25.39 kB / 440.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1955, allocations: 3.938 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1955, allocations: 0 / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1956, allocations: 4 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1958, allocations: 213.5 kB / 440.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1959, allocations: 0 / 440.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.196, allocations: 11.98 kB / 440.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.196, allocations: 0 / 440.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.196, allocations: 4 kB / 440.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.1961, allocations: 7.938 kB / 440.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1961, allocations: 0 / 440.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.1967, allocations: 180.9 kB / 440.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.1968, allocations: 92.97 kB / 440.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.1968, allocations: 7.938 kB / 440.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1969, allocations: 7.938 kB / 440.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.197, allocations: 12.05 kB / 440.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.197, allocations: 4 kB / 440.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1972, allocations: 137.2 kB / 441 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1972, allocations: 0 / 441 MB, free: 12.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1977, allocations: 24.12 kB / 441.1 MB, free: 12.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001502/0.1992, allocations: 418.8 kB / 441.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.1996, allocations: 87.83 kB / 441.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1996, allocations: 0 / 441.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1998, allocations: 39.92 kB / 441.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.2004, allocations: 35.91 kB / 441.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.2011, allocations: 301.8 kB / 441.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.2016, allocations: 0.7162 MB / 442.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.2017, allocations: 17.42 kB / 442.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.2018, allocations: 19.42 kB / 442.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2018, allocations: 0 / 442.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Templates: time 0.007646/0.2095, allocations: 1.786 MB / 444.5 MB, free: 9.027 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)