Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009561/0.000956, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.565/1.565, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001609/0.001609, allocations: 111.4 kB / 218 MB, free: 8.336 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.1905/0.1905, allocations: 37.99 MB / 295.1 MB, free: 9.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.302e-05, allocations: 5.625 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5043, allocations: 75.32 MB / 474.1 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5046, allocations: 71.05 kB / 474.1 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01212/0.5167, allocations: 4.339 MB / 478.5 MB, free: 17.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5168, allocations: 0 / 478.5 MB, free: 17.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5168, allocations: 13.31 kB / 478.5 MB, free: 17.47 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.0003795/0.5172, allocations: 396.2 kB / 478.9 MB, free: 17.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5172, allocations: 12.25 kB / 478.9 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.5173, allocations: 11.2 kB / 478.9 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.5175, allocations: 191.1 kB / 479.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5175, allocations: 3.938 kB / 479.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.5175, allocations: 3.125 kB / 479.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.418e-05/0.5176, allocations: 17.64 kB / 479.1 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.5177, allocations: 62.27 kB / 479.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5177, allocations: 0 / 479.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5178, allocations: 1.156 kB / 479.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5178, allocations: 0 / 479.2 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.5181, allocations: 253.9 kB / 479.4 MB, free: 16.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.5183, allocations: 50.69 kB / 479.5 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.5183, allocations: 11.62 kB / 479.5 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.5183, allocations: 1.156 kB / 479.5 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.5185, allocations: 57.81 kB / 479.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5185, allocations: 0 / 479.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004174/0.5189, allocations: 99.27 kB / 479.6 MB, free: 16.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.5189, allocations: 80.44 kB / 479.7 MB, free: 16.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.5191, allocations: 135.2 kB / 479.8 MB, free: 16.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5191, allocations: 26.98 kB / 479.9 MB, free: 16.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.5192, allocations: 89.77 kB / 480 MB, free: 16.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.5192, allocations: 20.38 kB / 480 MB, free: 16.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.5192, allocations: 0 / 480 MB, free: 16.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.5193, allocations: 322.7 kB / 480.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.5193, allocations: 17.03 kB / 480.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.5194, allocations: 31.48 kB / 480.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.5194, allocations: 25.08 kB / 480.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5194, allocations: 0 / 480.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001445/0.5196, allocations: 92.08 kB / 480.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.5196, allocations: 32.27 kB / 480.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5196, allocations: 4.062 kB / 480.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5196, allocations: 1.781 kB / 480.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.5197, allocations: 10.11 kB / 480.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5197, allocations: 3.984 kB / 480.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.5197, allocations: 3.531 kB / 480.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5198, allocations: 2 kB / 480.5 MB, free: 15.7 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 6.153e-05/0.5198, allocations: 116.4 kB / 480.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.5199, allocations: 7.828 kB / 480.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.52, allocations: 83.25 kB / 480.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5201, allocations: 5.75 kB / 480.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5201, allocations: 0 / 480.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5201, allocations: 0 / 480.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.5203, allocations: 323.8 kB / 481 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5203, allocations: 6.203 kB / 481 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.5204, allocations: 10.84 kB / 481 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5204, allocations: 0 / 481 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5204, allocations: 1.344 kB / 481 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5204, allocations: 1.828 kB / 481.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5204, allocations: 0.8125 kB / 481.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.5206, allocations: 174.3 kB / 481.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.5206, allocations: 79.27 kB / 481.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.5206, allocations: 5.062 kB / 481.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.5207, allocations: 4.016 kB / 481.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.5207, allocations: 4.781 kB / 481.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5208, allocations: 3.562 kB / 481.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.5208, allocations: 103.2 kB / 481.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5208, allocations: 3.938 kB / 481.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.5211, allocations: 47.64 kB / 481.5 MB, free: 14.94 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.0007785/0.5219, allocations: 361 kB / 481.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.5221, allocations: 104 kB / 481.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5221, allocations: 3.938 kB / 481.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.5222, allocations: 22.08 kB / 481.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5224, allocations: 17.48 kB / 482 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.5226, allocations: 103.9 kB / 482.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.5232, allocations: 0.6911 MB / 482.8 MB, free: 29.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.5233, allocations: 14.14 kB / 482.8 MB, free: 29.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.5233, allocations: 16.75 kB / 482.8 MB, free: 29.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5233, allocations: 0 / 482.8 MB, free: 29.83 MB / 346.7 MB Notification: Performance of Templates: time 0.004342/0.5277, allocations: 1.708 MB / 484.5 MB, free: 29.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)