Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008325/0.008325, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001811/0.001811, allocations: 200.3 kB / 16.68 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.645/1.645, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3325/0.3325, allocations: 37.99 MB / 307.9 MB, free: 10.18 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.001439/0.001439, allocations: 71.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3867, allocations: 56.46 MB / 489.5 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004155/0.391, allocations: 1.662 MB / 491.2 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3926, allocations: 0.8138 MB / 492 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.3928, allocations: 1.156 kB / 492 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.3932, allocations: 52.77 kB / 492 MB, free: 18.13 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.0002994/0.3935, allocations: 57.23 kB / 492.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3938, allocations: 85.38 kB / 492.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.3941, allocations: 94.42 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3942, allocations: 16.11 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3943, allocations: 41.17 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.3944, allocations: 25.66 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3945, allocations: 3.594 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.3946, allocations: 50.73 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.3947, allocations: 23.55 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.3948, allocations: 42.81 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3951, allocations: 136.7 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3951, allocations: 1.094 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3951, allocations: 0 / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3951, allocations: 0 / 492.6 MB, free: 17.85 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.0006366/0.3958, allocations: 438.5 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3958, allocations: 13.02 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3959, allocations: 15.44 kB / 493.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.3962, allocations: 221.9 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3962, allocations: 11.28 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.3963, allocations: 6.406 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3965, allocations: 58.81 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3965, allocations: 0 / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3965, allocations: 0 / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3965, allocations: 1.188 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.3966, allocations: 17.8 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.397, allocations: 301.5 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3972, allocations: 60.92 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.3973, allocations: 23.64 kB / 493.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3973, allocations: 2.156 kB / 493.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3975, allocations: 64.62 kB / 493.8 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.3975, allocations: 1.25 kB / 493.8 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006016/0.3981, allocations: 182.5 kB / 494 MB, free: 16.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3982, allocations: 52.94 kB / 494 MB, free: 16.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.3985, allocations: 258.5 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3985, allocations: 27.53 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3986, allocations: 123.5 kB / 494.4 MB, free: 16.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3986, allocations: 21.16 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.3987, allocations: 26.3 kB / 494.5 MB, free: 16.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.3988, allocations: 328.2 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.3989, allocations: 22.3 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.3989, allocations: 39.67 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.399, allocations: 57.44 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3991, allocations: 4 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.3993, allocations: 107 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3993, allocations: 4.656 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3993, allocations: 5 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3993, allocations: 1.781 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3994, allocations: 15.59 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3995, allocations: 0.9375 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.3995, allocations: 10.69 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3996, allocations: 2.812 kB / 495.1 MB, free: 15.77 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.0001768/0.3997, allocations: 141.9 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.3998, allocations: 14.31 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.3999, allocations: 19.52 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3999, allocations: 1.672 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3999, allocations: 0 / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.3999, allocations: 8.688 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.4007, allocations: 405.7 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4007, allocations: 5.562 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.4007, allocations: 8.25 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.4007, allocations: 2 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.4008, allocations: 5.797 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4008, allocations: 1.156 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4008, allocations: 1.734 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4011, allocations: 201.5 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.4012, allocations: 97.58 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.4012, allocations: 6.781 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.4013, allocations: 2.156 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4014, allocations: 10.8 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.4015, allocations: 3.734 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.4017, allocations: 191.9 kB / 496.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4018, allocations: 192 / 496.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.4021, allocations: 22.78 kB / 496.2 MB, free: 14.87 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.001099/0.4032, allocations: 485.1 kB / 496.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4035, allocations: 55.28 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4035, allocations: 1.219 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.4036, allocations: 31.53 kB / 496.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.404, allocations: 38.88 kB / 496.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.4046, allocations: 280.2 kB / 497.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.4048, allocations: 0.717 MB / 497.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.4049, allocations: 20.09 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.405, allocations: 17.19 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.405, allocations: 0 / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Templates: time 0.006569/0.4116, allocations: 1.736 MB / 499.6 MB, free: 13.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)