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/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.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/Complex 3.2.1+maint.om/package.mo): time 0.001435/0.001435, allocations: 169.9 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.273/1.273, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00164/0.00164, allocations: 115.4 kB / 223.2 MB, free: 4.043 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.1709/0.1709, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.236e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08437, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4313, allocations: 75.73 MB / 481.4 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4316, allocations: 69.98 kB / 481.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01013/0.4417, allocations: 3.919 MB / 485.4 MB, free: 18.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4418, allocations: 0 / 485.4 MB, free: 18.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4418, allocations: 3.625 kB / 485.4 MB, free: 18.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003413/0.4421, allocations: 411.1 kB / 485.8 MB, free: 17.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4422, allocations: 11.72 kB / 485.8 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.4422, allocations: 7.75 kB / 485.9 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4425, allocations: 194.8 kB / 486 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4425, allocations: 7.781 kB / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4425, allocations: 7.859 kB / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.4426, allocations: 43.09 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4426, allocations: 0 / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4427, allocations: 0 / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.4427, allocations: 0 / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.4427, allocations: 21.28 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.4431, allocations: 296.4 kB / 486.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4433, allocations: 45.05 kB / 486.5 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.4433, allocations: 14.45 kB / 486.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.4433, allocations: 0 / 486.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.4434, allocations: 60.92 kB / 486.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.4434, allocations: 0 / 486.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003345/0.4438, allocations: 111.8 kB / 486.6 MB, free: 17.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.4438, allocations: 55.28 kB / 486.7 MB, free: 16.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4439, allocations: 158.3 kB / 486.8 MB, free: 16.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.444, allocations: 29.58 kB / 486.9 MB, free: 16.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.444, allocations: 97.61 kB / 487 MB, free: 16.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.444, allocations: 17.48 kB / 487 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.444, allocations: 4 kB / 487 MB, free: 16.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.4441, allocations: 322.1 kB / 487.3 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.4441, allocations: 19.16 kB / 487.3 MB, free: 16.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.4442, allocations: 23 kB / 487.3 MB, free: 16.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.4442, allocations: 57.52 kB / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4442, allocations: 0 / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001405/0.4444, allocations: 129.8 kB / 487.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4444, allocations: 35.69 kB / 487.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4444, allocations: 4.062 kB / 487.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.4444, allocations: 0 / 487.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.4445, allocations: 15.72 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4445, allocations: 6.297 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.4445, allocations: 3.938 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4445, allocations: 7.281 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 3.915e-05/0.4446, allocations: 105.1 kB / 487.7 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.4446, allocations: 7.75 kB / 487.7 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.4448, allocations: 89 kB / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4448, allocations: 7.844 kB / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4448, allocations: 0 / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4448, allocations: 3.953 kB / 487.8 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.445, allocations: 360.1 kB / 488.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.445, allocations: 96 / 488.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.4451, allocations: 9.5 kB / 488.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4451, allocations: 3.844 kB / 488.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4451, allocations: 0 / 488.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4451, allocations: 3.953 kB / 488.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4451, allocations: 144 / 488.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.4452, allocations: 184.3 kB / 488.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.4453, allocations: 90.09 kB / 488.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4453, allocations: 0 / 488.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.4454, allocations: 3.906 kB / 488.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.4454, allocations: 6.062 kB / 488.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4454, allocations: 7.938 kB / 488.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.203e-05/0.4455, allocations: 133 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4455, allocations: 4 kB / 488.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.4458, allocations: 36.2 kB / 488.6 MB, free: 15.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 5 * 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.0007107/0.4465, allocations: 318.9 kB / 488.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.4467, allocations: 115.8 kB / 489.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4467, allocations: 0 / 489.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.4467, allocations: 25.16 kB / 489.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.4469, allocations: 14.89 kB / 489.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.4472, allocations: 133.3 kB / 489.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.4474, allocations: 0.7001 MB / 489.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.239e-05/0.4474, allocations: 9.516 kB / 489.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.4475, allocations: 16.69 kB / 490 MB, free: 14.43 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4475, allocations: 0 / 490 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Templates: time 0.003595/0.4511, allocations: 1.534 MB / 491.5 MB, free: 14.23 MB / 330.7 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)