Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009136/0.009136, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001578/0.001579, allocations: 200.3 kB / 16.68 MB, free: 5.98 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.628/1.628, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3635/0.3635, allocations: 39.95 MB / 309.8 MB, free: 9.453 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.2. 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.00138/0.00138, allocations: 71.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3712, allocations: 56.88 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003108/0.3744, allocations: 1.779 MB / 494.5 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3758, allocations: 0.882 MB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.3759, allocations: 1.062 kB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.3765, allocations: 312.3 kB / 495.7 MB, free: 17.57 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.0004085/0.3769, allocations: 208.5 kB / 495.9 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.3773, allocations: 142.4 kB / 496 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.3776, allocations: 243.6 kB / 496.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.3777, allocations: 17.86 kB / 496.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.3778, allocations: 124.5 kB / 496.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.3781, allocations: 193.9 kB / 496.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3781, allocations: 5.531 kB / 496.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3782, allocations: 44.61 kB / 496.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3784, allocations: 135.3 kB / 496.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3785, allocations: 149.7 kB / 496.9 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.3789, allocations: 368.4 kB / 497.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3789, allocations: 0 / 497.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3789, allocations: 0 / 497.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3789, allocations: 1.531 kB / 497.3 MB, free: 16.95 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.0009177/0.3799, allocations: 0.7262 MB / 498 MB, free: 16.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3799, allocations: 13.2 kB / 498 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.83e-05/0.38, allocations: 54.02 kB / 498.1 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006269/0.3807, allocations: 457.5 kB / 498.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3807, allocations: 2.719 kB / 498.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.3807, allocations: 7.016 kB / 498.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3809, allocations: 84.25 kB / 498.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3809, allocations: 0 / 498.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.381, allocations: 0.6094 kB / 498.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.381, allocations: 5.094 kB / 498.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3811, allocations: 34.88 kB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.3815, allocations: 376.7 kB / 499 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.3818, allocations: 106 kB / 499.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3819, allocations: 47.12 kB / 499.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3819, allocations: 1.188 kB / 499.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.3822, allocations: 100.8 kB / 499.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.3822, allocations: 9.219 kB / 499.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004686/0.3826, allocations: 193.5 kB / 499.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3827, allocations: 82.61 kB / 499.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3838, allocations: 1.036 MB / 0.4888 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3838, allocations: 27.62 kB / 0.4889 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.384, allocations: 232.3 kB / 0.4891 GB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.384, allocations: 27.97 kB / 0.4891 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.3841, allocations: 28.33 kB / 0.4891 GB, free: 14.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3842, allocations: 371.2 kB / 0.4895 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.3843, allocations: 30.81 kB / 0.4895 GB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.3844, allocations: 56.23 kB / 0.4896 GB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3845, allocations: 96.58 kB / 0.4897 GB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3845, allocations: 1.312 kB / 0.4897 GB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002672/0.3848, allocations: 167.5 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3848, allocations: 6.156 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3848, allocations: 4.828 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3849, allocations: 1.375 kB / 0.4899 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.385, allocations: 28.56 kB / 0.4899 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.385, allocations: 1.125 kB / 0.4899 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.3851, allocations: 9.469 kB / 0.4899 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3851, allocations: 3.188 kB / 0.4899 GB, free: 14.11 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.0001687/0.3853, allocations: 227 kB / 0.4901 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.3853, allocations: 49.25 kB / 0.4902 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.3854, allocations: 60.73 kB / 0.4902 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3854, allocations: 1.469 kB / 0.4902 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3855, allocations: 1.25 kB / 0.4902 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3855, allocations: 7.266 kB / 0.4902 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.3858, allocations: 344.6 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3858, allocations: 4.609 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.3858, allocations: 8.094 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3858, allocations: 5.359 kB / 0.4906 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3858, allocations: 2.922 kB / 0.4906 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3858, allocations: 1.375 kB / 0.4906 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3858, allocations: 5.359 kB / 0.4906 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3861, allocations: 209.8 kB / 0.4908 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.3863, allocations: 137.8 kB / 0.4909 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3863, allocations: 7.062 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.3864, allocations: 9.578 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3865, allocations: 6.797 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3865, allocations: 5.203 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007661/0.3872, allocations: 0.77 MB / 0.4917 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3873, allocations: 0 / 0.4917 GB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3875, allocations: 45.09 kB / 0.4917 GB, free: 13.11 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.000927/0.3885, allocations: 425.3 kB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.3887, allocations: 80.98 kB / 0.4922 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3887, allocations: 0 / 0.4922 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3889, allocations: 36.42 kB / 0.4922 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.3893, allocations: 84.62 kB / 0.4923 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3907, allocations: 0.8675 MB / 0.4932 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.3911, allocations: 0.8416 MB / 0.494 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3912, allocations: 59.7 kB / 0.4941 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.3913, allocations: 27.97 kB / 0.4941 GB, free: 11.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3913, allocations: 0 / 0.4941 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Templates: time 0.008407/0.3997, allocations: 3.734 MB / 0.4977 GB, free: 10.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)