Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009888/0.000989, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.406/1.406, allocations: 170.7 MB / 178.7 MB, free: 6.961 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.001692/0.001692, allocations: 102.5 kB / 218 MB, free: 15.32 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.2097/0.2097, allocations: 37.98 MB / 295.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.929e-05, allocations: 8 kB / 350 MB, free: 32.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3047, allocations: 48.69 MB / 398.7 MB, free: 6.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4192, allocations: 75.07 MB / 473.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4194, allocations: 71.95 kB / 473.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.4299, allocations: 3.802 MB / 477.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.43, allocations: 0 / 477.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.43, allocations: 0 / 477.7 MB, free: 4.195 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.0004847/0.4305, allocations: 404.1 kB / 478.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4305, allocations: 12.03 kB / 478.1 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.4306, allocations: 8.531 kB / 478.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4309, allocations: 197.6 kB / 478.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4309, allocations: 4 kB / 478.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.4309, allocations: 0 / 478.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.87e-05/0.431, allocations: 15.98 kB / 478.3 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.4311, allocations: 45.69 kB / 478.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4311, allocations: 0 / 478.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4311, allocations: 3.938 kB / 478.3 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4312, allocations: 4 kB / 478.4 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.4316, allocations: 265.4 kB / 478.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.4319, allocations: 38.56 kB / 478.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.4319, allocations: 16.86 kB / 478.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4319, allocations: 3.984 kB / 478.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.4321, allocations: 55.5 kB / 478.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.4321, allocations: 0 / 478.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004175/0.4325, allocations: 105.3 kB / 478.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4326, allocations: 51.41 kB / 478.9 MB, free: 2.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4327, allocations: 136.2 kB / 479 MB, free: 2.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4328, allocations: 29.7 kB / 479 MB, free: 2.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.4328, allocations: 92.12 kB / 479.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.4329, allocations: 19.75 kB / 479.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.4329, allocations: 0 / 479.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.433, allocations: 326.8 kB / 479.5 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.4331, allocations: 20 kB / 479.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.341e-05/0.4331, allocations: 16 kB / 479.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.4332, allocations: 27.92 kB / 479.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4332, allocations: 0 / 479.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001564/0.4334, allocations: 93.62 kB / 479.6 MB, free: 2.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.4334, allocations: 37.69 kB / 479.7 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4334, allocations: 0 / 479.7 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4335, allocations: 0 / 479.7 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.4335, allocations: 19.94 kB / 479.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4335, allocations: 0 / 479.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.4336, allocations: 4 kB / 479.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.4336, allocations: 7.984 kB / 479.7 MB, free: 1.965 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 8.825e-05/0.4337, allocations: 104.9 kB / 479.8 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.4337, allocations: 7.906 kB / 479.8 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.4339, allocations: 86.22 kB / 479.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4339, allocations: 0 / 479.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4339, allocations: 4 kB / 479.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.434, allocations: 0 / 479.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.4343, allocations: 331.1 kB / 480.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4343, allocations: 0 / 480.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.4343, allocations: 11.94 kB / 480.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4343, allocations: 0 / 480.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.4343, allocations: 0 / 480.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4344, allocations: 0 / 480.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4344, allocations: 0 / 480.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.4346, allocations: 183.3 kB / 480.4 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.4346, allocations: 85.02 kB / 480.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.4347, allocations: 0 / 480.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.4347, allocations: 0 / 480.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.4348, allocations: 7.984 kB / 480.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.4348, allocations: 0 / 480.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.4349, allocations: 111.3 kB / 480.6 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4349, allocations: 0 / 480.6 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.4352, allocations: 31.94 kB / 480.6 MB, free: 0.9336 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.0007002/0.4359, allocations: 297.6 kB / 480.9 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.4361, allocations: 107.3 kB / 481 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4361, allocations: 0 / 481 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.4361, allocations: 19.98 kB / 481 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.4363, allocations: 23.94 kB / 481.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.4366, allocations: 101.3 kB / 481.2 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4369, allocations: 0.7001 MB / 481.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.437, allocations: 7.984 kB / 481.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.437, allocations: 15.44 kB / 481.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.437, allocations: 3.938 kB / 481.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Templates: time 0.004084/0.4411, allocations: 1.421 MB / 483.3 MB, free: 14.21 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)