Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007198/0.007198, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001443/0.001444, allocations: 190.4 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.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.31/0.31, allocations: 38 MB / 307.9 MB, free: 10.36 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.001522/0.001522, allocations: 71.91 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3437, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002753/0.3465, allocations: 1.665 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3477, allocations: 0.816 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.3477, allocations: 1.094 kB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.348, allocations: 43.55 kB / 492 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.0002307/0.3483, allocations: 46.88 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3485, allocations: 83.53 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3487, allocations: 91.92 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3488, allocations: 20.55 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.3489, allocations: 40.78 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.349, allocations: 33.47 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.349, allocations: 4.688 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3492, allocations: 42.09 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.3492, allocations: 22.91 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.3493, allocations: 28.45 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3495, allocations: 112.4 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3495, allocations: 3.938 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3495, allocations: 4 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3495, allocations: 0.75 kB / 492.6 MB, free: 17.95 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.0005131/0.3501, allocations: 413.5 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3501, allocations: 12.3 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3502, allocations: 10.31 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3504, allocations: 202.3 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3504, allocations: 5.906 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3504, allocations: 10.22 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3506, allocations: 59.23 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3506, allocations: 0 / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3506, allocations: 0.6562 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3506, allocations: 1.062 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.3507, allocations: 22.3 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.351, allocations: 290.3 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3512, allocations: 60.92 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3512, allocations: 20.05 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3513, allocations: 1.25 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.3514, allocations: 69.31 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3514, allocations: 0 / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.352, allocations: 172.4 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.352, allocations: 62.08 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3522, allocations: 180.5 kB / 494.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3522, allocations: 29.7 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.3523, allocations: 99.95 kB / 494.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3523, allocations: 25.69 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3524, allocations: 22.89 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.3525, allocations: 326.1 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.3525, allocations: 25.22 kB / 494.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.3526, allocations: 34.78 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3527, allocations: 62.45 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3527, allocations: 0 / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.3529, allocations: 97.77 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3529, allocations: 5.75 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3529, allocations: 13 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.353, allocations: 1.719 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.3531, allocations: 15.05 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3531, allocations: 0.5156 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3531, allocations: 15.94 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3532, allocations: 2.031 kB / 494.9 MB, free: 15.94 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.976e-05/0.3532, allocations: 121.5 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.3533, allocations: 14.05 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.3533, allocations: 15.23 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3533, allocations: 4.188 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3533, allocations: 1.219 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3533, allocations: 8.578 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.3537, allocations: 389.6 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3538, allocations: 1.062 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.3538, allocations: 12.98 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3538, allocations: 0.6562 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3538, allocations: 10.69 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3538, allocations: 5.156 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3538, allocations: 1.953 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.354, allocations: 195.6 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.3541, allocations: 89.11 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3541, allocations: 10.62 kB / 495.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3542, allocations: 3.375 kB / 495.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.3542, allocations: 9.234 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3542, allocations: 3.922 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3544, allocations: 147.3 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3544, allocations: 5.281 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3546, allocations: 21.23 kB / 495.9 MB, free: 15.05 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.001012/0.3557, allocations: 470.5 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.3559, allocations: 59.36 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3559, allocations: 0 / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.3559, allocations: 25.38 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3563, allocations: 42.02 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.3567, allocations: 239 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.3569, allocations: 0.7038 MB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.3569, allocations: 17.48 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.357, allocations: 16.69 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.357, allocations: 0 / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005147/0.3621, allocations: 1.699 MB / 499.2 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)