Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001808/0.001808, allocations: 169.8 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.325/1.325, 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.001565/0.001565, allocations: 111.5 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.172/0.172, allocations: 38 MB / 300.4 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.177e-05, allocations: 7.984 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09099, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3326/0.4236, allocations: 75.74 MB / 481.4 MB, free: 18.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4239, allocations: 65.66 kB / 481.5 MB, free: 18.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009432/0.4334, allocations: 3.855 MB / 485.4 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4334, allocations: 0 / 485.4 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4334, allocations: 3.906 kB / 485.4 MB, free: 18.14 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.0003532/0.4338, allocations: 414.9 kB / 485.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4338, allocations: 7.719 kB / 485.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.4339, allocations: 11.88 kB / 485.8 MB, free: 17.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.4341, allocations: 194.6 kB / 486 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4341, allocations: 3.844 kB / 486 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4341, allocations: 7.812 kB / 486 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.4342, allocations: 49.83 kB / 486 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4343, allocations: 0 / 486 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4343, allocations: 0 / 486 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4343, allocations: 0 / 486 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.4343, allocations: 17.34 kB / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.4347, allocations: 294.1 kB / 486.3 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.4348, allocations: 48.72 kB / 486.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.4349, allocations: 8.734 kB / 486.4 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4349, allocations: 0 / 486.4 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.245e-05/0.435, allocations: 62.7 kB / 486.5 MB, free: 17.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.435, allocations: 4 kB / 486.5 MB, free: 17.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003178/0.4353, allocations: 108 kB / 486.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.4354, allocations: 51.41 kB / 486.6 MB, free: 17.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4355, allocations: 153.8 kB / 486.8 MB, free: 16.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.4355, allocations: 29.64 kB / 486.8 MB, free: 16.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.4355, allocations: 93.53 kB / 486.9 MB, free: 16.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.4355, allocations: 17.69 kB / 486.9 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4355, allocations: 0 / 486.9 MB, free: 16.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.4356, allocations: 326.5 kB / 487.2 MB, free: 16.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.4356, allocations: 19.19 kB / 487.2 MB, free: 16.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.4357, allocations: 22.97 kB / 487.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.4357, allocations: 53.94 kB / 487.3 MB, free: 16.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4357, allocations: 3.938 kB / 487.3 MB, free: 16.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001439/0.4359, allocations: 130.5 kB / 487.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4359, allocations: 35.05 kB / 487.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4359, allocations: 0 / 487.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.436, allocations: 0 / 487.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.436, allocations: 9.75 kB / 487.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.436, allocations: 3.953 kB / 487.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.4361, allocations: 9.719 kB / 487.5 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4361, allocations: 7.562 kB / 487.5 MB, free: 16.32 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.587e-05/0.4361, allocations: 108.8 kB / 487.6 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.4362, allocations: 7.844 kB / 487.6 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.4363, allocations: 94.45 kB / 487.7 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4363, allocations: 0 / 487.7 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4363, allocations: 3.938 kB / 487.7 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4363, allocations: 7.953 kB / 487.7 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.4366, allocations: 349.1 kB / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4366, allocations: 0 / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.4366, allocations: 8 kB / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4366, allocations: 3.938 kB / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4367, allocations: 2.016 kB / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4367, allocations: 3.953 kB / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4367, allocations: 3.844 kB / 488.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.4368, allocations: 176.4 kB / 488.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.4368, allocations: 90.97 kB / 488.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4369, allocations: 0 / 488.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.4369, allocations: 7.828 kB / 488.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.437, allocations: 6.062 kB / 488.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.437, allocations: 3.938 kB / 488.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.698e-05/0.4371, allocations: 120.1 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4371, allocations: 3.938 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000228/0.4373, allocations: 29.38 kB / 488.5 MB, free: 15.53 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.0006341/0.4379, allocations: 336 kB / 488.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.4381, allocations: 116.9 kB / 489 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4381, allocations: 0 / 489 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.4381, allocations: 15.66 kB / 489 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.4383, allocations: 15.03 kB / 489 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.4386, allocations: 122.5 kB / 489.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.4387, allocations: 0.6961 MB / 489.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.4388, allocations: 9.484 kB / 489.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4388, allocations: 13.14 kB / 489.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4388, allocations: 0 / 489.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of Templates: time 0.003463/0.4423, allocations: 1.499 MB / 491.3 MB, free: 14.28 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)