Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00632/0.00632, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.001575/0.001575, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3719/0.3719, allocations: 37.99 MB / 307.9 MB, free: 10.2 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.001932/0.001932, allocations: 71.91 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4215, allocations: 56.46 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003056/0.4246, allocations: 1.673 MB / 491.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.426, allocations: 0.8091 MB / 492 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.4261, allocations: 0 / 492 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.4265, allocations: 46.42 kB / 492 MB, free: 18.11 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.0002545/0.4268, allocations: 57.41 kB / 492.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.4271, allocations: 88.16 kB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.4273, allocations: 94.33 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4274, allocations: 16.81 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.4275, allocations: 42.48 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.4276, allocations: 29.7 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.4277, allocations: 3.281 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.4278, allocations: 46.16 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.4279, allocations: 25.48 kB / 492.4 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.4279, allocations: 37.16 kB / 492.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.4282, allocations: 124.2 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4282, allocations: 4.562 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4282, allocations: 0 / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4282, allocations: 1.188 kB / 492.6 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.0005544/0.4288, allocations: 421.5 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4288, allocations: 12.89 kB / 493 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.4289, allocations: 14.5 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.4292, allocations: 212.6 kB / 493.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4292, allocations: 2.375 kB / 493.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.4292, allocations: 14.27 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.4294, allocations: 58.95 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4294, allocations: 0 / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4294, allocations: 5.188 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.4295, allocations: 1 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.4295, allocations: 17.25 kB / 493.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.43, allocations: 294.4 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.4301, allocations: 60.7 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.4302, allocations: 19.55 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4302, allocations: 2.344 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.4304, allocations: 68.19 kB / 493.8 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4304, allocations: 1.062 kB / 493.8 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005663/0.431, allocations: 177.4 kB / 493.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.431, allocations: 54.05 kB / 494 MB, free: 16.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4312, allocations: 219 kB / 494.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4313, allocations: 30.83 kB / 494.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.4313, allocations: 109.9 kB / 494.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.4313, allocations: 21.48 kB / 494.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.4314, allocations: 25.91 kB / 494.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.4314, allocations: 331.2 kB / 494.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.4315, allocations: 17.75 kB / 494.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.4316, allocations: 39.31 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.4317, allocations: 58.12 kB / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4317, allocations: 4 kB / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.4319, allocations: 110.1 kB / 494.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4319, allocations: 5.531 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4319, allocations: 0.9688 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4319, allocations: 2.141 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.432, allocations: 18.14 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.432, allocations: 5.938 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.4321, allocations: 5.984 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4321, allocations: 4.281 kB / 495 MB, free: 15.8 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.431e-05/0.4322, allocations: 137.7 kB / 495.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.4322, allocations: 13.34 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.4323, allocations: 17.12 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4323, allocations: 1.031 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4323, allocations: 1.062 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4323, allocations: 8.953 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.4327, allocations: 393.9 kB / 495.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4327, allocations: 4.031 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.4327, allocations: 8.734 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4327, allocations: 1.969 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4327, allocations: 5.938 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4328, allocations: 1.375 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4328, allocations: 1.641 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.433, allocations: 208.3 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.433, allocations: 89.06 kB / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.433, allocations: 11.05 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.4331, allocations: 3.75 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4332, allocations: 5.5 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.4332, allocations: 3.953 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.4333, allocations: 170.7 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4333, allocations: 0 / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4336, allocations: 26.75 kB / 496.1 MB, free: 14.89 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.001004/0.4346, allocations: 476.9 kB / 496.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4348, allocations: 60.08 kB / 496.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4348, allocations: 0 / 496.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.4349, allocations: 36.78 kB / 496.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.4353, allocations: 39.86 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.4358, allocations: 250.7 kB / 496.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.4359, allocations: 0.7103 MB / 497.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.436, allocations: 17.92 kB / 497.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.436, allocations: 16.25 kB / 497.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4361, allocations: 0 / 497.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.005297/0.4414, allocations: 1.732 MB / 499.4 MB, free: 13.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)