Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009987/0.009987, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001894/0.001895, allocations: 194.7 kB / 16.68 MB, free: 6.355 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.664/1.664, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.3453/0.3453, allocations: 37.99 MB / 307.9 MB, free: 10.22 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.001601/0.001601, allocations: 67.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3365, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003201/0.3397, allocations: 1.764 MB / 491.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3412, allocations: 0.8791 MB / 492.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.3413, allocations: 2.156 kB / 492.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.3419, allocations: 314.4 kB / 492.5 MB, free: 18.05 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.0004017/0.3423, allocations: 205 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.3426, allocations: 143.5 kB / 492.8 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.343, allocations: 242.9 kB / 493 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.343, allocations: 14.25 kB / 493 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.3432, allocations: 124 kB / 493.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.3435, allocations: 194.3 kB / 493.4 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3436, allocations: 5.5 kB / 493.4 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3437, allocations: 48.86 kB / 493.4 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3439, allocations: 134.4 kB / 493.5 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.344, allocations: 147.5 kB / 493.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3444, allocations: 362.7 kB / 494 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3445, allocations: 1.094 kB / 494 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3445, allocations: 7.875 kB / 494 MB, free: 17.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3445, allocations: 0 / 494 MB, free: 17.44 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.0009316/0.3454, allocations: 0.7229 MB / 494.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3455, allocations: 13.48 kB / 494.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.3456, allocations: 51.09 kB / 494.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.3462, allocations: 452.8 kB / 495.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3463, allocations: 2.172 kB / 495.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3463, allocations: 8.328 kB / 495.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3465, allocations: 90.11 kB / 495.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3466, allocations: 5.141 kB / 495.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3466, allocations: 0.6094 kB / 495.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3466, allocations: 2.156 kB / 495.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.3467, allocations: 33.62 kB / 495.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.3472, allocations: 380.7 kB / 495.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3475, allocations: 102 kB / 495.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3476, allocations: 51.84 kB / 495.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3476, allocations: 0 / 495.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.3479, allocations: 110.4 kB / 496 MB, free: 15.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3479, allocations: 0 / 496 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005557/0.3485, allocations: 201.3 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3485, allocations: 80 kB / 496.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.35, allocations: 1.032 MB / 497.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.35, allocations: 31.08 kB / 497.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3502, allocations: 231.6 kB / 497.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.3502, allocations: 27.73 kB / 497.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3503, allocations: 28.73 kB / 497.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3504, allocations: 366.6 kB / 498 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/0.3505, allocations: 31.39 kB / 498.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.3506, allocations: 64.2 kB / 498.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3508, allocations: 84.19 kB / 498.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3508, allocations: 5.375 kB / 498.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.3511, allocations: 172.4 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3512, allocations: 5.5 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3512, allocations: 1.375 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3512, allocations: 1.375 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3513, allocations: 21.3 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3514, allocations: 1.938 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.3515, allocations: 21.19 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3515, allocations: 5.062 kB / 498.4 MB, free: 14.59 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.0002107/0.3517, allocations: 224.2 kB / 498.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.3518, allocations: 53.81 kB / 498.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/0.3519, allocations: 58.78 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3519, allocations: 1.75 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3519, allocations: 1.344 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3519, allocations: 0.75 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3523, allocations: 348 kB / 499.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3523, allocations: 0 / 499.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.3523, allocations: 8.031 kB / 499.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3523, allocations: 9 kB / 499.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3523, allocations: 6.469 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3523, allocations: 2.141 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3524, allocations: 5.125 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.3527, allocations: 197.4 kB / 499.3 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3528, allocations: 142.7 kB / 499.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.3529, allocations: 6.391 kB / 499.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.3529, allocations: 4.812 kB / 499.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.353, allocations: 15.17 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.353, allocations: 5.656 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000882/0.3539, allocations: 0.7701 MB / 0.4885 GB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3539, allocations: 0 / 0.4885 GB, free: 13.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.3542, allocations: 41.02 kB / 0.4886 GB, free: 13.59 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.0009603/0.3552, allocations: 420 kB / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3555, allocations: 81.02 kB / 0.4891 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3555, allocations: 0 / 0.4891 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3556, allocations: 43.67 kB / 0.4891 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.3561, allocations: 77.62 kB / 0.4892 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3571, allocations: 0.8591 MB / 0.49 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3575, allocations: 0.8527 MB / 0.4908 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3576, allocations: 56.17 kB / 0.4909 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3577, allocations: 28.95 kB / 0.4909 GB, free: 12.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3577, allocations: 4 kB / 0.4909 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Templates: time 0.008434/0.3661, allocations: 3.745 MB / 0.4946 GB, free: 11.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)