Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009935/0.0009937, 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.539/1.539, 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.001779/0.001779, allocations: 111.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.1791/0.1791, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.393e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09505, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.4932, allocations: 75.77 MB / 481.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4935, allocations: 68.38 kB / 481.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.5039, allocations: 4.053 MB / 485.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.504, allocations: 0 / 485.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.504, allocations: 0 / 485.6 MB, free: 18.15 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.0003983/0.5044, allocations: 423.6 kB / 486 MB, free: 17.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5045, allocations: 7.781 kB / 486 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.5045, allocations: 11.78 kB / 486 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.5047, allocations: 200 kB / 486.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5048, allocations: 3.844 kB / 486.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.5048, allocations: 0 / 486.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.5049, allocations: 50.56 kB / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5049, allocations: 0 / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.505, allocations: 0 / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.505, allocations: 0 / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.505, allocations: 13.31 kB / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.5054, allocations: 303.2 kB / 486.6 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.5056, allocations: 40.66 kB / 486.6 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.5056, allocations: 13.83 kB / 486.6 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.5056, allocations: 3.5 kB / 486.6 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.5058, allocations: 52.22 kB / 486.7 MB, free: 17.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.5058, allocations: 7.812 kB / 486.7 MB, free: 17.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003416/0.5061, allocations: 112.8 kB / 486.8 MB, free: 17.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.5062, allocations: 52.44 kB / 486.9 MB, free: 17.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.5063, allocations: 170.5 kB / 487 MB, free: 16.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5063, allocations: 27.14 kB / 487.1 MB, free: 16.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.5064, allocations: 102.5 kB / 487.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5064, allocations: 12.67 kB / 487.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.5064, allocations: 1.469 kB / 487.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.5065, allocations: 319.2 kB / 487.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.5065, allocations: 31 kB / 487.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.5066, allocations: 28.67 kB / 487.5 MB, free: 16.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.5066, allocations: 50.88 kB / 487.6 MB, free: 16.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5067, allocations: 1.438 kB / 487.6 MB, free: 16.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001616/0.5068, allocations: 136.5 kB / 487.7 MB, free: 16.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.5069, allocations: 37.27 kB / 487.8 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5069, allocations: 0 / 487.8 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5069, allocations: 7.078 kB / 487.8 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.5069, allocations: 7.75 kB / 487.8 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5069, allocations: 0 / 487.8 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.507, allocations: 15.44 kB / 487.8 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.507, allocations: 7.859 kB / 487.8 MB, free: 16.31 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 4.439e-05/0.5071, allocations: 108.1 kB / 487.9 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.5071, allocations: 7.781 kB / 487.9 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.5072, allocations: 90.08 kB / 488 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5073, allocations: 3.875 kB / 488 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5073, allocations: 0 / 488 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5073, allocations: 128 / 488 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.5076, allocations: 363.2 kB / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5076, allocations: 0 / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.5076, allocations: 9.672 kB / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5076, allocations: 7.719 kB / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.5076, allocations: 0 / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5076, allocations: 0 / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5076, allocations: 0 / 488.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.5078, allocations: 178.9 kB / 488.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.5079, allocations: 94.23 kB / 488.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.5079, allocations: 3.844 kB / 488.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.508, allocations: 2.109 kB / 488.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.508, allocations: 3.906 kB / 488.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5081, allocations: 5.906 kB / 488.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.047e-05/0.5081, allocations: 145.8 kB / 488.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5082, allocations: 0 / 488.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.5084, allocations: 40.52 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.0006927/0.5091, allocations: 331 kB / 489.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.5093, allocations: 119.1 kB / 489.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5093, allocations: 3.938 kB / 489.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.5093, allocations: 19.28 kB / 489.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.5095, allocations: 16.5 kB / 489.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.5098, allocations: 148.7 kB / 489.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.51, allocations: 0.7005 MB / 490.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.51, allocations: 13.62 kB / 490.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.5101, allocations: 20.38 kB / 490.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5101, allocations: 0 / 490.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of Templates: time 0.003528/0.5136, allocations: 1.535 MB / 491.7 MB, free: 14.26 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)