Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001034/0.001034, allocations: 169.7 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.228/1.228, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001551/0.001551, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2132/0.2132, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.11e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08124/0.08128, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.3944, allocations: 76.52 MB / 482.2 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.3947, allocations: 67.16 kB / 482.3 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008195/0.4029, allocations: 3.205 MB / 485.5 MB, free: 18.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4029, allocations: 0 / 485.5 MB, free: 18.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.4029, allocations: 0 / 485.5 MB, free: 18.13 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003895/0.4033, allocations: 461.2 kB / 485.9 MB, free: 17.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4034, allocations: 11.66 kB / 486 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.4034, allocations: 16.75 kB / 486 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.4037, allocations: 207.1 kB / 486.2 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4037, allocations: 3.812 kB / 486.2 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.4037, allocations: 7.812 kB / 486.2 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4038, allocations: 63.97 kB / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4039, allocations: 0 / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4039, allocations: 3.5 kB / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4039, allocations: 4 kB / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.404, allocations: 32.83 kB / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4044, allocations: 351.1 kB / 486.6 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4046, allocations: 71.91 kB / 486.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.4046, allocations: 25.53 kB / 486.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.4047, allocations: 3.938 kB / 486.7 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.4048, allocations: 70.06 kB / 486.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.4048, allocations: 0 / 486.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001773/0.405, allocations: 86.53 kB / 486.9 MB, free: 17.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.405, allocations: 65.08 kB / 487 MB, free: 16.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.4051, allocations: 143.8 kB / 487.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4051, allocations: 33.23 kB / 487.1 MB, free: 16.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.4052, allocations: 100.3 kB / 487.2 MB, free: 16.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.4052, allocations: 25.48 kB / 487.2 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.4052, allocations: 0 / 487.2 MB, free: 16.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.4052, allocations: 325.8 kB / 487.6 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.4053, allocations: 24.53 kB / 487.6 MB, free: 16.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.4054, allocations: 44.98 kB / 487.6 MB, free: 16.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/0.4054, allocations: 59.44 kB / 487.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4054, allocations: 0 / 487.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001618/0.4056, allocations: 149.6 kB / 487.8 MB, free: 16.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4056, allocations: 33.48 kB / 487.9 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4056, allocations: 0 / 487.9 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4057, allocations: 0 / 487.9 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.4057, allocations: 19.3 kB / 487.9 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4058, allocations: 8.094 kB / 487.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.4058, allocations: 25.17 kB / 487.9 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4058, allocations: 3.938 kB / 487.9 MB, free: 16.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.4059, allocations: 112.4 kB / 488 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.4059, allocations: 15.69 kB / 488 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.4061, allocations: 97.67 kB / 488.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4061, allocations: 0 / 488.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4061, allocations: 1.922 kB / 488.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4061, allocations: 7.875 kB / 488.2 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.4062, allocations: 203.1 kB / 488.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4062, allocations: 0 / 488.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.4063, allocations: 17.67 kB / 488.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4063, allocations: 0 / 488.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4063, allocations: 2.156 kB / 488.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4063, allocations: 3.875 kB / 488.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4063, allocations: 0 / 488.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.4065, allocations: 140.9 kB / 488.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.4066, allocations: 94.67 kB / 488.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4066, allocations: 7.375 kB / 488.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.4067, allocations: 6.125 kB / 488.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4067, allocations: 5.891 kB / 488.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.4067, allocations: 3.875 kB / 488.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.4068, allocations: 126.7 kB / 488.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4068, allocations: 3.938 kB / 488.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.407, allocations: 35.95 kB / 488.8 MB, free: 15.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006419/0.4077, allocations: 287.5 kB / 489.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.4078, allocations: 126.2 kB / 489.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4079, allocations: 0 / 489.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.4079, allocations: 22.91 kB / 489.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4081, allocations: 31.05 kB / 489.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.4085, allocations: 161 kB / 489.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4086, allocations: 0.7191 MB / 490.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.4087, allocations: 13.69 kB / 490.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.4087, allocations: 15 kB / 490.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4087, allocations: 0 / 490.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Templates: time 0.00351/0.4122, allocations: 1.598 MB / 491.8 MB, free: 14.37 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)