Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008791/0.008791, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.002268/0.002268, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3563/0.3563, allocations: 37.99 MB / 307.9 MB, free: 9.969 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.001564/0.001564, allocations: 67.91 kB / 433 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.422, allocations: 56.46 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003303/0.4254, allocations: 1.666 MB / 491.2 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.4268, allocations: 0.8178 MB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.4269, allocations: 0 / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.4273, allocations: 51.05 kB / 492 MB, free: 18.27 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.0003008/0.4276, allocations: 67.12 kB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.4279, allocations: 83.77 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.4282, allocations: 99.55 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.4283, allocations: 12.66 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4284, allocations: 41.53 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4286, allocations: 30.47 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.4286, allocations: 7.375 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4287, allocations: 45.7 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.4288, allocations: 25.25 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.4289, allocations: 45.81 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.4292, allocations: 129.4 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4292, allocations: 4 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4292, allocations: 0 / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4292, allocations: 1.219 kB / 492.6 MB, free: 17.98 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.0007178/0.4299, allocations: 434.2 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.43, allocations: 17.14 kB / 493.1 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.4301, allocations: 16.36 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.4305, allocations: 224.9 kB / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4305, allocations: 6 kB / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.4305, allocations: 6.844 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4307, allocations: 53.88 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4307, allocations: 1.344 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4307, allocations: 4.594 kB / 493.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4307, allocations: 1.062 kB / 493.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.4308, allocations: 26.16 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.4313, allocations: 296.4 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.4315, allocations: 52.42 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.4316, allocations: 20.56 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.4317, allocations: 5.125 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.4319, allocations: 69.91 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4319, allocations: 0 / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008441/0.4328, allocations: 179 kB / 494 MB, free: 16.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.4328, allocations: 57.25 kB / 494.1 MB, free: 16.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.4333, allocations: 259.2 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4333, allocations: 25.7 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4334, allocations: 123.7 kB / 494.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.4335, allocations: 22.56 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.4335, allocations: 25.64 kB / 494.5 MB, free: 16.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4336, allocations: 328 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.4337, allocations: 22.48 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.4338, allocations: 34.81 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.434, allocations: 65.11 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.434, allocations: 1.969 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002498/0.4343, allocations: 97.27 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.4343, allocations: 10.11 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4343, allocations: 1.531 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.4343, allocations: 0 / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4345, allocations: 19.86 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4345, allocations: 1.812 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.4345, allocations: 10.92 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4346, allocations: 10.12 kB / 495.1 MB, free: 15.89 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.0001116/0.4347, allocations: 133.6 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.4347, allocations: 16.17 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.4348, allocations: 17.78 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4348, allocations: 1.125 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4348, allocations: 1 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4348, allocations: 4.641 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.4353, allocations: 406.3 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4353, allocations: 1.094 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.4354, allocations: 8.703 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4354, allocations: 5 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4354, allocations: 5.797 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4354, allocations: 1.688 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4354, allocations: 5.094 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4357, allocations: 205.8 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.4357, allocations: 89.7 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.4358, allocations: 5.797 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.4358, allocations: 4.234 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.4359, allocations: 9.641 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.4359, allocations: 4.484 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.4362, allocations: 191.1 kB / 496.2 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4362, allocations: 0 / 496.2 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000314/0.4365, allocations: 22.52 kB / 496.2 MB, free: 15 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.001285/0.4378, allocations: 487.4 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.4381, allocations: 57.28 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4381, allocations: 4.062 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.4382, allocations: 32.56 kB / 496.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.4386, allocations: 39.41 kB / 496.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.4392, allocations: 275.5 kB / 497.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.4395, allocations: 0.7204 MB / 497.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.367e-05/0.4396, allocations: 16.52 kB / 497.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.4396, allocations: 16.27 kB / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4396, allocations: 5.031 kB / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.007094/0.4467, allocations: 1.727 MB / 499.6 MB, free: 13.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)