Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008219/0.008225, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001193/0.001193, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.855/1.855, 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.3848/0.3848, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001532/0.001532, allocations: 75.89 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3552, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003042/0.3583, allocations: 1.667 MB / 491.2 MB, free: 18.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3596, allocations: 0.8121 MB / 492 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.3597, allocations: 0 / 492 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.3601, allocations: 38.89 kB / 492 MB, free: 18.29 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.000226/0.3603, allocations: 52.72 kB / 492.1 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3606, allocations: 80.75 kB / 492.2 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3608, allocations: 99.3 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3609, allocations: 15.78 kB / 492.3 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.361, allocations: 40.03 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.3611, allocations: 30.86 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3611, allocations: 3.75 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.3612, allocations: 42.75 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.3612, allocations: 16.8 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3613, allocations: 33.2 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3615, allocations: 114.5 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3615, allocations: 1.312 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3615, allocations: 4 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3615, allocations: 0 / 492.6 MB, free: 18.04 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.0005059/0.362, allocations: 399.7 kB / 492.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3621, allocations: 16.8 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3621, allocations: 9.125 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3624, allocations: 218.2 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3624, allocations: 1.5 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3624, allocations: 7.016 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3626, allocations: 58.02 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3626, allocations: 9.219 kB / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3626, allocations: 0 / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3626, allocations: 1.562 kB / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.3627, allocations: 18.69 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.363, allocations: 280.7 kB / 493.6 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3632, allocations: 67.55 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.3633, allocations: 20.39 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3633, allocations: 1.094 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.3635, allocations: 65.92 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.3635, allocations: 0 / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005371/0.364, allocations: 177.1 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.3641, allocations: 56.25 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3642, allocations: 169.3 kB / 494.1 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.3642, allocations: 30.77 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.3643, allocations: 99.19 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3643, allocations: 26.27 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.3644, allocations: 22.52 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.3644, allocations: 324.5 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.3645, allocations: 25.97 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.3645, allocations: 39.16 kB / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.3647, allocations: 53.53 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3647, allocations: 1.281 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.3649, allocations: 108.7 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3649, allocations: 5.625 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3649, allocations: 0 / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3649, allocations: 5.859 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.365, allocations: 15.45 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3651, allocations: 1.188 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.3651, allocations: 10.61 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3651, allocations: 7.812 kB / 494.9 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 (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 7.988e-05/0.3652, allocations: 119.5 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3652, allocations: 13.72 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.3653, allocations: 13.53 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3653, allocations: 5.219 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3653, allocations: 0.7031 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3653, allocations: 5.562 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3657, allocations: 392.3 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3657, allocations: 0 / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.3658, allocations: 13.23 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3658, allocations: 1.062 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3658, allocations: 6.844 kB / 495.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3658, allocations: 1.625 kB / 495.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3658, allocations: 9.375 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.366, allocations: 204.2 kB / 495.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.3661, allocations: 84.33 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3661, allocations: 5.984 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.3662, allocations: 7.875 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3662, allocations: 13.62 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3662, allocations: 2.891 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3663, allocations: 129.8 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3664, allocations: 0 / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3666, allocations: 25.69 kB / 495.9 MB, free: 15.15 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.001065/0.3677, allocations: 468.4 kB / 496.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3679, allocations: 55.61 kB / 496.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3679, allocations: 1.094 kB / 496.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.368, allocations: 28.42 kB / 496.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3684, allocations: 31.47 kB / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.3689, allocations: 215.5 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3691, allocations: 0.6976 MB / 497.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.002e-05/0.3691, allocations: 17.83 kB / 497.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.3692, allocations: 20.45 kB / 497.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3692, allocations: 0 / 497.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Templates: time 0.005404/0.3746, allocations: 1.724 MB / 499.1 MB, free: 13.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)