Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007998/0.007999, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001365/0.001365, allocations: 193 kB / 16.68 MB, free: 5.93 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.586/1.586, 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.3523/0.3523, allocations: 37.99 MB / 307.9 MB, free: 10.05 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.001324/0.001324, allocations: 80.38 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3807, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003204/0.384, allocations: 1.66 MB / 491.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3854, allocations: 0.8066 MB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.3855, allocations: 5.031 kB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.3859, allocations: 33.03 kB / 492 MB, free: 18.17 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.0002691/0.3861, allocations: 53.06 kB / 492.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3864, allocations: 79.3 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.3867, allocations: 99.94 kB / 492.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3869, allocations: 15.42 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.387, allocations: 42.58 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3871, allocations: 34.56 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3871, allocations: 2.812 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3873, allocations: 42.55 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.3874, allocations: 20.86 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.3875, allocations: 29.27 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3878, allocations: 106.9 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.3878, allocations: 0.5625 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3878, allocations: 5.125 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3878, allocations: 0 / 492.5 MB, free: 17.91 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.0006894/0.3885, allocations: 394.1 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.3886, allocations: 13.61 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.3887, allocations: 17.8 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.389, allocations: 208.7 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.389, allocations: 6.875 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3891, allocations: 2.094 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3893, allocations: 58.72 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3893, allocations: 0 / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3893, allocations: 0 / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3893, allocations: 1.219 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.3894, allocations: 20.8 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.3899, allocations: 285.6 kB / 493.5 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3901, allocations: 59.45 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.3902, allocations: 24.97 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.3902, allocations: 1.406 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3904, allocations: 70.03 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.048e-06/0.3904, allocations: 3.984 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006515/0.3911, allocations: 170.6 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3911, allocations: 62.56 kB / 493.9 MB, free: 16.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3913, allocations: 163.2 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3913, allocations: 26.77 kB / 494.1 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.3914, allocations: 103.9 kB / 494.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.3915, allocations: 24.91 kB / 494.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.3915, allocations: 21.27 kB / 494.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.3916, allocations: 322 kB / 494.6 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.3917, allocations: 25.7 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.3918, allocations: 35.52 kB / 494.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3919, allocations: 57.3 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3919, allocations: 0 / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.3921, allocations: 101.9 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3922, allocations: 4.344 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.3922, allocations: 2.078 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3922, allocations: 9.094 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3923, allocations: 18.27 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3923, allocations: 1.547 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.3924, allocations: 7.484 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3924, allocations: 2.531 kB / 494.8 MB, free: 15.91 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.093e-05/0.3925, allocations: 120.3 kB / 494.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3925, allocations: 8.156 kB / 494.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.3926, allocations: 20.69 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3926, allocations: 6.453 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3926, allocations: 1.094 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3926, allocations: 0 / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.393, allocations: 391.5 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.393, allocations: 0 / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.3931, allocations: 8.75 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3931, allocations: 1.344 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3931, allocations: 2.734 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3931, allocations: 1.438 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3931, allocations: 5.656 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3933, allocations: 215.3 kB / 495.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.3934, allocations: 87.97 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3934, allocations: 2.953 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.3935, allocations: 6.906 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.3935, allocations: 5.281 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3935, allocations: 10.44 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.19e-05/0.3936, allocations: 123.7 kB / 495.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3936, allocations: 0 / 495.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3939, allocations: 22.22 kB / 495.8 MB, free: 15.04 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.001097/0.395, allocations: 474.1 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3952, allocations: 63.73 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3952, allocations: 0 / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.3953, allocations: 32.58 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3957, allocations: 39.08 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.3961, allocations: 200.6 kB / 496.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3963, allocations: 0.6969 MB / 497.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.3964, allocations: 13.28 kB / 497.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.3964, allocations: 16.27 kB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3964, allocations: 0 / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005343/0.4018, allocations: 1.689 MB / 499 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)