Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001078/0.001078, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.194/1.194, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001634, allocations: 106.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1723/0.1723, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.191e-05, allocations: 7.984 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09569, allocations: 48.71 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.4788, allocations: 75.76 MB / 481.5 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/0.4792, allocations: 71.28 kB / 481.5 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.4911, allocations: 4.009 MB / 485.6 MB, free: 18.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4911, allocations: 0 / 485.6 MB, free: 18.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.4911, allocations: 0 / 485.6 MB, free: 18.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004282/0.4916, allocations: 416.7 kB / 486 MB, free: 17.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4916, allocations: 7.844 kB / 486 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4917, allocations: 7.75 kB / 486 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.4919, allocations: 197.6 kB / 486.2 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.4919, allocations: 3.938 kB / 486.2 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.492, allocations: 5.891 kB / 486.2 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.4921, allocations: 45.94 kB / 486.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4921, allocations: 0 / 486.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4921, allocations: 0 / 486.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4921, allocations: 11.83 kB / 486.2 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.4922, allocations: 13.12 kB / 486.2 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.4925, allocations: 296.5 kB / 486.5 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.4928, allocations: 48.09 kB / 486.6 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.4928, allocations: 13.88 kB / 486.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4928, allocations: 0 / 486.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.4929, allocations: 59.84 kB / 486.7 MB, free: 17.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.493, allocations: 0 / 486.7 MB, free: 17.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.00038/0.4933, allocations: 113.2 kB / 486.8 MB, free: 17.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.4934, allocations: 51.41 kB / 486.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4935, allocations: 156.3 kB / 487 MB, free: 16.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.4936, allocations: 29.48 kB / 487 MB, free: 16.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.4936, allocations: 100.1 kB / 487.1 MB, free: 16.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4936, allocations: 21.27 kB / 487.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.4936, allocations: 3.375 kB / 487.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.4937, allocations: 322.2 kB / 487.4 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.4938, allocations: 18.69 kB / 487.5 MB, free: 16.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.4938, allocations: 24.52 kB / 487.5 MB, free: 16.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.4939, allocations: 52.38 kB / 487.5 MB, free: 16.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4939, allocations: 0 / 487.5 MB, free: 16.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000151/0.494, allocations: 130.4 kB / 487.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4941, allocations: 35.06 kB / 487.7 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4941, allocations: 4 kB / 487.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4941, allocations: 0 / 487.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.4941, allocations: 13.88 kB / 487.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4942, allocations: 7.797 kB / 487.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.4942, allocations: 0 / 487.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4942, allocations: 7.75 kB / 487.7 MB, free: 16.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 5.196e-05/0.4943, allocations: 111.6 kB / 487.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.4943, allocations: 7.812 kB / 487.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.4945, allocations: 96.34 kB / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4945, allocations: 0 / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4945, allocations: 4 kB / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4945, allocations: 3.953 kB / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4948, allocations: 352.9 kB / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4948, allocations: 0 / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.4948, allocations: 9.688 kB / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.4948, allocations: 0 / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4948, allocations: 0 / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4948, allocations: 3.953 kB / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4948, allocations: 7.969 kB / 488.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.495, allocations: 175.6 kB / 488.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.495, allocations: 86.77 kB / 488.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.495, allocations: 2.016 kB / 488.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.4951, allocations: 3.906 kB / 488.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4951, allocations: 13.56 kB / 488.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.4952, allocations: 0 / 488.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.4952, allocations: 137.1 kB / 488.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4952, allocations: 0 / 488.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.4955, allocations: 34.55 kB / 488.7 MB, free: 15.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006536/0.4962, allocations: 326.9 kB / 489.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4963, allocations: 120.8 kB / 489.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4963, allocations: 4 kB / 489.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.4964, allocations: 15.66 kB / 489.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4966, allocations: 17.75 kB / 489.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.4968, allocations: 135.9 kB / 489.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.497, allocations: 0.7001 MB / 490.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.497, allocations: 13.81 kB / 490.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.497, allocations: 11.31 kB / 490.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.497, allocations: 4 kB / 490.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Templates: time 0.003538/0.5006, allocations: 1.515 MB / 491.6 MB, free: 14.21 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)