Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007096/0.007096, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001372/0.001372, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.3385/0.3385, allocations: 38 MB / 307.9 MB, free: 10.06 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.001676/0.001676, allocations: 79.89 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3505, allocations: 56.46 MB / 489.5 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003005/0.3535, allocations: 1.669 MB / 491.2 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3549, allocations: 0.8116 MB / 492 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.355, allocations: 1.406 kB / 492 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.3554, allocations: 37.88 kB / 492 MB, free: 18.08 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.000233/0.3556, allocations: 48.83 kB / 492.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3559, allocations: 84.53 kB / 492.2 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3561, allocations: 94.59 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3562, allocations: 16.58 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3564, allocations: 46.12 kB / 492.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3565, allocations: 33.33 kB / 492.3 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3565, allocations: 4.469 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3566, allocations: 38.72 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.3567, allocations: 24.62 kB / 492.4 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.3568, allocations: 29.42 kB / 492.4 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.357, allocations: 109.6 kB / 492.5 MB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.357, allocations: 4 kB / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3571, allocations: 0 / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3571, allocations: 1.219 kB / 492.6 MB, free: 17.82 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.0006215/0.3577, allocations: 407.4 kB / 493 MB, free: 17.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3578, allocations: 13.48 kB / 493 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.3578, allocations: 17.47 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3581, allocations: 209.8 kB / 493.2 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3582, allocations: 2.469 kB / 493.2 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.3582, allocations: 10.36 kB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3584, allocations: 57.75 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3584, allocations: 0 / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3584, allocations: 1.953 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3584, allocations: 1.188 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.3585, allocations: 25.73 kB / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3589, allocations: 281.5 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3591, allocations: 59.52 kB / 493.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.3592, allocations: 19.88 kB / 493.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3592, allocations: 1.75 kB / 493.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.3594, allocations: 69.64 kB / 493.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3594, allocations: 0 / 493.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000643/0.36, allocations: 180.6 kB / 493.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3601, allocations: 53.31 kB / 493.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3603, allocations: 168.3 kB / 494.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3603, allocations: 26.95 kB / 494.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3604, allocations: 101 kB / 494.2 MB, free: 16.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3604, allocations: 26 kB / 494.2 MB, free: 16.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3604, allocations: 21.34 kB / 494.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.3605, allocations: 324.4 kB / 494.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.3606, allocations: 25.75 kB / 494.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.3607, allocations: 39.94 kB / 494.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3608, allocations: 62.41 kB / 494.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3608, allocations: 0 / 494.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001934/0.361, allocations: 106.4 kB / 494.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.361, allocations: 5.688 kB / 494.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.361, allocations: 4.031 kB / 494.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3611, allocations: 1.094 kB / 494.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3612, allocations: 14.05 kB / 494.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3612, allocations: 5.031 kB / 494.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.3612, allocations: 11.44 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3613, allocations: 3.078 kB / 494.9 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 9.837e-05/0.3614, allocations: 123.8 kB / 495 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3614, allocations: 9.031 kB / 495 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.3615, allocations: 18.17 kB / 495 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3615, allocations: 5.031 kB / 495 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3615, allocations: 1.156 kB / 495 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3615, allocations: 4.828 kB / 495 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.362, allocations: 388.3 kB / 495.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.362, allocations: 0 / 495.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.3621, allocations: 12.86 kB / 495.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3621, allocations: 1.719 kB / 495.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3621, allocations: 6.531 kB / 495.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3621, allocations: 5.375 kB / 495.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3621, allocations: 0.6094 kB / 495.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3624, allocations: 204.8 kB / 495.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3624, allocations: 85.44 kB / 495.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3625, allocations: 6.344 kB / 495.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.3626, allocations: 5.969 kB / 495.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.3626, allocations: 9.781 kB / 495.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3627, allocations: 3.766 kB / 495.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3628, allocations: 137.4 kB / 495.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3628, allocations: 0 / 495.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.3631, allocations: 26.47 kB / 495.9 MB, free: 14.94 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.001221/0.3643, allocations: 474.5 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3646, allocations: 59.17 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3646, allocations: 0 / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.3646, allocations: 25.05 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.365, allocations: 27.05 kB / 496.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3656, allocations: 218.9 kB / 496.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3659, allocations: 0.6995 MB / 497.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.77e-05/0.366, allocations: 16.69 kB / 497.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.366, allocations: 16.66 kB / 497.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.366, allocations: 4 kB / 497.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.006048/0.3721, allocations: 1.719 MB / 499.1 MB, free: 13.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)