Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001007/0.001007, allocations: 169.9 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.246/1.246, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001618/0.001619, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.2145/0.2145, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.588e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08754, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4287, allocations: 75.77 MB / 481.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.429, allocations: 71.72 kB / 481.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.44, allocations: 4.019 MB / 485.6 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4401, allocations: 0 / 485.6 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4401, allocations: 0 / 485.6 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.0003515/0.4405, allocations: 419 kB / 486 MB, free: 17.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4405, allocations: 7.75 kB / 486 MB, free: 17.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.4405, allocations: 7.781 kB / 486 MB, free: 17.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.4407, allocations: 200.3 kB / 486.2 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4408, allocations: 1.734 kB / 486.2 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.4408, allocations: 3.875 kB / 486.2 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.4409, allocations: 50.39 kB / 486.2 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4409, allocations: 0 / 486.2 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4409, allocations: 0 / 486.2 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4409, allocations: 3.938 kB / 486.2 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.441, allocations: 17.02 kB / 486.3 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.4413, allocations: 289.3 kB / 486.5 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.4415, allocations: 48.39 kB / 486.6 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.4415, allocations: 16.27 kB / 486.6 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4416, allocations: 0 / 486.6 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.4417, allocations: 57.89 kB / 486.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.4417, allocations: 0 / 486.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003194/0.442, allocations: 115.1 kB / 486.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.442, allocations: 51.41 kB / 486.8 MB, free: 17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4422, allocations: 155.6 kB / 487 MB, free: 16.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4422, allocations: 30.7 kB / 487 MB, free: 16.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.4422, allocations: 102.1 kB / 487.1 MB, free: 16.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.4423, allocations: 14.52 kB / 487.1 MB, free: 16.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.4423, allocations: 8.531 kB / 487.1 MB, free: 16.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.4423, allocations: 317 kB / 487.4 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.4424, allocations: 23.72 kB / 487.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.4424, allocations: 22.38 kB / 487.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.4425, allocations: 57.22 kB / 487.5 MB, free: 16.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4425, allocations: 0 / 487.5 MB, free: 16.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001706/0.4427, allocations: 128.3 kB / 487.7 MB, free: 16.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4427, allocations: 37.17 kB / 487.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4427, allocations: 0 / 487.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4427, allocations: 1.375 kB / 487.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/0.4428, allocations: 17.22 kB / 487.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4428, allocations: 5.547 kB / 487.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.4429, allocations: 2.688 kB / 487.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4429, allocations: 4.469 kB / 487.7 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.211e-05/0.4429, allocations: 110.1 kB / 487.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.4429, allocations: 5.875 kB / 487.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.4432, allocations: 89.81 kB / 487.9 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4432, allocations: 7.938 kB / 487.9 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4432, allocations: 128 / 487.9 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4432, allocations: 7.953 kB / 488 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.4434, allocations: 346.7 kB / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4435, allocations: 0 / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.4435, allocations: 13.03 kB / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4435, allocations: 3.938 kB / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4435, allocations: 0 / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4435, allocations: 7.828 kB / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4435, allocations: 0 / 488.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.4437, allocations: 175.4 kB / 488.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.4437, allocations: 90.14 kB / 488.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4437, allocations: 3.844 kB / 488.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.4438, allocations: 1.875 kB / 488.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.4438, allocations: 13.69 kB / 488.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4439, allocations: 3.625 kB / 488.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.4439, allocations: 135.1 kB / 488.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.444, allocations: 4 kB / 488.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.4442, allocations: 32.72 kB / 488.8 MB, free: 15.52 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.0006641/0.4449, allocations: 329 kB / 489.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.445, allocations: 112.7 kB / 489.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.445, allocations: 0 / 489.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.4451, allocations: 19.06 kB / 489.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4453, allocations: 16.22 kB / 489.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.4456, allocations: 137.5 kB / 489.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.4458, allocations: 0.7011 MB / 490.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.301e-05/0.4459, allocations: 13.58 kB / 490.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.4459, allocations: 13.95 kB / 490.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4459, allocations: 0 / 490.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of Templates: time 0.00418/0.4501, allocations: 1.52 MB / 491.6 MB, free: 14.27 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)