Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0007923/0.0007923, allocations: 168.7 kB / 15.95 MB, free: 204 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.312/1.312, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2742/0.2742, allocations: 38.03 MB / 308.4 MB, free: 10.37 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.000565/0.0005652, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.107, allocations: 57.53 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001804/0.1089, allocations: 1.331 MB / 435.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1099, allocations: 0.7265 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.11, allocations: 4 kB / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1102, allocations: 59.8 kB / 436.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1104, allocations: 55.81 kB / 436.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1106, allocations: 63.89 kB / 436.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1107, allocations: 87.7 kB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1108, allocations: 11.92 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.1109, allocations: 43.77 kB / 436.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.111, allocations: 35.84 kB / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.111, allocations: 0 / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.1111, allocations: 35.91 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.1111, allocations: 19.92 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1112, allocations: 37.64 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1113, allocations: 72.12 kB / 436.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1113, allocations: 4 kB / 436.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1113, allocations: 0 / 436.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1113, allocations: 0 / 436.6 MB, free: 2.93 MB / 366.1 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.0004214/0.1117, allocations: 387 kB / 436.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1118, allocations: 8.031 kB / 436.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.1118, allocations: 11.86 kB / 436.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.112, allocations: 206.8 kB / 437.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.112, allocations: 0 / 437.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1121, allocations: 4 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1122, allocations: 61.59 kB / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1122, allocations: 0 / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1122, allocations: 0 / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1122, allocations: 0 / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.149e-05/0.1123, allocations: 19.94 kB / 437.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1125, allocations: 181.6 kB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1126, allocations: 50.62 kB / 437.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.1127, allocations: 24.78 kB / 437.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1127, allocations: 4 kB / 437.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.1128, allocations: 63.39 kB / 437.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1129, allocations: 0 / 437.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002389/0.1131, allocations: 93.58 kB / 437.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1131, allocations: 63.33 kB / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1133, allocations: 178.2 kB / 437.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1133, allocations: 33.7 kB / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.1134, allocations: 100.1 kB / 438 MB, free: 1.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1134, allocations: 7.812 kB / 438 MB, free: 1.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.1134, allocations: 8 kB / 438 MB, free: 1.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.1135, allocations: 318.8 kB / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.1136, allocations: 15.98 kB / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.1136, allocations: 29.72 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.1137, allocations: 19.98 kB / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1137, allocations: 0 / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.1138, allocations: 77.53 kB / 438.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1139, allocations: 4 kB / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1139, allocations: 4 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.1139, allocations: 0 / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1139, allocations: 11.98 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.114, allocations: 4.031 kB / 438.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.114, allocations: 11.89 kB / 438.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.114, allocations: 4 kB / 438.5 MB, free: 0.7383 MB / 366.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 (7): * Single equations (assignments): 7 * 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 8.358e-05/0.1141, allocations: 126.9 kB / 438.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1141, allocations: 7.906 kB / 438.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.1142, allocations: 12.25 kB / 438.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1142, allocations: 0 / 438.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1142, allocations: 3.938 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1142, allocations: 0 / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1143, allocations: 205.4 kB / 438.9 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1143, allocations: 0 / 438.9 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.1144, allocations: 4 kB / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1144, allocations: 0 / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1144, allocations: 0 / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1144, allocations: 4 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1144, allocations: 0 / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1146, allocations: 109 kB / 439 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.1146, allocations: 85.39 kB / 439.1 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1146, allocations: 11.98 kB / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.1147, allocations: 4 kB / 439.1 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1147, allocations: 4 kB / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1147, allocations: 0 / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1149, allocations: 144 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1149, allocations: 7.938 kB / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.1151, allocations: 16 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008485/0.1159, allocations: 417.5 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1161, allocations: 39.97 kB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1161, allocations: 0 / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.1161, allocations: 19.94 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1164, allocations: 28.17 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.1167, allocations: 209.2 kB / 439.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.117, allocations: 0.6965 MB / 440.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.117, allocations: 24.39 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.1171, allocations: 11.44 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1171, allocations: 4 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of Templates: time 0.003587/0.1207, allocations: 1.387 MB / 442.1 MB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: