Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007819/0.007819, allocations: 176 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.725/1.725, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001798/0.001798, allocations: 120.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2164/0.2164, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 16.75 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 54.88 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.2337, allocations: 82.9 MB / 0.5312 GB, free: 292 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.2341, allocations: 75.95 kB / 0.5313 GB, free: 216 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2745/0.5087, allocations: 3.618 MB / 0.5348 GB, free: 83.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5087, allocations: 1.156 kB / 0.5348 GB, free: 83.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5087, allocations: 2.281 kB / 0.5348 GB, free: 83.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005937/0.5093, allocations: 0.5254 MB / 0.5353 GB, free: 82.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5094, allocations: 10.72 kB / 0.5353 GB, free: 82.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.5094, allocations: 17.98 kB / 0.5353 GB, free: 82.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5097, allocations: 209.1 kB / 0.5355 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.5098, allocations: 5.312 kB / 0.5355 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5098, allocations: 9.25 kB / 0.5356 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.51, allocations: 87.52 kB / 0.5356 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.51, allocations: 3.938 kB / 0.5356 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.5101, allocations: 0.6094 kB / 0.5356 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5101, allocations: 7.484 kB / 0.5356 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.5102, allocations: 48.28 kB / 0.5357 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.5108, allocations: 367.9 kB / 0.536 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.5111, allocations: 98.94 kB / 0.5361 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.5111, allocations: 5.281 kB / 0.5361 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.5113, allocations: 91.91 kB / 0.5362 GB, free: 82.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.5114, allocations: 0 / 0.5362 GB, free: 82.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004185/0.5118, allocations: 157.7 kB / 0.5364 GB, free: 82.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5118, allocations: 60.28 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.512, allocations: 154.1 kB / 0.5366 GB, free: 82.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.512, allocations: 31.92 kB / 0.5366 GB, free: 82.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.5121, allocations: 103.4 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.5121, allocations: 27.31 kB / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5121, allocations: 2.562 kB / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.5122, allocations: 323.5 kB / 0.5371 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.5123, allocations: 49.34 kB / 0.5371 GB, free: 81.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.5125, allocations: 73.72 kB / 0.5372 GB, free: 81.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5126, allocations: 84.19 kB / 0.5373 GB, free: 81.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.5126, allocations: 0 / 0.5373 GB, free: 81.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003898/0.513, allocations: 211.3 kB / 0.5375 GB, free: 81.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.5131, allocations: 35.86 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5131, allocations: 0 / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5131, allocations: 2.875 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5132, allocations: 23.94 kB / 0.5375 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.5132, allocations: 5.672 kB / 0.5375 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.5133, allocations: 17.47 kB / 0.5375 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.5134, allocations: 13.97 kB / 0.5375 GB, free: 81.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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 0.0001033/0.5135, allocations: 127 kB / 0.5377 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.5135, allocations: 12.39 kB / 0.5377 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.5138, allocations: 133.3 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5139, allocations: 0.9688 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5139, allocations: 2.594 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5139, allocations: 4 kB / 0.5378 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.5141, allocations: 209.7 kB / 0.538 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5141, allocations: 4.688 kB / 0.538 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.5142, allocations: 18.38 kB / 0.538 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5142, allocations: 0 / 0.538 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5142, allocations: 6.031 kB / 0.538 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5142, allocations: 1.594 kB / 0.538 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5143, allocations: 0.6562 kB / 0.538 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.5147, allocations: 196.7 kB / 0.5382 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.5148, allocations: 103.1 kB / 0.5383 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5148, allocations: 5.047 kB / 0.5383 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.5149, allocations: 12.11 kB / 0.5383 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.5149, allocations: 6.969 kB / 0.5384 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.515, allocations: 11.89 kB / 0.5384 GB, free: 80.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.5151, allocations: 128.1 kB / 0.5385 GB, free: 80.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5151, allocations: 3.938 kB / 0.5385 GB, free: 80.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.5154, allocations: 38.33 kB / 0.5385 GB, free: 80.84 MB / 378.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009985/0.5164, allocations: 399.9 kB / 0.5389 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.5168, allocations: 189.1 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5168, allocations: 1.125 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.5169, allocations: 41.14 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5172, allocations: 26.8 kB / 0.5392 GB, free: 80.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.5178, allocations: 289.1 kB / 0.5394 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.518, allocations: 0.7108 MB / 0.5401 GB, free: 79.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.5181, allocations: 12.3 kB / 0.5401 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.5182, allocations: 14.8 kB / 0.5402 GB, free: 79.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5182, allocations: 3.938 kB / 0.5402 GB, free: 79.61 MB / 378.7 MB Notification: Performance of Templates: time 0.005784/0.524, allocations: 1.796 MB / 0.5419 GB, free: 79.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)