Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001058/0.001058, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2896/0.2896, allocations: 39.99 MB / 310.4 MB, free: 10.02 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.2. 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.0005145/0.0005146, allocations: 12 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09257, allocations: 57.96 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002021/0.09465, allocations: 1.382 MB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.09581, allocations: 0.7344 MB / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.0959, allocations: 0 / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.09613, allocations: 35.83 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.09632, allocations: 51.88 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.09658, allocations: 79.77 kB / 439 MB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.09673, allocations: 59.86 kB / 439.1 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.149e-05/0.09681, allocations: 16.2 kB / 439.1 MB, free: 200 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.0969, allocations: 35.86 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.09698, allocations: 31.84 kB / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.097, allocations: 4 kB / 439.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.09708, allocations: 31.92 kB / 439.2 MB, free: 96 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.09713, allocations: 31.89 kB / 439.3 MB, free: 64 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.09718, allocations: 45.58 kB / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.09734, allocations: 96.09 kB / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.09735, allocations: 0 / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09736, allocations: 0 / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.09737, allocations: 0 / 439.4 MB, free: 15.92 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.0005253/0.0979, allocations: 430.6 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.09794, allocations: 8.031 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.09799, allocations: 19.81 kB / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.09824, allocations: 219.6 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.09826, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.09829, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.09844, allocations: 61.61 kB / 440.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.09846, allocations: 4 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.09848, allocations: 0 / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.09849, allocations: 3.953 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.893e-05/0.09856, allocations: 19.98 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.09891, allocations: 300.9 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.09906, allocations: 62.61 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.09909, allocations: 0 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.09926, allocations: 71.47 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.09927, allocations: 4 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004769/0.09975, allocations: 177 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.0998, allocations: 55.41 kB / 440.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1, allocations: 264.8 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1001, allocations: 29.7 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1001, allocations: 112.1 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1002, allocations: 27.64 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1002, allocations: 4 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1003, allocations: 330.8 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.1003, allocations: 19.98 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.1004, allocations: 41.64 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/0.1005, allocations: 20 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1005, allocations: 0 / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001749/0.1007, allocations: 105.5 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1007, allocations: 15.58 kB / 441.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1007, allocations: 3.984 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1007, allocations: 0 / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.1008, allocations: 27.88 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1008, allocations: 0 / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1009, allocations: 3.984 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1009, allocations: 4 kB / 441.8 MB, free: 13.3 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.101, allocations: 133.8 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.101, allocations: 15.81 kB / 441.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.1011, allocations: 25.36 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1011, allocations: 4.172 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1011, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1011, allocations: 7.938 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1015, allocations: 403.3 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1015, allocations: 3.984 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.1016, allocations: 8.375 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1016, allocations: 0 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1016, allocations: 7.969 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1016, allocations: 8 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1016, allocations: 0 / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.1019, allocations: 213.9 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1019, allocations: 96.91 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.102, allocations: 4 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.102, allocations: 4 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1021, allocations: 7.984 kB / 442.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1021, allocations: 8 kB / 442.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1023, allocations: 208.5 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1023, allocations: 0 / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1025, allocations: 24 kB / 442.9 MB, free: 12.03 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 (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.0009689/0.1035, allocations: 467.1 kB / 443.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1037, allocations: 55.97 kB / 443.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1037, allocations: 0 / 443.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.1038, allocations: 31.92 kB / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.104, allocations: 32.06 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.1045, allocations: 311.1 kB / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1048, allocations: 0.7277 MB / 444.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.1049, allocations: 12.88 kB / 444.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1049, allocations: 15.44 kB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1049, allocations: 4 kB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Templates: time 0.003888/0.1088, allocations: 1.611 MB / 446.2 MB, free: 8.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: