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.007886/0.007886, allocations: 99.8 kB / 15.73 MB, free: 6.5 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.00142/0.00142, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3474/0.3474, allocations: 38 MB / 307.9 MB, free: 10.17 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.001769/0.001769, allocations: 71.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.356, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00313/0.3592, allocations: 1.667 MB / 491.2 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.361, allocations: 0.8039 MB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3612, allocations: 3.938 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.3616, allocations: 38.41 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.0002562/0.3619, allocations: 52.55 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.3622, allocations: 80.78 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3624, allocations: 99.31 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3625, allocations: 15.92 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3626, allocations: 42.42 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.3627, allocations: 25.86 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3627, allocations: 7.422 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3628, allocations: 43.25 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.3629, allocations: 24.56 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.363, allocations: 29.12 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3632, allocations: 110.7 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3632, allocations: 0 / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3632, allocations: 4.844 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3632, allocations: 0 / 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.0005007/0.3637, allocations: 399.5 kB / 492.9 MB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3638, allocations: 18.64 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.3638, allocations: 8.469 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3641, allocations: 221.1 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3641, allocations: 1.781 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3642, allocations: 7.531 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3643, allocations: 57.58 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3644, allocations: 0 / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3644, allocations: 2.125 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3644, allocations: 1.188 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.3645, allocations: 16.64 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.3649, allocations: 286.1 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3651, allocations: 64.64 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.3652, allocations: 19.08 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3652, allocations: 1.312 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3654, allocations: 70.39 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3654, allocations: 0 / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006431/0.3661, allocations: 171 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3661, allocations: 62.14 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3663, allocations: 169.1 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3663, allocations: 27.56 kB / 494.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.3664, allocations: 106.7 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3664, allocations: 25.56 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3665, allocations: 21.77 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.3666, allocations: 326.5 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.3666, allocations: 26.16 kB / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.3667, allocations: 34.69 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3668, allocations: 53.69 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3669, allocations: 0 / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001976/0.3671, allocations: 106.3 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3671, allocations: 4.844 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3671, allocations: 1.406 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3671, allocations: 5 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3672, allocations: 19.41 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3673, allocations: 1.375 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.3673, allocations: 10.59 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3673, allocations: 10.75 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 8.928e-05/0.3674, allocations: 119.8 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.3675, allocations: 9.625 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.3675, allocations: 13.75 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3675, allocations: 5.094 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3675, allocations: 2 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3675, allocations: 3.938 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.368, allocations: 388.3 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.368, allocations: 1 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.3681, allocations: 9.797 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3681, allocations: 0 / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.3681, allocations: 11.73 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3681, allocations: 1.375 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3681, allocations: 4.031 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3684, allocations: 208.2 kB / 495.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.3684, allocations: 85.28 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3685, allocations: 6.859 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.3686, allocations: 11.28 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.3686, allocations: 9.031 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3686, allocations: 4.031 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3688, allocations: 133.6 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3688, allocations: 0 / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3691, allocations: 22.02 kB / 495.9 MB, free: 15.09 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.001248/0.3704, allocations: 472.2 kB / 496.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3706, allocations: 60.33 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3706, allocations: 4 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.3707, allocations: 29.3 kB / 496.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3711, allocations: 27.61 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3716, allocations: 210.8 kB / 496.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.3718, allocations: 0.6997 MB / 497.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.3718, allocations: 13.28 kB / 497.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3719, allocations: 14.98 kB / 497.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3719, allocations: 1.469 kB / 497.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Templates: time 0.0061/0.378, allocations: 1.704 MB / 499.1 MB, free: 13.62 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)