Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008613/0.008613, allocations: 99.61 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 196.7 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3746/0.3746, allocations: 38 MB / 307.9 MB, free: 9.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 68.56 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3959, allocations: 56.46 MB / 489.5 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002955/0.3989, allocations: 1.635 MB / 491.1 MB, free: 18.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4002, allocations: 0.7897 MB / 491.9 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.4003, allocations: 0 / 491.9 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.4006, allocations: 50.31 kB / 492 MB, free: 18.38 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.4009, allocations: 57.78 kB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.4011, allocations: 79.42 kB / 492.1 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.4013, allocations: 87.77 kB / 492.2 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.4014, allocations: 14.03 kB / 492.2 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.042e-05/0.4015, allocations: 36.52 kB / 492.3 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.4016, allocations: 29.39 kB / 492.3 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.4016, allocations: 2.094 kB / 492.3 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.4017, allocations: 30.88 kB / 492.3 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.4018, allocations: 34.88 kB / 492.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.4018, allocations: 37.39 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.402, allocations: 112.8 kB / 492.5 MB, free: 18.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.402, allocations: 5.156 kB / 492.5 MB, free: 18.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4021, allocations: 0 / 492.5 MB, free: 18.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4021, allocations: 4 kB / 492.5 MB, free: 18.12 MB / 382.1 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.0005362/0.4026, allocations: 432.2 kB / 492.9 MB, free: 17.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4027, allocations: 12.92 kB / 492.9 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.4027, allocations: 15.44 kB / 493 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.403, allocations: 214 kB / 493.2 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.403, allocations: 5.469 kB / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.403, allocations: 9.312 kB / 493.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4032, allocations: 51.16 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4032, allocations: 0 / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4032, allocations: 1 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.4032, allocations: 4 kB / 493.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.4033, allocations: 15.78 kB / 493.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.4035, allocations: 189.9 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4037, allocations: 61.36 kB / 493.5 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.4037, allocations: 26.67 kB / 493.5 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4038, allocations: 1.969 kB / 493.5 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.4039, allocations: 63.86 kB / 493.6 MB, free: 17.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.404, allocations: 1.188 kB / 493.6 MB, free: 17.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.4043, allocations: 97.75 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.4043, allocations: 56.47 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.4046, allocations: 261.6 kB / 494 MB, free: 16.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.4046, allocations: 26.41 kB / 494 MB, free: 16.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.4047, allocations: 114.6 kB / 494.1 MB, free: 16.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4047, allocations: 7.828 kB / 494.1 MB, free: 16.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4047, allocations: 19.88 kB / 494.2 MB, free: 16.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.4048, allocations: 327.9 kB / 494.5 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.4049, allocations: 14.55 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.405, allocations: 34.12 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4051, allocations: 42.62 kB / 494.6 MB, free: 16.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4051, allocations: 0 / 494.6 MB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001529/0.4052, allocations: 91 kB / 494.7 MB, free: 16.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4053, allocations: 4.406 kB / 494.7 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4053, allocations: 1.219 kB / 494.7 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4053, allocations: 1.281 kB / 494.7 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.4054, allocations: 22.78 kB / 494.7 MB, free: 16.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4054, allocations: 3.938 kB / 494.7 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.4055, allocations: 3.625 kB / 494.7 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.4055, allocations: 2.312 kB / 494.7 MB, free: 16.21 MB / 382.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.4056, allocations: 137.6 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.4056, allocations: 14.2 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.4057, allocations: 21.77 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4057, allocations: 1.781 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4057, allocations: 0 / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4057, allocations: 4.562 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.4058, allocations: 201.3 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4058, allocations: 1.859 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.4058, allocations: 3.984 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4058, allocations: 0 / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4059, allocations: 1.734 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4059, allocations: 1.625 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4059, allocations: 0 / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.4061, allocations: 122.4 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.4061, allocations: 89.14 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.4061, allocations: 1.859 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.4062, allocations: 2.125 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.4062, allocations: 8.203 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4062, allocations: 2.844 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.4064, allocations: 191.2 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4064, allocations: 0 / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.4066, allocations: 22.41 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009194/0.4076, allocations: 426.7 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.4077, allocations: 44.25 kB / 496 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4078, allocations: 0 / 496 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.029e-05/0.4078, allocations: 18.22 kB / 496 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4081, allocations: 38.48 kB / 496 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.4086, allocations: 252.5 kB / 496.3 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.4087, allocations: 0.7175 MB / 497 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.4088, allocations: 14.12 kB / 497 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.4088, allocations: 14.89 kB / 497 MB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4088, allocations: 0.9375 kB / 497 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005047/0.4139, allocations: 1.507 MB / 498.5 MB, free: 14.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)