Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001395/0.001396, allocations: 169.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.296/1.296, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001583/0.001583, allocations: 110.7 kB / 223.2 MB, free: 4.109 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.1919/0.1919, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.605e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.4796, allocations: 75.99 MB / 481.7 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4799, allocations: 68.31 kB / 481.8 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.4913, allocations: 4.476 MB / 486.2 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4913, allocations: 4 kB / 486.2 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4914, allocations: 4 kB / 486.2 MB, free: 18.13 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.0004009/0.4918, allocations: 401.2 kB / 486.6 MB, free: 17.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.421e-05/0.4918, allocations: 7.781 kB / 486.6 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.4919, allocations: 12.31 kB / 486.7 MB, free: 17.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.4921, allocations: 198.3 kB / 486.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4921, allocations: 0 / 486.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.4922, allocations: 3.938 kB / 486.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4923, allocations: 63.97 kB / 486.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4923, allocations: 0 / 486.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4923, allocations: 1.922 kB / 486.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4923, allocations: 0 / 486.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.4924, allocations: 20.48 kB / 486.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.4927, allocations: 282.3 kB / 487.2 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4929, allocations: 46.19 kB / 487.3 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.4929, allocations: 12.55 kB / 487.3 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.493, allocations: 0 / 487.3 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.4931, allocations: 68.27 kB / 487.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4931, allocations: 0 / 487.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003235/0.4934, allocations: 100.3 kB / 487.4 MB, free: 17.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.4935, allocations: 80.61 kB / 487.5 MB, free: 16.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.4936, allocations: 138 kB / 487.7 MB, free: 16.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4936, allocations: 29.64 kB / 487.7 MB, free: 16.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.4936, allocations: 94.55 kB / 487.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.4936, allocations: 15.69 kB / 487.8 MB, free: 16.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4936, allocations: 0 / 487.8 MB, free: 16.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.4937, allocations: 321.5 kB / 488.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.4937, allocations: 19.69 kB / 488.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.4938, allocations: 31.7 kB / 488.2 MB, free: 16.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.942e-05/0.4938, allocations: 55.62 kB / 488.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4939, allocations: 3.938 kB / 488.2 MB, free: 16.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000134/0.494, allocations: 118.6 kB / 488.3 MB, free: 16.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.494, allocations: 33.45 kB / 488.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.494, allocations: 0 / 488.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4941, allocations: 0 / 488.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.4941, allocations: 10.81 kB / 488.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4941, allocations: 0 / 488.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.4942, allocations: 3.906 kB / 488.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4942, allocations: 11.73 kB / 488.4 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 7.636e-05/0.4943, allocations: 112.9 kB / 488.5 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.4943, allocations: 7.875 kB / 488.5 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.4945, allocations: 92.03 kB / 488.6 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4945, allocations: 0 / 488.6 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4945, allocations: 3.281 kB / 488.6 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4945, allocations: 0 / 488.6 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.4947, allocations: 351.9 kB / 488.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4947, allocations: 4 kB / 488.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.4948, allocations: 5.672 kB / 488.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4948, allocations: 3.844 kB / 489 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4948, allocations: 1.922 kB / 489 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4948, allocations: 0 / 489 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4948, allocations: 0 / 489 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.4949, allocations: 173.8 kB / 489.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.495, allocations: 82.67 kB / 489.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.495, allocations: 5.641 kB / 489.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.4951, allocations: 7.562 kB / 489.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.4951, allocations: 5.484 kB / 489.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4951, allocations: 2.297 kB / 489.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.4952, allocations: 112.2 kB / 489.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4952, allocations: 3.938 kB / 489.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.4955, allocations: 53.25 kB / 489.4 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.0007991/0.4963, allocations: 397.6 kB / 489.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.4964, allocations: 107.2 kB / 489.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4965, allocations: 5.469 kB / 489.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.4965, allocations: 16.91 kB / 489.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.4967, allocations: 18.23 kB / 489.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.497, allocations: 105.2 kB / 490 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.4971, allocations: 0.6942 MB / 490.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.4972, allocations: 17.62 kB / 490.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.4972, allocations: 17.02 kB / 490.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4973, allocations: 0 / 490.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Templates: time 0.003951/0.5012, allocations: 1.763 MB / 492.5 MB, free: 14.14 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)