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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009199/0.009199, allocations: 102.9 kB / 15.73 MB, free: 6.031 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.001788/0.001789, allocations: 199 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.692/1.692, allocations: 205.1 MB / 222.5 MB, free: 4.312 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.3666/0.3666, allocations: 38.01 MB / 307.9 MB, free: 10.43 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.001404/0.001405, allocations: 71.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3519, allocations: 56.47 MB / 489.5 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003177/0.3552, allocations: 1.657 MB / 491.2 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3566, allocations: 0.8161 MB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.3567, allocations: 1.094 kB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.3571, allocations: 35.81 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.0002447/0.3573, allocations: 47.91 kB / 492.1 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3576, allocations: 85.5 kB / 492.2 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3578, allocations: 94.58 kB / 492.2 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3579, allocations: 24.17 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.358, allocations: 37.33 kB / 492.3 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.3581, allocations: 30.53 kB / 492.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3582, allocations: 3.156 kB / 492.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3583, allocations: 46.58 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.3584, allocations: 16.75 kB / 492.4 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.3584, allocations: 28.67 kB / 492.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3587, allocations: 112 kB / 492.5 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3587, allocations: 0 / 492.5 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3587, allocations: 5.734 kB / 492.5 MB, free: 17.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3587, allocations: 0 / 492.5 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.0004849/0.3592, allocations: 393.7 kB / 492.9 MB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3592, allocations: 13.64 kB / 492.9 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3593, allocations: 13.28 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3595, allocations: 205.2 kB / 493.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3596, allocations: 11.05 kB / 493.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3596, allocations: 2.375 kB / 493.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3598, allocations: 57.59 kB / 493.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3598, allocations: 3.938 kB / 493.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3598, allocations: 2.172 kB / 493.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3598, allocations: 1.062 kB / 493.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.3599, allocations: 21.83 kB / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.3602, allocations: 283.9 kB / 493.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3604, allocations: 67.12 kB / 493.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.3604, allocations: 20.3 kB / 493.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3605, allocations: 1.625 kB / 493.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.3606, allocations: 66.17 kB / 493.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3606, allocations: 0 / 493.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005321/0.3612, allocations: 167.8 kB / 493.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.3612, allocations: 61.48 kB / 493.9 MB, free: 16.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3613, allocations: 159.3 kB / 494.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3614, allocations: 27.41 kB / 494.1 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.3614, allocations: 102.9 kB / 494.2 MB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3614, allocations: 24.89 kB / 494.2 MB, free: 16.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3615, allocations: 22.69 kB / 494.2 MB, free: 16.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.3616, allocations: 320.9 kB / 494.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.3616, allocations: 21.72 kB / 494.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.3617, allocations: 43.14 kB / 494.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3618, allocations: 58.69 kB / 494.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3618, allocations: 0 / 494.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.362, allocations: 104.7 kB / 494.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.362, allocations: 5.344 kB / 494.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.362, allocations: 5.266 kB / 494.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3621, allocations: 7.969 kB / 494.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.3622, allocations: 16.39 kB / 494.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3622, allocations: 1.312 kB / 494.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.3622, allocations: 6.438 kB / 494.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3622, allocations: 3.125 kB / 494.8 MB, free: 15.84 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 7.38e-05/0.3623, allocations: 118.3 kB / 494.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.3623, allocations: 13.44 kB / 494.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.3624, allocations: 17.44 kB / 495 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3624, allocations: 5.375 kB / 495 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3624, allocations: 2.031 kB / 495 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3624, allocations: 4 kB / 495 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.3628, allocations: 391 kB / 495.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3628, allocations: 0 / 495.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.3629, allocations: 9.172 kB / 495.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3629, allocations: 2.328 kB / 495.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3629, allocations: 5.891 kB / 495.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3629, allocations: 5.156 kB / 495.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3629, allocations: 5.469 kB / 495.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3631, allocations: 203.8 kB / 495.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.3631, allocations: 84.22 kB / 495.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3632, allocations: 2.938 kB / 495.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3632, allocations: 5.938 kB / 495.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.3633, allocations: 10.81 kB / 495.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3633, allocations: 7.422 kB / 495.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.3634, allocations: 126.5 kB / 495.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3634, allocations: 0 / 495.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3637, allocations: 21.27 kB / 495.8 MB, free: 14.96 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.001042/0.3647, allocations: 467.1 kB / 496.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.3649, allocations: 70.75 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3649, allocations: 0 / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.365, allocations: 29.84 kB / 496.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3654, allocations: 34.36 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.3658, allocations: 208 kB / 496.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.366, allocations: 0.6979 MB / 497.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.366, allocations: 12.64 kB / 497.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.3661, allocations: 16.53 kB / 497.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3661, allocations: 0 / 497.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of Templates: time 0.005119/0.3712, allocations: 1.724 MB / 499.1 MB, free: 13.46 MB / 382.1 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)