Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008463/0.008462, allocations: 103 kB / 15.73 MB, free: 6.055 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.001208/0.001208, allocations: 191.4 kB / 16.67 MB, free: 5.969 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.688/1.688, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.3534/0.3534, allocations: 38 MB / 307.9 MB, free: 10.1 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.001649/0.001649, allocations: 75.91 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3591, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003272/0.3624, allocations: 1.671 MB / 491.2 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3638, allocations: 0.8101 MB / 492 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.3639, allocations: 5.125 kB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.3643, allocations: 46.06 kB / 492 MB, free: 18.09 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.0002497/0.3645, allocations: 61.23 kB / 492.1 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3648, allocations: 80.3 kB / 492.2 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.365, allocations: 94.69 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3651, allocations: 12.48 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3652, allocations: 40.88 kB / 492.3 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.3653, allocations: 30.05 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3654, allocations: 3 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3655, allocations: 42.59 kB / 492.4 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.3656, allocations: 33.31 kB / 492.4 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.3656, allocations: 33.27 kB / 492.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.3659, allocations: 125.1 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3659, allocations: 0 / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3659, allocations: 1.156 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3659, allocations: 0 / 492.6 MB, free: 17.83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005671/0.3665, allocations: 420.9 kB / 493 MB, free: 17.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3666, allocations: 13.73 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.3666, allocations: 15.05 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3669, allocations: 219.2 kB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.367, allocations: 7.688 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.367, allocations: 6.312 kB / 493.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3672, allocations: 57.58 kB / 493.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3672, allocations: 0 / 493.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3672, allocations: 0.6094 kB / 493.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3672, allocations: 1.125 kB / 493.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.3673, allocations: 18.38 kB / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.3677, allocations: 293.6 kB / 493.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3679, allocations: 60.66 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3679, allocations: 20.56 kB / 493.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.368, allocations: 1.406 kB / 493.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.3681, allocations: 69.08 kB / 493.8 MB, free: 16.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3681, allocations: 0 / 493.8 MB, free: 16.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006006/0.3687, allocations: 178.3 kB / 493.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.3688, allocations: 57.58 kB / 494 MB, free: 16.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.369, allocations: 219 kB / 494.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.369, allocations: 28.45 kB / 494.2 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.3691, allocations: 108.2 kB / 494.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3691, allocations: 21.44 kB / 494.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.3692, allocations: 34.72 kB / 494.4 MB, free: 16.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.3693, allocations: 326.2 kB / 494.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.3693, allocations: 23.08 kB / 494.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.3694, allocations: 38.78 kB / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3695, allocations: 52.8 kB / 494.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3695, allocations: 5.094 kB / 494.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.3697, allocations: 107.1 kB / 494.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3697, allocations: 4.062 kB / 494.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3697, allocations: 1.094 kB / 494.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3698, allocations: 1.641 kB / 494.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3699, allocations: 15.64 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3699, allocations: 4.906 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.3699, allocations: 6.234 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3699, allocations: 4.438 kB / 495 MB, free: 15.79 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 (10): * Single equations (assignments): 10 * 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 9.165e-05/0.37, allocations: 136.7 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3701, allocations: 13.69 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.3701, allocations: 17.23 kB / 495.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3701, allocations: 1.281 kB / 495.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3701, allocations: 5.688 kB / 495.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3702, allocations: 9.344 kB / 495.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.3706, allocations: 396.8 kB / 495.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3706, allocations: 5.156 kB / 495.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.3706, allocations: 8.719 kB / 495.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3706, allocations: 1.219 kB / 495.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3707, allocations: 5.422 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3707, allocations: 1.781 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3707, allocations: 1.141 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3709, allocations: 209 kB / 495.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.3709, allocations: 89.12 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.371, allocations: 6.891 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.3711, allocations: 3.547 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3711, allocations: 5.984 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.3711, allocations: 8.031 kB / 495.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3713, allocations: 175 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3713, allocations: 0 / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3716, allocations: 26.36 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001048/0.3726, allocations: 468.4 kB / 496.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3728, allocations: 63.92 kB / 496.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3728, allocations: 1.281 kB / 496.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.3729, allocations: 31.86 kB / 496.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3733, allocations: 35.42 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.3738, allocations: 255.5 kB / 496.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3741, allocations: 0.7064 MB / 497.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.3742, allocations: 21.27 kB / 497.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.3742, allocations: 16.72 kB / 497.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3743, allocations: 0 / 497.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of Templates: time 0.005815/0.3801, allocations: 1.714 MB / 499.4 MB, free: 13.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)