Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01005/0.01005, allocations: 103 kB / 15.73 MB, free: 6.035 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.001419/0.00142, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.727/1.727, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3541/0.3541, allocations: 38 MB / 307.9 MB, free: 10.09 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.001653/0.001653, allocations: 71.84 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3577, allocations: 56.46 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003589/0.3614, allocations: 1.764 MB / 491.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.363, allocations: 0.8757 MB / 492.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3632, allocations: 6.062 kB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.3639, allocations: 310 kB / 492.5 MB, free: 18.03 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.0005282/0.3644, allocations: 209.2 kB / 492.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.365, allocations: 135.9 kB / 492.8 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.3655, allocations: 242.2 kB / 493 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.3655, allocations: 17.84 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3658, allocations: 125.3 kB / 493.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.3661, allocations: 193.2 kB / 493.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3662, allocations: 5.75 kB / 493.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3664, allocations: 49.81 kB / 493.4 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3665, allocations: 136.8 kB / 493.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3667, allocations: 147.8 kB / 493.7 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.3672, allocations: 363.4 kB / 494 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3672, allocations: 0 / 494 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3672, allocations: 5 kB / 494 MB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3672, allocations: 0 / 494 MB, free: 17.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009772/0.3682, allocations: 0.7265 MB / 494.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3683, allocations: 13.23 kB / 494.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3684, allocations: 50.12 kB / 494.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.3691, allocations: 450 kB / 495.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3692, allocations: 6.109 kB / 495.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.3692, allocations: 7.75 kB / 495.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.3695, allocations: 86.83 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3695, allocations: 0 / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3695, allocations: 5.672 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3695, allocations: 1.094 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3697, allocations: 29.48 kB / 495.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.3702, allocations: 378.1 kB / 495.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3705, allocations: 106.2 kB / 495.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3706, allocations: 49.97 kB / 495.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3706, allocations: 5.609 kB / 495.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.3709, allocations: 108.9 kB / 496 MB, free: 15.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3709, allocations: 0 / 496 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005571/0.3714, allocations: 202.8 kB / 496.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.3715, allocations: 79.89 kB / 496.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.3731, allocations: 1.031 MB / 497.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3731, allocations: 31.08 kB / 497.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3733, allocations: 229 kB / 497.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.3734, allocations: 30.69 kB / 497.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.3734, allocations: 25.41 kB / 497.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3736, allocations: 369.8 kB / 498 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.3737, allocations: 32.28 kB / 498 MB, free: 14.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.6e-05/0.3738, allocations: 59.64 kB / 498.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.374, allocations: 84.23 kB / 498.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.374, allocations: 5 kB / 498.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003308/0.3743, allocations: 176.1 kB / 498.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3743, allocations: 6.953 kB / 498.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3743, allocations: 128 / 498.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.3744, allocations: 10.95 kB / 498.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3745, allocations: 20.77 kB / 498.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3745, allocations: 1.922 kB / 498.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3747, allocations: 9.219 kB / 498.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3747, allocations: 8.562 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002154/0.3749, allocations: 228.1 kB / 498.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.375, allocations: 50.95 kB / 498.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.515e-05/0.3751, allocations: 61.42 kB / 498.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3751, allocations: 1.781 kB / 498.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3751, allocations: 2.234 kB / 498.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3751, allocations: 0.6094 kB / 498.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.3755, allocations: 342.7 kB / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3755, allocations: 1.312 kB / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.3755, allocations: 10.77 kB / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3755, allocations: 6.219 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3755, allocations: 7.203 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3755, allocations: 2.031 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3755, allocations: 3.938 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3759, allocations: 202.1 kB / 499.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.376, allocations: 134.2 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.3761, allocations: 10 kB / 499.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.3762, allocations: 5.422 kB / 499.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3762, allocations: 11.59 kB / 499.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3763, allocations: 9.109 kB / 499.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008929/0.3772, allocations: 0.7697 MB / 0.4885 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3772, allocations: 0 / 0.4885 GB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.3775, allocations: 41.8 kB / 0.4886 GB, free: 13.57 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009864/0.3785, allocations: 423.9 kB / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3788, allocations: 81.39 kB / 0.4891 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3788, allocations: 0 / 0.4891 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3789, allocations: 40.44 kB / 0.4891 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.3794, allocations: 72.92 kB / 0.4892 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.3805, allocations: 0.86 MB / 0.49 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.3809, allocations: 0.8482 MB / 0.4908 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.381, allocations: 64.22 kB / 0.4909 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.3811, allocations: 32.34 kB / 0.4909 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3811, allocations: 4 kB / 0.4909 GB, free: 12.04 MB / 382.1 MB Notification: Performance of Templates: time 0.009256/0.3904, allocations: 3.742 MB / 0.4946 GB, free: 11.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)