Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007239/0.007239, allocations: 102 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.001351/0.001351, allocations: 187.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.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.4084/0.4084, allocations: 38 MB / 307.9 MB, free: 10.17 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.001841/0.001841, allocations: 71.91 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3698, allocations: 56.46 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003714/0.3736, allocations: 1.677 MB / 491.2 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3754, allocations: 0.8335 MB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3756, allocations: 1.375 kB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.376, allocations: 36.14 kB / 492.1 MB, free: 18.09 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.0003203/0.3764, allocations: 56.03 kB / 492.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3767, allocations: 81.34 kB / 492.2 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.377, allocations: 99.64 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3772, allocations: 24.86 kB / 492.3 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3773, allocations: 42 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3775, allocations: 32.89 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.3775, allocations: 4.406 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.3777, allocations: 60.34 kB / 492.5 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.3778, allocations: 20.05 kB / 492.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.3779, allocations: 33.53 kB / 492.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.3782, allocations: 128.4 kB / 492.6 MB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3782, allocations: 0 / 492.6 MB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3782, allocations: 1.156 kB / 492.6 MB, free: 17.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3782, allocations: 4 kB / 492.6 MB, free: 17.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006508/0.3789, allocations: 404.4 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3789, allocations: 13.78 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.379, allocations: 13.06 kB / 493.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3793, allocations: 209.9 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3793, allocations: 6.656 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.3793, allocations: 7.469 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3795, allocations: 78.8 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3796, allocations: 0 / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3796, allocations: 0 / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3796, allocations: 1.188 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.3797, allocations: 28 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3801, allocations: 284.1 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3803, allocations: 66.06 kB / 493.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.3804, allocations: 26.02 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.3804, allocations: 1.125 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3806, allocations: 67.55 kB / 493.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3806, allocations: 0 / 493.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006496/0.3812, allocations: 186.8 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.3813, allocations: 86.17 kB / 494.1 MB, free: 16.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3815, allocations: 152.4 kB / 494.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3815, allocations: 30.78 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.3816, allocations: 94.38 kB / 494.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3816, allocations: 26.2 kB / 494.4 MB, free: 16.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.3817, allocations: 22.77 kB / 494.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3818, allocations: 329.2 kB / 494.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.3819, allocations: 19.72 kB / 494.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.382, allocations: 49.53 kB / 494.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3821, allocations: 64.61 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3821, allocations: 0 / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002011/0.3824, allocations: 109.2 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3824, allocations: 4.812 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3824, allocations: 2.312 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3824, allocations: 5.188 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3825, allocations: 16.72 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3825, allocations: 480 / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.3826, allocations: 16.03 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3826, allocations: 3.344 kB / 495 MB, free: 15.75 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 (11): * Single equations (assignments): 11 * 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 8.889e-05/0.3827, allocations: 126.5 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3828, allocations: 13.22 kB / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.3828, allocations: 12.58 kB / 495.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3828, allocations: 5.031 kB / 495.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3828, allocations: 0.9844 kB / 495.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3828, allocations: 5.188 kB / 495.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.3833, allocations: 398.4 kB / 495.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3833, allocations: 0.5625 kB / 495.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.3834, allocations: 10.72 kB / 495.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3834, allocations: 5.125 kB / 495.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3834, allocations: 6.922 kB / 495.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3834, allocations: 1.25 kB / 495.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3834, allocations: 4.688 kB / 495.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.3836, allocations: 208.7 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3837, allocations: 84.56 kB / 495.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3837, allocations: 5.797 kB / 495.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.3838, allocations: 3.234 kB / 495.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.3839, allocations: 15.17 kB / 495.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3839, allocations: 3.5 kB / 495.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.405e-05/0.384, allocations: 116.8 kB / 496 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.384, allocations: 0 / 496 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.3843, allocations: 32.36 kB / 496 MB, free: 14.86 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 (9): * Single equations (assignments): 7 * 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.001228/0.3855, allocations: 0.5131 MB / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3858, allocations: 63.64 kB / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3858, allocations: 0 / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.3859, allocations: 31.78 kB / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3862, allocations: 33.78 kB / 496.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.3867, allocations: 202.1 kB / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.3869, allocations: 0.6955 MB / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.3869, allocations: 26.61 kB / 497.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.387, allocations: 19.33 kB / 497.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.387, allocations: 192 / 497.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Templates: time 0.006097/0.3931, allocations: 2.053 MB / 499.7 MB, free: 13.29 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)