Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01007/0.01007, allocations: 101.5 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.001896/0.001896, allocations: 188.9 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.733/1.733, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3396/0.3396, allocations: 38 MB / 307.9 MB, free: 10.08 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.001778/0.001778, allocations: 67.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.336, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002996/0.3391, allocations: 1.673 MB / 491.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3404, allocations: 0.8094 MB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.3405, allocations: 0 / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.3408, allocations: 47.75 kB / 492 MB, free: 18.25 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.000245/0.3411, allocations: 48.11 kB / 492.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3413, allocations: 81 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3415, allocations: 95.03 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3416, allocations: 20.44 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.3417, allocations: 41.59 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.3418, allocations: 30.83 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3418, allocations: 2.625 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.3419, allocations: 47.16 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.342, allocations: 19.42 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.3421, allocations: 37.17 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.3423, allocations: 112.2 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3423, allocations: 0.9375 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3423, allocations: 0.9688 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3423, allocations: 4 kB / 492.6 MB, free: 17.99 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.0004483/0.3427, allocations: 418.5 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3428, allocations: 18.33 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.3428, allocations: 13.81 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3431, allocations: 206.5 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3431, allocations: 2.641 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3431, allocations: 10.5 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3433, allocations: 58.17 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3433, allocations: 1.281 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3433, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3433, allocations: 1 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.3434, allocations: 21.38 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.3437, allocations: 284.7 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3439, allocations: 60.33 kB / 493.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.3439, allocations: 20.17 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3439, allocations: 1.062 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.3441, allocations: 72.91 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3441, allocations: 1.188 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005051/0.3446, allocations: 169 kB / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3446, allocations: 56.59 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3448, allocations: 198 kB / 494.2 MB, free: 16.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3448, allocations: 30.89 kB / 494.2 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.3449, allocations: 108.2 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3449, allocations: 26.39 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.3449, allocations: 22.22 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.345, allocations: 326.8 kB / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.3451, allocations: 20.64 kB / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.3451, allocations: 40.23 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/0.3452, allocations: 56.98 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3452, allocations: 0 / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001662/0.3454, allocations: 102.4 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3454, allocations: 4.688 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3454, allocations: 5.703 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3455, allocations: 5.281 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.3456, allocations: 16.09 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3456, allocations: 1.156 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.3456, allocations: 14.03 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3456, allocations: 7.219 kB / 494.9 MB, free: 15.97 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.269e-05/0.3457, allocations: 123.2 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3458, allocations: 13.95 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.3458, allocations: 15.53 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3458, allocations: 1.031 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3458, allocations: 5 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3458, allocations: 4.594 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.3462, allocations: 395 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3462, allocations: 1.188 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.3463, allocations: 13.11 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3463, allocations: 0 / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3463, allocations: 11.7 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3463, allocations: 1.25 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3463, allocations: 4.031 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.3465, allocations: 201 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.3465, allocations: 84.86 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3466, allocations: 10.69 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.3467, allocations: 3.734 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.3467, allocations: 5.312 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3467, allocations: 8.062 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3468, allocations: 155.3 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3469, allocations: 3.938 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3471, allocations: 26.88 kB / 496 MB, free: 15.08 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.001057/0.3482, allocations: 464.7 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.3484, allocations: 65.14 kB / 496.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3484, allocations: 0 / 496.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.3485, allocations: 28.38 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3488, allocations: 27.12 kB / 496.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.3493, allocations: 240.9 kB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.3494, allocations: 0.7033 MB / 497.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.3495, allocations: 21.33 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3495, allocations: 16.47 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3495, allocations: 0 / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.00497/0.3545, allocations: 1.735 MB / 499.3 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)