Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001207/0.001207, allocations: 170.5 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.221/1.221, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001644/0.001644, allocations: 98.2 kB / 223.2 MB, free: 4.051 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.1694/0.1694, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.345e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09211, allocations: 48.72 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4522, allocations: 75.73 MB / 481.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4525, allocations: 71.91 kB / 481.5 MB, free: 18.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.4629, allocations: 3.905 MB / 485.4 MB, free: 18.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4629, allocations: 0 / 485.4 MB, free: 18.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.463, allocations: 3.969 kB / 485.4 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.0003612/0.4633, allocations: 415.8 kB / 485.8 MB, free: 17.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4634, allocations: 7.5 kB / 485.8 MB, free: 17.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.4634, allocations: 7.594 kB / 485.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.4637, allocations: 200.9 kB / 486 MB, free: 17.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4637, allocations: 3.938 kB / 486 MB, free: 17.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.4637, allocations: 3.906 kB / 486 MB, free: 17.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.4639, allocations: 42.27 kB / 486.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4639, allocations: 3.906 kB / 486.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4639, allocations: 6.031 kB / 486.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4639, allocations: 4 kB / 486.1 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.464, allocations: 9.703 kB / 486.1 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.4644, allocations: 293.9 kB / 486.4 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.4646, allocations: 48.12 kB / 486.4 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.4646, allocations: 10.62 kB / 486.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4646, allocations: 0 / 486.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.4648, allocations: 63.06 kB / 486.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4648, allocations: 0 / 486.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003698/0.4651, allocations: 114.7 kB / 486.6 MB, free: 17.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.4652, allocations: 58.94 kB / 486.7 MB, free: 17.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4653, allocations: 151.4 kB / 486.8 MB, free: 16.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.4653, allocations: 29.55 kB / 486.9 MB, free: 16.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.4654, allocations: 98.7 kB / 487 MB, free: 16.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4654, allocations: 19.16 kB / 487 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.4654, allocations: 0 / 487 MB, free: 16.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.4655, allocations: 321.5 kB / 487.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.4655, allocations: 20.73 kB / 487.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.4656, allocations: 26.34 kB / 487.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.4656, allocations: 56.3 kB / 487.4 MB, free: 16.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.4656, allocations: 3.812 kB / 487.4 MB, free: 16.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001623/0.4658, allocations: 124 kB / 487.5 MB, free: 16.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.4658, allocations: 43.06 kB / 487.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4659, allocations: 4 kB / 487.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4659, allocations: 0 / 487.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.431e-05/0.4659, allocations: 13.53 kB / 487.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4659, allocations: 7.859 kB / 487.6 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.466, allocations: 0 / 487.6 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.466, allocations: 3.719 kB / 487.6 MB, free: 16.33 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.147e-05/0.4661, allocations: 110.3 kB / 487.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.4661, allocations: 7.844 kB / 487.7 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.4663, allocations: 93.91 kB / 487.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4663, allocations: 0 / 487.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4663, allocations: 0 / 487.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4663, allocations: 3.953 kB / 487.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.4666, allocations: 361.5 kB / 488.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4666, allocations: 0 / 488.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.4666, allocations: 7.75 kB / 488.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4666, allocations: 0 / 488.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4667, allocations: 5.969 kB / 488.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4667, allocations: 3.953 kB / 488.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4667, allocations: 4 kB / 488.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.4668, allocations: 170.5 kB / 488.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.4669, allocations: 90.89 kB / 488.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.4669, allocations: 3.75 kB / 488.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.467, allocations: 1.312 kB / 488.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.467, allocations: 9.281 kB / 488.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.467, allocations: 1.969 kB / 488.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.4671, allocations: 135.2 kB / 488.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4671, allocations: 0 / 488.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.4673, allocations: 37.14 kB / 488.6 MB, free: 15.54 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.0007964/0.4681, allocations: 320.4 kB / 488.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.4683, allocations: 114.9 kB / 489 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4683, allocations: 7.938 kB / 489 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.4684, allocations: 21.05 kB / 489.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4686, allocations: 17.88 kB / 489.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.4689, allocations: 144 kB / 489.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.4691, allocations: 0.7011 MB / 489.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.4691, allocations: 7.844 kB / 489.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.4692, allocations: 20.83 kB / 490 MB, free: 14.46 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4692, allocations: 0 / 490 MB, free: 14.46 MB / 330.7 MB Notification: Performance of Templates: time 0.003929/0.4731, allocations: 1.511 MB / 491.5 MB, free: 14.29 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)