Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01105/0.01105, allocations: 100.1 kB / 15.73 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.001675/0.001676, allocations: 199.2 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3608/0.3608, allocations: 38 MB / 307.9 MB, free: 9.984 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.002715/0.002715, allocations: 75.89 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3394, allocations: 56.45 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002899/0.3424, allocations: 1.668 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3437, allocations: 0.8112 MB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.3438, allocations: 1.094 kB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.3441, allocations: 46.44 kB / 492 MB, free: 18.23 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.000242/0.3444, allocations: 46.94 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.3447, allocations: 92.12 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3449, allocations: 91.22 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.345, allocations: 15.78 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3451, allocations: 45.48 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.3452, allocations: 26.3 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3452, allocations: 7.438 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3454, allocations: 46.11 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.3454, allocations: 17.67 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.3455, allocations: 30.09 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.3458, allocations: 118.9 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3458, allocations: 5.297 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3458, allocations: 0 / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3458, allocations: 0 / 492.6 MB, free: 17.97 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.0006616/0.3465, allocations: 409.7 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3466, allocations: 16.92 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.3466, allocations: 9.5 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.347, allocations: 207 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.347, allocations: 1.5 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.347, allocations: 10.5 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3472, allocations: 59.39 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3473, allocations: 0 / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3473, allocations: 1.156 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3473, allocations: 0 / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.3474, allocations: 22.03 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.3479, allocations: 286.6 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3481, allocations: 64.39 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.3482, allocations: 19.48 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3483, allocations: 1.891 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.3485, allocations: 70.47 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.717e-06/0.3485, allocations: 0 / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000786/0.3493, allocations: 171.4 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3493, allocations: 53.22 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.3496, allocations: 184.9 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3496, allocations: 32.02 kB / 494.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.3497, allocations: 102.8 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.3498, allocations: 29.2 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3498, allocations: 22.39 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.35, allocations: 326.3 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.3501, allocations: 21.17 kB / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.3501, allocations: 40.36 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.3503, allocations: 60.94 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3503, allocations: 0 / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.3505, allocations: 97.83 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3505, allocations: 5.281 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3505, allocations: 1.125 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3506, allocations: 1.406 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3507, allocations: 16.16 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3507, allocations: 1.25 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.3507, allocations: 13.58 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3508, allocations: 12.17 kB / 494.9 MB, free: 15.97 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.0001017/0.3509, allocations: 125.3 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.3509, allocations: 8.344 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.351, allocations: 14.78 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.351, allocations: 1.969 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.351, allocations: 4.984 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.351, allocations: 4.453 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.3515, allocations: 397.7 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3515, allocations: 1.312 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.3515, allocations: 7.688 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3515, allocations: 2.531 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3516, allocations: 6.5 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3516, allocations: 0.7031 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3516, allocations: 5.062 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3518, allocations: 209.2 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.3518, allocations: 84.61 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3519, allocations: 14.42 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.3519, allocations: 2.875 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.352, allocations: 5.359 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.352, allocations: 4.25 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3521, allocations: 143.4 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3522, allocations: 0 / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.3525, allocations: 26.81 kB / 495.9 MB, free: 15.08 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.001052/0.3535, allocations: 464.9 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.3538, allocations: 60.16 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3538, allocations: 8 kB / 496.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.3539, allocations: 28.22 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3543, allocations: 38.92 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3548, allocations: 221.9 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3551, allocations: 0.7095 MB / 497.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.3552, allocations: 16.69 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.3552, allocations: 16.66 kB / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3552, allocations: 0 / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005682/0.3609, allocations: 1.694 MB / 499.2 MB, free: 13.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)