Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01009/0.01009, allocations: 105.9 kB / 15.74 MB, free: 5.996 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.001855/0.001855, allocations: 197 kB / 16.67 MB, free: 5.918 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.679/1.679, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3679/0.3679, allocations: 38 MB / 307.9 MB, free: 10.16 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.001736/0.001736, allocations: 76.44 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3416, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003635/0.3453, allocations: 1.625 MB / 491.1 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3472, allocations: 0.7972 MB / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3473, allocations: 0 / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.3478, allocations: 51.03 kB / 492 MB, free: 18.19 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.0003573/0.3482, allocations: 58.83 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3486, allocations: 77.7 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.3489, allocations: 92.02 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.349, allocations: 9.875 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3491, allocations: 37.25 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3492, allocations: 24.98 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.3493, allocations: 3.469 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3494, allocations: 38.03 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.763e-05/0.3495, allocations: 35 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.3496, allocations: 34.5 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.35, allocations: 116.5 kB / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.35, allocations: 0.6562 kB / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.35, allocations: 0 / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.35, allocations: 1.344 kB / 492.5 MB, free: 17.94 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006157/0.3506, allocations: 427 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3507, allocations: 12.88 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.3507, allocations: 15.53 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.3511, allocations: 225.6 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3512, allocations: 5.812 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3512, allocations: 6.141 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3514, allocations: 45.95 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3514, allocations: 0 / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3514, allocations: 5.344 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3514, allocations: 0.6562 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.3515, allocations: 14.62 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.3518, allocations: 202.6 kB / 493.4 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.352, allocations: 52.83 kB / 493.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.3521, allocations: 23.05 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3522, allocations: 1.125 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.3524, allocations: 73.27 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.3524, allocations: 0 / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004236/0.3528, allocations: 101.5 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3529, allocations: 53.02 kB / 493.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.3533, allocations: 257.9 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3533, allocations: 26.73 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.3534, allocations: 111.2 kB / 494.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.3534, allocations: 10.2 kB / 494.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.3535, allocations: 24.83 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.3536, allocations: 324.8 kB / 494.5 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.3537, allocations: 14 kB / 494.5 MB, free: 16.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.3538, allocations: 33.75 kB / 494.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3539, allocations: 43.08 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3539, allocations: 0 / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00022/0.3541, allocations: 93.92 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3542, allocations: 5.281 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3542, allocations: 3.938 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3542, allocations: 1.812 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3543, allocations: 10.92 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3544, allocations: 5.906 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.3544, allocations: 2.516 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3545, allocations: 2.031 kB / 494.7 MB, free: 16.03 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 (7): * Single equations (assignments): 7 * 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.0001195/0.3546, allocations: 141 kB / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.3546, allocations: 15.06 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.3547, allocations: 17.19 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3547, allocations: 1.469 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3547, allocations: 0 / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3547, allocations: 2.547 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3549, allocations: 203.6 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3549, allocations: 1.438 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.3549, allocations: 4.312 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3549, allocations: 4 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3549, allocations: 2.281 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3549, allocations: 4 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3549, allocations: 2.688 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3552, allocations: 116.2 kB / 495.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.3552, allocations: 93.75 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3552, allocations: 2.062 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.3553, allocations: 3.109 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3553, allocations: 3.391 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3553, allocations: 5.766 kB / 495.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3555, allocations: 194.8 kB / 495.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 1.156 kB / 495.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3557, allocations: 18.47 kB / 495.5 MB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009082/0.3566, allocations: 413.5 kB / 495.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.3568, allocations: 45.98 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3568, allocations: 0 / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.3569, allocations: 21.72 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3572, allocations: 46.22 kB / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.3578, allocations: 252.2 kB / 496.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.358, allocations: 0.7135 MB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.358, allocations: 10.5 kB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3581, allocations: 18.28 kB / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3581, allocations: 1.25 kB / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.004865/0.363, allocations: 1.524 MB / 498.5 MB, free: 13.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)