Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008431/0.008431, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001532/0.001532, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3065/0.3065, allocations: 38 MB / 307.9 MB, free: 10 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.001421/0.001421, allocations: 72.47 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3474, allocations: 56.46 MB / 489.5 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003266/0.3508, allocations: 1.67 MB / 491.2 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3522, allocations: 0.8114 MB / 492 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.3523, allocations: 1.219 kB / 492 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.3527, allocations: 42.66 kB / 492 MB, free: 18.06 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.0002533/0.353, allocations: 46.33 kB / 492.1 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.3533, allocations: 92.33 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.3535, allocations: 90.61 kB / 492.3 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3536, allocations: 19.98 kB / 492.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3537, allocations: 46.31 kB / 492.3 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.3538, allocations: 25.06 kB / 492.4 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3538, allocations: 3.188 kB / 492.4 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.354, allocations: 43.53 kB / 492.4 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.354, allocations: 22.02 kB / 492.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.3541, allocations: 32.84 kB / 492.5 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3544, allocations: 114.9 kB / 492.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3544, allocations: 1.188 kB / 492.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3544, allocations: 0 / 492.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3544, allocations: 4 kB / 492.6 MB, free: 17.8 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.0006695/0.3551, allocations: 410.2 kB / 493 MB, free: 17.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3551, allocations: 12.83 kB / 493 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.3552, allocations: 10.06 kB / 493 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.3555, allocations: 206.1 kB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3556, allocations: 2.719 kB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3556, allocations: 10.22 kB / 493.2 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3558, allocations: 61.72 kB / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3558, allocations: 0.875 kB / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3558, allocations: 1.188 kB / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3558, allocations: 0 / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.3559, allocations: 18.73 kB / 493.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.3563, allocations: 290.1 kB / 493.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3565, allocations: 68.59 kB / 493.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.3565, allocations: 20.09 kB / 493.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3566, allocations: 2.078 kB / 493.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3567, allocations: 64.64 kB / 493.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3568, allocations: 1.125 kB / 493.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006217/0.3574, allocations: 167.5 kB / 493.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3574, allocations: 56.5 kB / 493.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.3577, allocations: 185.4 kB / 494.1 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3577, allocations: 27.05 kB / 494.1 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.3578, allocations: 103.2 kB / 494.2 MB, free: 16.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3578, allocations: 25.91 kB / 494.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3579, allocations: 27.28 kB / 494.3 MB, free: 16.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.358, allocations: 324.6 kB / 494.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.358, allocations: 22.2 kB / 494.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.3581, allocations: 42.73 kB / 494.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3583, allocations: 58.19 kB / 494.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3583, allocations: 1.094 kB / 494.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.3585, allocations: 101.8 kB / 494.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3585, allocations: 5.344 kB / 494.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3585, allocations: 0 / 494.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3586, allocations: 5.344 kB / 494.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3587, allocations: 19.78 kB / 494.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3587, allocations: 1.312 kB / 494.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.3588, allocations: 11.41 kB / 494.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3588, allocations: 6.562 kB / 494.9 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 0.0001022/0.3589, allocations: 128.2 kB / 495 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3589, allocations: 10.28 kB / 495 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.359, allocations: 13.75 kB / 495 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.359, allocations: 4.609 kB / 495 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.359, allocations: 5.062 kB / 495 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.359, allocations: 3.938 kB / 495 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.3595, allocations: 388.1 kB / 495.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3596, allocations: 0 / 495.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.3596, allocations: 8.531 kB / 495.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3596, allocations: 5.781 kB / 495.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3596, allocations: 7.188 kB / 495.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3597, allocations: 1.328 kB / 495.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3597, allocations: 4.031 kB / 495.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.36, allocations: 205.4 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.36, allocations: 84.58 kB / 495.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.36, allocations: 9.688 kB / 495.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.3601, allocations: 7.844 kB / 495.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.3602, allocations: 6.422 kB / 495.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3602, allocations: 6.562 kB / 495.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3604, allocations: 143.3 kB / 495.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3604, allocations: 1.312 kB / 495.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.3607, allocations: 25.62 kB / 495.9 MB, free: 14.91 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.001296/0.362, allocations: 469.6 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3623, allocations: 56.61 kB / 496.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3623, allocations: 0 / 496.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.3624, allocations: 32.42 kB / 496.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3629, allocations: 38.58 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.3635, allocations: 229.9 kB / 496.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3639, allocations: 0.7009 MB / 497.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.866e-05/0.364, allocations: 17.98 kB / 497.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.3641, allocations: 16.59 kB / 497.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3641, allocations: 0 / 497.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.006312/0.3704, allocations: 1.694 MB / 499.2 MB, free: 13.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)