Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005503/0.005503, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001215/0.001216, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.595/1.595, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.3606/0.3606, allocations: 38 MB / 307.9 MB, free: 10 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.001866/0.001866, allocations: 71.89 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3999, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003086/0.4031, allocations: 1.68 MB / 491.2 MB, free: 18.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.4043, allocations: 0.8018 MB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.4044, allocations: 1.406 kB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.4048, allocations: 45.92 kB / 492 MB, free: 18.15 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.0002375/0.405, allocations: 50.67 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.4053, allocations: 84.22 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.4055, allocations: 100.5 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4056, allocations: 15.72 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.4057, allocations: 41.64 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.4058, allocations: 30.22 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4058, allocations: 4.5 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4059, allocations: 46.25 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.406, allocations: 18.73 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.4061, allocations: 33.78 kB / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.4063, allocations: 120.9 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4063, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4063, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.4063, allocations: 0.8438 kB / 492.6 MB, free: 17.89 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.0005123/0.4068, allocations: 418.9 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4069, allocations: 12.8 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.4069, allocations: 15 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.4072, allocations: 219.4 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4072, allocations: 6.5 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.4073, allocations: 5.344 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.4074, allocations: 58.3 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4075, allocations: 1.344 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4075, allocations: 0.5156 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4075, allocations: 0.8125 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.4076, allocations: 17.75 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4079, allocations: 284 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4081, allocations: 64.66 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.4082, allocations: 19.06 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.4082, allocations: 1.969 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.4084, allocations: 71.11 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4084, allocations: 4 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005872/0.409, allocations: 172.3 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.409, allocations: 53.14 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4092, allocations: 198.2 kB / 494.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.4092, allocations: 26.77 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.4093, allocations: 104.3 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.4093, allocations: 25.61 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.4094, allocations: 21.86 kB / 494.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.4094, allocations: 331.3 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.4095, allocations: 20.7 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.4096, allocations: 39.77 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4097, allocations: 57.05 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4097, allocations: 1.375 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.4099, allocations: 100.7 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4099, allocations: 5.469 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4099, allocations: 1.672 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.41, allocations: 5.141 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.4101, allocations: 15.84 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4101, allocations: 1.062 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.4101, allocations: 9.891 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4101, allocations: 4.531 kB / 494.9 MB, free: 15.88 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 9.632e-05/0.4102, allocations: 133.5 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4103, allocations: 21.31 kB / 495.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.4103, allocations: 20.47 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4103, allocations: 1.156 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4103, allocations: 4.609 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4104, allocations: 5.797 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.4108, allocations: 385.5 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4108, allocations: 2 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.4108, allocations: 12.97 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4108, allocations: 5 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4109, allocations: 5.891 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4109, allocations: 1.688 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4109, allocations: 0.7969 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.4111, allocations: 205.1 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.4111, allocations: 88.66 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4112, allocations: 7.359 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.4112, allocations: 6.25 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4113, allocations: 6.125 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4113, allocations: 8.172 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.4114, allocations: 151.5 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4114, allocations: 0 / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.4117, allocations: 22.62 kB / 496 MB, free: 14.98 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.001042/0.4128, allocations: 476.5 kB / 496.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.413, allocations: 56.36 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.413, allocations: 0 / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.4131, allocations: 29.56 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4134, allocations: 38.2 kB / 496.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.4139, allocations: 232.6 kB / 496.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.414, allocations: 0.7037 MB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.4141, allocations: 16.36 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.4141, allocations: 25.64 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4141, allocations: 0 / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.00602/0.4202, allocations: 1.705 MB / 499.2 MB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)