Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005678/0.005678, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001461/0.001461, allocations: 197.1 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.676/1.676, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3997/0.3997, allocations: 37.99 MB / 307.9 MB, free: 10.1 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.001476/0.001477, allocations: 67.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3663, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003575/0.3699, allocations: 1.67 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3714, allocations: 0.8003 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3715, allocations: 1 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.3721, allocations: 90.69 kB / 492.1 MB, free: 18.2 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.0003659/0.3724, allocations: 72.47 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.3729, allocations: 84.88 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3732, allocations: 106.7 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3733, allocations: 15.7 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.3735, allocations: 51.44 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.3737, allocations: 59.08 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3737, allocations: 2.75 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.3739, allocations: 42.55 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.374, allocations: 29.14 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.3741, allocations: 37.03 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.3745, allocations: 118.8 kB / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3745, allocations: 0 / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3745, allocations: 3.938 kB / 492.7 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3746, allocations: 1.125 kB / 492.7 MB, free: 17.92 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.0008401/0.3754, allocations: 420.1 kB / 493.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/0.3755, allocations: 13.58 kB / 493.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.3756, allocations: 9.375 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.376, allocations: 216.3 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.376, allocations: 1.406 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.376, allocations: 11.42 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3762, allocations: 53.72 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3763, allocations: 0 / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3763, allocations: 1.984 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3763, allocations: 1.281 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.3764, allocations: 25.09 kB / 493.4 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3769, allocations: 285 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3772, allocations: 60.03 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.3772, allocations: 20.5 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.3773, allocations: 6.094 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.3775, allocations: 65.14 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.3775, allocations: 0 / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006764/0.3782, allocations: 177.8 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3782, allocations: 53.41 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.3785, allocations: 222.2 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3785, allocations: 27.14 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.3786, allocations: 107.8 kB / 494.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3786, allocations: 22.41 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3787, allocations: 21.78 kB / 494.5 MB, free: 16.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.3788, allocations: 331.5 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.3788, allocations: 20.88 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.3789, allocations: 36.25 kB / 494.8 MB, free: 16.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3791, allocations: 70.23 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3791, allocations: 0 / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.3793, allocations: 97.11 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3793, allocations: 6.359 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3793, allocations: 0 / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3793, allocations: 1.219 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.3794, allocations: 19.12 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3795, allocations: 1.438 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.3795, allocations: 11.33 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3795, allocations: 3.594 kB / 495.1 MB, free: 15.9 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.99e-05/0.3796, allocations: 131.1 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3797, allocations: 23.2 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3797, allocations: 15.84 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3797, allocations: 1.5 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3798, allocations: 0 / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3798, allocations: 6.578 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.3802, allocations: 399.8 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3802, allocations: 0 / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.3803, allocations: 8.984 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.3803, allocations: 1.312 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3803, allocations: 7.219 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3803, allocations: 4.594 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3803, allocations: 1.25 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.3806, allocations: 208.4 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3807, allocations: 86.11 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3807, allocations: 9.281 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.3808, allocations: 7.234 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.3808, allocations: 6.188 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3809, allocations: 3.406 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.381, allocations: 156.2 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.381, allocations: 1.219 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.3814, allocations: 29.75 kB / 496.1 MB, free: 14.99 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.001129/0.3825, allocations: 461.3 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3827, allocations: 64.91 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3827, allocations: 0 / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.3828, allocations: 35.86 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3832, allocations: 39.08 kB / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.3838, allocations: 238.7 kB / 497 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.384, allocations: 0.7127 MB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.3841, allocations: 21.69 kB / 497.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.3841, allocations: 16.33 kB / 497.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3841, allocations: 0 / 497.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of Templates: time 0.005679/0.3898, allocations: 1.708 MB / 499.4 MB, free: 13.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)