Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008924/0.008924, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001677/0.001677, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.366/0.366, allocations: 39.94 MB / 309.8 MB, free: 9.223 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.0029/0.0029, allocations: 79.88 kB / 435.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3997, allocations: 56.86 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003512/0.4033, allocations: 1.705 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4047, allocations: 0.8098 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.4049, allocations: 1.156 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.4053, allocations: 105.6 kB / 495.3 MB, free: 17.71 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.0002658/0.4056, allocations: 86.8 kB / 495.4 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.4059, allocations: 90.28 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.4061, allocations: 124.5 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4062, allocations: 18.02 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.4063, allocations: 60.45 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4065, allocations: 71.06 kB / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4065, allocations: 8.969 kB / 495.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.4066, allocations: 50.83 kB / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.4067, allocations: 29.09 kB / 495.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.4067, allocations: 44.36 kB / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.407, allocations: 138.2 kB / 496 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.407, allocations: 0 / 496 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.407, allocations: 3.938 kB / 496 MB, free: 17.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.407, allocations: 1.062 kB / 496 MB, free: 17.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000537/0.4076, allocations: 442.3 kB / 496.5 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4076, allocations: 12.77 kB / 496.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4077, allocations: 15.91 kB / 496.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.408, allocations: 234.5 kB / 496.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.408, allocations: 1.688 kB / 496.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.408, allocations: 14.73 kB / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4082, allocations: 62.86 kB / 496.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4082, allocations: 5.188 kB / 496.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4082, allocations: 7.938 kB / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4082, allocations: 1.781 kB / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.4084, allocations: 31.61 kB / 496.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.4087, allocations: 315.4 kB / 497.2 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.4089, allocations: 72.44 kB / 497.2 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.409, allocations: 26.73 kB / 497.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4091, allocations: 6.047 kB / 497.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.4092, allocations: 83.67 kB / 497.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4092, allocations: 0 / 497.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006298/0.4099, allocations: 231.3 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4099, allocations: 53.33 kB / 497.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.4102, allocations: 246.8 kB / 497.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4102, allocations: 32.75 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.4102, allocations: 110.2 kB / 498 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.4103, allocations: 37.59 kB / 498 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.4103, allocations: 28.38 kB / 498.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.4104, allocations: 324.5 kB / 498.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.4105, allocations: 35.39 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.4106, allocations: 45.72 kB / 498.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4107, allocations: 81.64 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4108, allocations: 3.938 kB / 498.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002443/0.411, allocations: 136.4 kB / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.411, allocations: 5.406 kB / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.411, allocations: 2.016 kB / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4111, allocations: 0 / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4112, allocations: 25.83 kB / 498.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4112, allocations: 5.438 kB / 498.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.4113, allocations: 10.39 kB / 498.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4113, allocations: 4.312 kB / 498.7 MB, free: 15.22 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 (13): * Single equations (assignments): 13 * 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.947e-05/0.4114, allocations: 136.2 kB / 498.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.4114, allocations: 15.62 kB / 498.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.4115, allocations: 19.05 kB / 498.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4115, allocations: 1.406 kB / 498.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4115, allocations: 3.938 kB / 498.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4115, allocations: 1.312 kB / 498.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.412, allocations: 455.6 kB / 499.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.412, allocations: 0.5625 kB / 499.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.4121, allocations: 22.56 kB / 499.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4121, allocations: 0 / 499.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4121, allocations: 7.328 kB / 499.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4121, allocations: 1.703 kB / 499.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4121, allocations: 1.344 kB / 499.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.4123, allocations: 229.6 kB / 499.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4124, allocations: 94.45 kB / 499.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4124, allocations: 5.875 kB / 499.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.4125, allocations: 3.859 kB / 499.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.4126, allocations: 11.86 kB / 499.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4126, allocations: 4.281 kB / 499.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.4128, allocations: 188.4 kB / 499.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4128, allocations: 0 / 499.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.413, allocations: 30.02 kB / 499.9 MB, free: 14.29 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 (11): * Single equations (assignments): 9 * 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.00102/0.4141, allocations: 482.7 kB / 0.4887 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4143, allocations: 82.88 kB / 0.4888 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4143, allocations: 4.062 kB / 0.4888 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.4144, allocations: 41.03 kB / 0.4888 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4148, allocations: 38.81 kB / 0.4888 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4153, allocations: 290.4 kB / 0.4891 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4155, allocations: 0.7279 MB / 0.4898 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.4156, allocations: 20.44 kB / 0.4899 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.4157, allocations: 20.41 kB / 0.4899 GB, free: 12.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4157, allocations: 0 / 0.4899 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Templates: time 0.005768/0.4215, allocations: 1.939 MB / 0.4918 GB, free: 12.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)