Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001153/0.001153, allocations: 170.1 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.304/1.304, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.00164/0.001641, allocations: 107.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.1848/0.1848, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.871e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08872, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4615, allocations: 75.6 MB / 481.3 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4618, allocations: 72.22 kB / 481.4 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.4722, allocations: 3.827 MB / 485.2 MB, free: 18.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4722, allocations: 0 / 485.2 MB, free: 18.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4723, allocations: 0 / 485.2 MB, free: 18.05 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003429/0.4726, allocations: 397.2 kB / 485.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4727, allocations: 11.78 kB / 485.6 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.4727, allocations: 11.78 kB / 485.6 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.4729, allocations: 201.7 kB / 485.8 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4729, allocations: 0 / 485.8 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.473, allocations: 7.812 kB / 485.8 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.644e-05/0.4731, allocations: 37.34 kB / 485.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4731, allocations: 0 / 485.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4731, allocations: 3.75 kB / 485.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4731, allocations: 3.984 kB / 485.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.4732, allocations: 13.59 kB / 485.9 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.4733, allocations: 185.5 kB / 486.1 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.4734, allocations: 28.19 kB / 486.1 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.4734, allocations: 12.7 kB / 486.1 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.4734, allocations: 0 / 486.1 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.907e-05/0.4735, allocations: 63.58 kB / 486.2 MB, free: 17.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4735, allocations: 4 kB / 486.2 MB, free: 17.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001669/0.4737, allocations: 56.09 kB / 486.2 MB, free: 17.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.4737, allocations: 51.41 kB / 486.3 MB, free: 17.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4739, allocations: 158.2 kB / 486.4 MB, free: 16.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4739, allocations: 29.52 kB / 486.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.4739, allocations: 98.55 kB / 486.5 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.474, allocations: 7.812 kB / 486.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.474, allocations: 0 / 486.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.4741, allocations: 332.1 kB / 486.9 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.4741, allocations: 11.28 kB / 486.9 MB, free: 16.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.4742, allocations: 25.33 kB / 486.9 MB, free: 16.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.4742, allocations: 46.56 kB / 487 MB, free: 16.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4742, allocations: 0 / 487 MB, free: 16.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/0.4744, allocations: 118.3 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4744, allocations: 36.7 kB / 487.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4744, allocations: 0 / 487.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4744, allocations: 0 / 487.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.4745, allocations: 3.969 kB / 487.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4745, allocations: 7.875 kB / 487.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.4745, allocations: 13.72 kB / 487.1 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.4746, allocations: 7.812 kB / 487.1 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 (5): * Single equations (assignments): 4 * 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.552e-05/0.4746, allocations: 108.9 kB / 487.3 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.4746, allocations: 7.688 kB / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.4748, allocations: 72.69 kB / 487.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4748, allocations: 0 / 487.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4748, allocations: 0 / 487.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4748, allocations: 0 / 487.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.4749, allocations: 184 kB / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4749, allocations: 1.641 kB / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.4749, allocations: 8 kB / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4749, allocations: 0 / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.4749, allocations: 0 / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.475, allocations: 5.906 kB / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.475, allocations: 0 / 487.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.111e-05/0.4751, allocations: 92.22 kB / 487.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.4751, allocations: 91.16 kB / 487.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4751, allocations: 3.875 kB / 487.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.4752, allocations: 1.828 kB / 487.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.4752, allocations: 7.703 kB / 487.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4752, allocations: 1.734 kB / 487.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.4753, allocations: 131.3 kB / 487.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4753, allocations: 0 / 487.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.4755, allocations: 25.42 kB / 487.9 MB, free: 15.72 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 (4): * Single equations (assignments): 3 * 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.0005782/0.4761, allocations: 299.2 kB / 488.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4762, allocations: 97.41 kB / 488.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4763, allocations: 0 / 488.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.4763, allocations: 17.44 kB / 488.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.4765, allocations: 11.44 kB / 488.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.4767, allocations: 125.7 kB / 488.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.4769, allocations: 0.7073 MB / 489.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.4769, allocations: 13.98 kB / 489.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.4769, allocations: 11.34 kB / 489.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4769, allocations: 0 / 489.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of Templates: time 0.003662/0.4806, allocations: 1.305 MB / 490.4 MB, free: 14.52 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)