Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007622/0.007622, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.002378/0.002378, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.685/1.685, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3433/0.3433, allocations: 37.99 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.002053/0.002054, allocations: 67.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3609, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002875/0.3638, allocations: 1.67 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.365, allocations: 0.8039 MB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3651, allocations: 5.219 kB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3654, allocations: 35.8 kB / 492 MB, free: 18.22 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.0002227/0.3656, allocations: 51.03 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3659, allocations: 81.23 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.3661, allocations: 99.53 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.3662, allocations: 11.58 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3663, allocations: 42.34 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.3664, allocations: 29.72 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.3664, allocations: 3.562 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.3665, allocations: 43.06 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.3665, allocations: 16.47 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.3666, allocations: 40.61 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3668, allocations: 107.7 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3668, allocations: 1.031 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3668, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3668, allocations: 0 / 492.6 MB, free: 17.96 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.000561/0.3674, allocations: 397.8 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3675, allocations: 14.69 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3675, allocations: 13.81 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3677, allocations: 201.2 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3678, allocations: 12.91 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3678, allocations: 3.953 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.368, allocations: 53.55 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.368, allocations: 5.062 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.368, allocations: 0 / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.368, allocations: 5.047 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.3681, allocations: 18.62 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.3684, allocations: 283.6 kB / 493.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3686, allocations: 63.78 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.3687, allocations: 24.39 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.3687, allocations: 1.938 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3689, allocations: 65.55 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3689, allocations: 4 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.3695, allocations: 174.7 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.3695, allocations: 57.09 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3697, allocations: 156.8 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3697, allocations: 31.5 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.3697, allocations: 101.8 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.3698, allocations: 22.92 kB / 494.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.3698, allocations: 21.31 kB / 494.2 MB, free: 16.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.3699, allocations: 325.8 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.37, allocations: 25.19 kB / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.3701, allocations: 35.41 kB / 494.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3702, allocations: 53.06 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3702, allocations: 1.219 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.3704, allocations: 112.7 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3704, allocations: 4.312 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3704, allocations: 1.125 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3704, allocations: 5.781 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.3705, allocations: 15.08 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3706, allocations: 1.406 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.3706, allocations: 3.328 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3706, allocations: 1.969 kB / 494.8 MB, free: 15.98 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.456e-05/0.3707, allocations: 127.6 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3707, allocations: 13.3 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.3708, allocations: 17.12 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3708, allocations: 1.031 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3708, allocations: 0.6562 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3708, allocations: 1.766 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.3712, allocations: 382.9 kB / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3712, allocations: 0 / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.3713, allocations: 17.3 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3713, allocations: 5.281 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3713, allocations: 2.781 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3713, allocations: 5.281 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3713, allocations: 0 / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3715, allocations: 209.1 kB / 495.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.3716, allocations: 87.89 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3716, allocations: 2.875 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.3717, allocations: 7.172 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.3717, allocations: 5.234 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3718, allocations: 8.25 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.3719, allocations: 126.5 kB / 495.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3719, allocations: 0 / 495.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3721, allocations: 21.67 kB / 495.8 MB, free: 15.1 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.001073/0.3732, allocations: 474.3 kB / 496.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3735, allocations: 64.03 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3735, allocations: 3.938 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.3736, allocations: 28.67 kB / 496.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3739, allocations: 38.55 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.3744, allocations: 197.3 kB / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3746, allocations: 0.6971 MB / 497.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.3746, allocations: 20.77 kB / 497.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3747, allocations: 21.77 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3747, allocations: 0 / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Templates: time 0.00565/0.3803, allocations: 1.687 MB / 499.1 MB, free: 13.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)