Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008291/0.008291, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001687/0.001687, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.58/1.58, 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.4106/0.4106, allocations: 37.99 MB / 307.9 MB, free: 10.14 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.002143/0.002143, allocations: 75.91 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4131, allocations: 56.45 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003571/0.4167, allocations: 1.671 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.4183, allocations: 0.8139 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.4184, allocations: 1.344 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.4189, allocations: 45.52 kB / 492 MB, free: 18.21 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.0002997/0.4192, allocations: 64.39 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.4195, allocations: 82.59 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.4197, allocations: 99.41 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.4199, allocations: 19.92 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.42, allocations: 37.64 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4202, allocations: 33.56 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.4202, allocations: 7.688 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.4204, allocations: 43.89 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.4205, allocations: 22.64 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.4206, allocations: 39.38 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.421, allocations: 141 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.421, allocations: 0 / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.421, allocations: 0 / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.4211, allocations: 1.172 kB / 492.6 MB, free: 17.92 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.0009104/0.422, allocations: 433.6 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/0.4221, allocations: 17.17 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.4222, allocations: 20.88 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.4226, allocations: 221.8 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4226, allocations: 1.375 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.4226, allocations: 6.25 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.4228, allocations: 60.14 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4228, allocations: 0 / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4229, allocations: 1.188 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4229, allocations: 0 / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.423, allocations: 26.7 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.4234, allocations: 296.4 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4237, allocations: 61.33 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.4238, allocations: 19.7 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.4238, allocations: 1.125 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.424, allocations: 69.8 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.424, allocations: 0 / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006785/0.4247, allocations: 178.3 kB / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4247, allocations: 54.31 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.4251, allocations: 257.8 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4251, allocations: 30.86 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.4252, allocations: 119.5 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.4252, allocations: 22.8 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.4253, allocations: 21.16 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4254, allocations: 332.1 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.4255, allocations: 17.58 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.4256, allocations: 43.52 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4258, allocations: 66.05 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4258, allocations: 0 / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002333/0.426, allocations: 111 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.426, allocations: 5.141 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4261, allocations: 1.125 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/0.4261, allocations: 0.9062 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4263, allocations: 16.11 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4263, allocations: 1.25 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.4263, allocations: 7.469 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4264, allocations: 7.047 kB / 495.1 MB, free: 15.84 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 0.0001243/0.4265, allocations: 141.2 kB / 495.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.4265, allocations: 14.23 kB / 495.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.4266, allocations: 22.05 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4266, allocations: 2.125 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4266, allocations: 0.5625 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4266, allocations: 4.547 kB / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.4272, allocations: 406.6 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4273, allocations: 0 / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.4273, allocations: 9.828 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4273, allocations: 0 / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4274, allocations: 7.344 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4274, allocations: 0.7031 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4274, allocations: 1.312 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.4277, allocations: 206.7 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.4278, allocations: 92.73 kB / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.4278, allocations: 5.734 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.4279, allocations: 7.359 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.428, allocations: 5.906 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.428, allocations: 5.172 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.4283, allocations: 194.6 kB / 496.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4283, allocations: 0 / 496.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4286, allocations: 23.42 kB / 496.2 MB, free: 14.94 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.001282/0.4299, allocations: 478.2 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.4302, allocations: 60.75 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4302, allocations: 4.062 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.4303, allocations: 23.97 kB / 496.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.4307, allocations: 39.48 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.4314, allocations: 283.8 kB / 497.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4318, allocations: 0.7202 MB / 497.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.4318, allocations: 16.73 kB / 497.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.4319, allocations: 16.95 kB / 497.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4319, allocations: 0 / 497.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.006386/0.4383, allocations: 1.763 MB / 499.6 MB, free: 13.4 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)