Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00735/0.00735, 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.564/1.564, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.001641/0.001641, allocations: 124.6 kB / 255.6 MB, free: 11.2 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.2054/0.2054, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005288/0.0005288, allocations: 21.81 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1489, allocations: 54.88 MB / 461 MB, free: 3.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.2951, allocations: 82.11 MB / 0.5304 GB, free: 1.164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.2954, allocations: 79.95 kB / 0.5305 GB, free: 1.086 MB / 378.7 MB [/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.3093/0.6048, allocations: 4.434 MB / 0.5348 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6048, allocations: 0 / 0.5348 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.6048, allocations: 1.312 kB / 0.5348 GB, free: 82.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005919/0.6054, allocations: 467.6 kB / 0.5353 GB, free: 82.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.6055, allocations: 9.062 kB / 0.5353 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.6056, allocations: 16.12 kB / 0.5353 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.6059, allocations: 208.2 kB / 0.5355 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.6059, allocations: 3.438 kB / 0.5355 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.606, allocations: 4.375 kB / 0.5355 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.6061, allocations: 59.72 kB / 0.5356 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.6061, allocations: 0 / 0.5356 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.6062, allocations: 5.938 kB / 0.5356 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6062, allocations: 0 / 0.5356 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.6063, allocations: 22.25 kB / 0.5356 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.6067, allocations: 317.9 kB / 0.5359 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.6069, allocations: 58.25 kB / 0.5359 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.6069, allocations: 2.422 kB / 0.5359 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.6071, allocations: 78.69 kB / 0.536 GB, free: 81.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.6071, allocations: 3.938 kB / 0.536 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006283/0.6077, allocations: 173.4 kB / 0.5362 GB, free: 81.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.6078, allocations: 53.11 kB / 0.5362 GB, free: 81.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.6079, allocations: 161.6 kB / 0.5364 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.608, allocations: 31.36 kB / 0.5364 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.608, allocations: 91.92 kB / 0.5365 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.6081, allocations: 27.16 kB / 0.5365 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.6081, allocations: 6.062 kB / 0.5365 GB, free: 81.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.6082, allocations: 327.1 kB / 0.5369 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.6083, allocations: 37.39 kB / 0.5369 GB, free: 81.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.6084, allocations: 54.5 kB / 0.5369 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.6086, allocations: 70.62 kB / 0.537 GB, free: 81.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6086, allocations: 0.625 kB / 0.537 GB, free: 81.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003491/0.6089, allocations: 180.5 kB / 0.5372 GB, free: 81.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.609, allocations: 48.61 kB / 0.5372 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.609, allocations: 224 / 0.5372 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.609, allocations: 5.938 kB / 0.5372 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.6091, allocations: 19.84 kB / 0.5373 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6091, allocations: 0 / 0.5373 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.6092, allocations: 5.875 kB / 0.5373 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.6092, allocations: 5.125 kB / 0.5373 GB, free: 81.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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 9.673e-05/0.6093, allocations: 128.7 kB / 0.5374 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.6093, allocations: 16.75 kB / 0.5374 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.6096, allocations: 125.7 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6096, allocations: 1.156 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6097, allocations: 0 / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6097, allocations: 2.062 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.6102, allocations: 403.8 kB / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6102, allocations: 0 / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.6103, allocations: 17.81 kB / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6103, allocations: 1.281 kB / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6103, allocations: 3.141 kB / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6103, allocations: 0.7969 kB / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6103, allocations: 0.9688 kB / 0.5379 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.6106, allocations: 221.6 kB / 0.5381 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.6106, allocations: 103.8 kB / 0.5382 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.6107, allocations: 5.391 kB / 0.5382 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.6108, allocations: 3.969 kB / 0.5383 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.6108, allocations: 6.938 kB / 0.5383 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.6108, allocations: 3.703 kB / 0.5383 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.6109, allocations: 126 kB / 0.5384 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.611, allocations: 3.938 kB / 0.5384 GB, free: 80.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.6113, allocations: 39.3 kB / 0.5384 GB, free: 80.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001273/0.6126, allocations: 449.8 kB / 0.5389 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.613, allocations: 174.6 kB / 0.539 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.613, allocations: 1 kB / 0.539 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.6131, allocations: 31.33 kB / 0.539 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.6135, allocations: 28.33 kB / 0.5391 GB, free: 79.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.6142, allocations: 235.2 kB / 0.5393 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.6146, allocations: 0.7078 MB / 0.54 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.352e-05/0.6147, allocations: 15.97 kB / 0.54 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.6148, allocations: 19.44 kB / 0.54 GB, free: 78.93 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6148, allocations: 0 / 0.54 GB, free: 78.93 MB / 378.7 MB Notification: Performance of Templates: time 0.006412/0.6212, allocations: 1.706 MB / 0.5417 GB, free: 78.73 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)