Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01197/0.01197, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.00184/0.00184, allocations: 200.2 kB / 16.67 MB, free: 5.98 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.723/1.723, 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.4379/0.4379, allocations: 38 MB / 307.9 MB, free: 10.15 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.002474/0.002474, allocations: 75.89 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.377, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003587/0.3807, allocations: 1.665 MB / 491.2 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3821, allocations: 0.8063 MB / 492 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.3822, allocations: 4.938 kB / 492 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.3827, allocations: 83.31 kB / 492.1 MB, free: 18.12 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.0002873/0.383, allocations: 76.81 kB / 492.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3833, allocations: 81.05 kB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.3836, allocations: 110 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3837, allocations: 15.69 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.3839, allocations: 55.72 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.384, allocations: 53.75 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.384, allocations: 4.188 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3841, allocations: 42.47 kB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.3842, allocations: 27.44 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.3843, allocations: 37.78 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3845, allocations: 119.1 kB / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3845, allocations: 0 / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3845, allocations: 0 / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3845, allocations: 2 kB / 492.7 MB, free: 17.84 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.000517/0.3851, allocations: 418.9 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3851, allocations: 13.83 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.3852, allocations: 10.06 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3854, allocations: 215.6 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3854, allocations: 2.219 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3855, allocations: 10.31 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3856, allocations: 54.2 kB / 493.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3856, allocations: 0 / 493.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3857, allocations: 1.734 kB / 493.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3857, allocations: 5.281 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.3858, allocations: 17.3 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3862, allocations: 292.8 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3863, allocations: 61.16 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.3864, allocations: 19.41 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.3864, allocations: 2.094 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.3866, allocations: 65.02 kB / 493.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3866, allocations: 0 / 493.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.3872, allocations: 182 kB / 494 MB, free: 16.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3872, allocations: 52.78 kB / 494.1 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.3874, allocations: 219 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3875, allocations: 26.86 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3875, allocations: 108.8 kB / 494.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.3876, allocations: 25.72 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.3876, allocations: 22 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.3877, allocations: 335.1 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.3878, allocations: 17.86 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.3878, allocations: 35.34 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.388, allocations: 60.94 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.388, allocations: 1.188 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.3882, allocations: 98.05 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3882, allocations: 9.781 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3882, allocations: 0 / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3882, allocations: 1.5 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3883, allocations: 19.3 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3883, allocations: 5.906 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.3884, allocations: 10.69 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3884, allocations: 2.75 kB / 495.1 MB, free: 15.82 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 8.709e-05/0.3885, allocations: 129.9 kB / 495.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.3885, allocations: 14.89 kB / 495.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.3886, allocations: 19.53 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3886, allocations: 1.062 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3886, allocations: 0.75 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3886, allocations: 5 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.389, allocations: 395.9 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.389, allocations: 1.188 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.389, allocations: 8.891 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.389, allocations: 1.859 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3891, allocations: 13.69 kB / 495.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3891, allocations: 1.25 kB / 495.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3891, allocations: 5.766 kB / 495.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3893, allocations: 207.9 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.3893, allocations: 86.12 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3893, allocations: 6.406 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.3894, allocations: 10.42 kB / 495.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3895, allocations: 10.38 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3895, allocations: 3.438 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3896, allocations: 156.4 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3896, allocations: 0 / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.3899, allocations: 26.52 kB / 496.1 MB, free: 14.91 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.001007/0.3909, allocations: 468.3 kB / 496.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3911, allocations: 56.38 kB / 496.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3911, allocations: 0 / 496.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.3912, allocations: 32.8 kB / 496.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3915, allocations: 34.45 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.392, allocations: 247.2 kB / 497 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3922, allocations: 0.7086 MB / 497.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.3922, allocations: 20.92 kB / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3923, allocations: 20.77 kB / 497.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3923, allocations: 7.875 kB / 497.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.005141/0.3974, allocations: 1.729 MB / 499.4 MB, free: 13.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)