Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007384/0.007384, allocations: 102.3 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.00132/0.001319, allocations: 191 kB / 16.67 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.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3553/0.3553, allocations: 38 MB / 307.9 MB, free: 10.08 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.001492/0.001492, allocations: 79.89 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3818, allocations: 56.45 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003831/0.3857, allocations: 1.633 MB / 491.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3875, allocations: 0.7989 MB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3876, allocations: 1.094 kB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.3882, allocations: 60.38 kB / 492 MB, free: 18.2 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.0003336/0.3885, allocations: 64.48 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.3889, allocations: 74.81 kB / 492.1 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3892, allocations: 99.05 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.3893, allocations: 9.328 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3894, allocations: 46.47 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3896, allocations: 39.16 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3896, allocations: 7.219 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3897, allocations: 42.45 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.3898, allocations: 14.14 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.3899, allocations: 28.62 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3902, allocations: 103.4 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3902, allocations: 0 / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3902, allocations: 0 / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3902, allocations: 1.125 kB / 492.5 MB, free: 17.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006442/0.3909, allocations: 401.9 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.3909, allocations: 13.8 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.391, allocations: 13.98 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.3914, allocations: 205.3 kB / 493.1 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3914, allocations: 1.312 kB / 493.1 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3914, allocations: 5.938 kB / 493.1 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3917, allocations: 51.17 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3917, allocations: 1.062 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3917, allocations: 4 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3917, allocations: 1.125 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.3918, allocations: 15.06 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.3921, allocations: 178.2 kB / 493.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3922, allocations: 56.7 kB / 493.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.519e-05/0.3923, allocations: 23.91 kB / 493.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3924, allocations: 6.031 kB / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3925, allocations: 66.95 kB / 493.5 MB, free: 16.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3926, allocations: 0.9375 kB / 493.5 MB, free: 16.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003407/0.3929, allocations: 96.53 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.393, allocations: 56.59 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3932, allocations: 184.4 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3932, allocations: 29.7 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3933, allocations: 104.4 kB / 494 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3933, allocations: 11.53 kB / 494 MB, free: 16.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3933, allocations: 18.91 kB / 494 MB, free: 16.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.3934, allocations: 323.3 kB / 494.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.3935, allocations: 12.16 kB / 494.4 MB, free: 16.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.3936, allocations: 30.73 kB / 494.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3937, allocations: 49.55 kB / 494.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3937, allocations: 0.9688 kB / 494.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/0.3939, allocations: 85.53 kB / 494.5 MB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3939, allocations: 5.312 kB / 494.5 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.394, allocations: 4.062 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.394, allocations: 5.344 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3941, allocations: 11.14 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3941, allocations: 1.094 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.3942, allocations: 6.891 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3942, allocations: 2.844 kB / 494.6 MB, free: 16.12 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 (7): * Single equations (assignments): 7 * 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.0001195/0.3943, allocations: 128.3 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3944, allocations: 8.734 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.3944, allocations: 10.59 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3944, allocations: 0.5156 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3944, allocations: 1.188 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3944, allocations: 0.7031 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3946, allocations: 188.6 kB / 494.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3946, allocations: 5.438 kB / 494.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.3947, allocations: 3.656 kB / 494.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3947, allocations: 0 / 494.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3947, allocations: 2.438 kB / 494.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3947, allocations: 0 / 494.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3947, allocations: 6.203 kB / 494.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.3949, allocations: 108.5 kB / 495 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.395, allocations: 87.73 kB / 495.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.395, allocations: 5.75 kB / 495.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.3951, allocations: 2.328 kB / 495.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.3951, allocations: 11.48 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3952, allocations: 3.938 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.3953, allocations: 142.5 kB / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3953, allocations: 0.875 kB / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3956, allocations: 17.08 kB / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001228/0.3969, allocations: 426.7 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3971, allocations: 39.97 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3971, allocations: 1.125 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.3972, allocations: 22.08 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3976, allocations: 29.47 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3981, allocations: 198.9 kB / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.3983, allocations: 0.7021 MB / 496.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.3984, allocations: 15.02 kB / 496.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3984, allocations: 22.17 kB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3984, allocations: 0 / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.005381/0.4038, allocations: 1.47 MB / 498.2 MB, free: 14.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)