Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008547/0.008547, allocations: 108.9 kB / 15.74 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.001822/0.001823, allocations: 194.8 kB / 16.67 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.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3487/0.3487, allocations: 38 MB / 307.9 MB, free: 10.21 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.001503/0.001503, allocations: 67.91 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3302, allocations: 56.46 MB / 489.5 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003057/0.3333, allocations: 1.671 MB / 491.2 MB, free: 19.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3346, allocations: 0.8015 MB / 492 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.3347, allocations: 1.531 kB / 492 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.3351, allocations: 85.61 kB / 492.1 MB, free: 18.5 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.0002798/0.3354, allocations: 76.67 kB / 492.1 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3357, allocations: 81.09 kB / 492.2 MB, free: 18.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3359, allocations: 107 kB / 492.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.336, allocations: 15.12 kB / 492.3 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3361, allocations: 51.12 kB / 492.4 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3362, allocations: 57.72 kB / 492.5 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3363, allocations: 8.344 kB / 492.5 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3364, allocations: 41.91 kB / 492.5 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.3364, allocations: 24 kB / 492.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.3365, allocations: 36.84 kB / 492.6 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3367, allocations: 115.2 kB / 492.7 MB, free: 18.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3367, allocations: 0 / 492.7 MB, free: 18.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3367, allocations: 0 / 492.7 MB, free: 18.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3367, allocations: 1.125 kB / 492.7 MB, free: 18.23 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.0005197/0.3373, allocations: 424.5 kB / 493.1 MB, free: 17.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3373, allocations: 12.83 kB / 493.1 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.3374, allocations: 18 kB / 493.1 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.3376, allocations: 216.7 kB / 493.3 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3377, allocations: 5.469 kB / 493.3 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3377, allocations: 6.406 kB / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3378, allocations: 54.5 kB / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3379, allocations: 0 / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3379, allocations: 1.781 kB / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3379, allocations: 0 / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.338, allocations: 22.8 kB / 493.4 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.3384, allocations: 288.8 kB / 493.7 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3386, allocations: 60.53 kB / 493.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.3387, allocations: 20.09 kB / 493.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.3387, allocations: 1.312 kB / 493.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3389, allocations: 73.53 kB / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.3389, allocations: 0 / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000653/0.3395, allocations: 176.9 kB / 494 MB, free: 17.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3396, allocations: 52.5 kB / 494.1 MB, free: 16.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3399, allocations: 224.2 kB / 494.3 MB, free: 16.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3399, allocations: 27.14 kB / 494.3 MB, free: 16.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.34, allocations: 108 kB / 494.4 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.34, allocations: 25.77 kB / 494.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.3401, allocations: 22.86 kB / 494.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.3401, allocations: 326 kB / 494.8 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.3402, allocations: 22.48 kB / 494.8 MB, free: 16.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.3403, allocations: 34.98 kB / 494.8 MB, free: 16.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3404, allocations: 69.02 kB / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3404, allocations: 1 kB / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.3406, allocations: 98.27 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3407, allocations: 4.938 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3407, allocations: 1.625 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3407, allocations: 0.6094 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3408, allocations: 15.2 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3408, allocations: 1.781 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.3409, allocations: 10.86 kB / 495 MB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3409, allocations: 8.172 kB / 495.1 MB, free: 16.2 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.767e-05/0.341, allocations: 123 kB / 495.2 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.341, allocations: 17.31 kB / 495.2 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.3411, allocations: 16.47 kB / 495.2 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3411, allocations: 5.781 kB / 495.2 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3411, allocations: 4.938 kB / 495.2 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3411, allocations: 4.547 kB / 495.2 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3416, allocations: 396.9 kB / 495.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3416, allocations: 0 / 495.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.3416, allocations: 13.8 kB / 495.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3416, allocations: 0.8125 kB / 495.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3417, allocations: 6.875 kB / 495.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3417, allocations: 0 / 495.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3417, allocations: 1.625 kB / 495.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3419, allocations: 204.9 kB / 495.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.342, allocations: 85.94 kB / 495.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.342, allocations: 5.844 kB / 495.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.3421, allocations: 4.156 kB / 495.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3421, allocations: 9.312 kB / 495.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3421, allocations: 12.08 kB / 495.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3423, allocations: 155.2 kB / 496.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3423, allocations: 0 / 496.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3426, allocations: 26.2 kB / 496.1 MB, free: 15.3 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.001078/0.3437, allocations: 478.1 kB / 496.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3439, allocations: 56.22 kB / 496.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3439, allocations: 5.125 kB / 496.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.344, allocations: 31.83 kB / 496.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3444, allocations: 30.66 kB / 496.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.3449, allocations: 251 kB / 497 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3451, allocations: 0.7049 MB / 497.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.3452, allocations: 20.95 kB / 497.7 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3452, allocations: 20.88 kB / 497.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3452, allocations: 0 / 497.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.005539/0.3508, allocations: 1.708 MB / 499.4 MB, free: 13.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)