Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009023/0.0009024, allocations: 99.94 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.0009537/0.0009538, 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.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.299/0.299, allocations: 40 MB / 310.4 MB, free: 9.82 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.000558/0.0005581, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.0019/0.1082, allocations: 1.374 MB / 438.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1093, allocations: 0.7305 MB / 438.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1094, allocations: 4 kB / 438.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1097, allocations: 31.78 kB / 438.9 MB, free: 452 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1099, allocations: 39.88 kB / 439 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1102, allocations: 71.84 kB / 439 MB, free: 340 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1103, allocations: 63.84 kB / 439.1 MB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.1104, allocations: 16.22 kB / 439.1 MB, free: 260 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.1105, allocations: 47.72 kB / 439.1 MB, free: 212 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.1106, allocations: 15.92 kB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1106, allocations: 7.938 kB / 439.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.1107, allocations: 27.92 kB / 439.2 MB, free: 160 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.1108, allocations: 15.97 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.1108, allocations: 37.64 kB / 439.3 MB, free: 100 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.111, allocations: 76.11 kB / 439.3 MB, free: 24 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.111, allocations: 4 kB / 439.3 MB, free: 20 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.111, allocations: 0 / 439.3 MB, free: 20 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.111, allocations: 0 / 439.3 MB, free: 20 kB / 366.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.0005079/0.1115, allocations: 398.9 kB / 439.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1116, allocations: 12.03 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.1116, allocations: 7.906 kB / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1119, allocations: 203.4 kB / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1119, allocations: 4 kB / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1119, allocations: 0 / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1121, allocations: 53.67 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1121, allocations: 0 / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1121, allocations: 0 / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1121, allocations: 11.95 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.1122, allocations: 19.97 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1126, allocations: 288.7 kB / 440.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1128, allocations: 54.69 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1128, allocations: 0 / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.113, allocations: 75.39 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.113, allocations: 0 / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.1136, allocations: 161.6 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1136, allocations: 55.34 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1138, allocations: 159 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1138, allocations: 29.7 kB / 440.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1139, allocations: 100.1 kB / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1139, allocations: 31.62 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.1139, allocations: 4 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.114, allocations: 318.8 kB / 441.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.1141, allocations: 15.98 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.1141, allocations: 37.7 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.1142, allocations: 24.19 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1142, allocations: 4 kB / 441.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001685/0.1144, allocations: 105.5 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1144, allocations: 7.953 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1144, allocations: 4 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1144, allocations: 4 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.1145, allocations: 15.98 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1145, allocations: 0 / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1146, allocations: 11.94 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1146, allocations: 4 kB / 441.5 MB, free: 13.62 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 9.814e-05/0.1147, allocations: 125.6 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1148, allocations: 15.89 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.1148, allocations: 16.67 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1148, allocations: 0 / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1148, allocations: 0 / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1148, allocations: 0 / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1153, allocations: 395.4 kB / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1153, allocations: 4.031 kB / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1153, allocations: 8 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1153, allocations: 0 / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1153, allocations: 7.984 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1153, allocations: 0 / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1153, allocations: 0 / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1156, allocations: 217.9 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1156, allocations: 92.92 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1157, allocations: 3.984 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.1157, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1158, allocations: 4 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1158, allocations: 11.98 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.1159, allocations: 124.5 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1159, allocations: 0 / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1162, allocations: 20 kB / 442.5 MB, free: 12.48 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.001011/0.1172, allocations: 468.9 kB / 443 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1174, allocations: 63.89 kB / 443.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1174, allocations: 4.062 kB / 443.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.1175, allocations: 27.92 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1177, allocations: 23.94 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.1181, allocations: 226 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1184, allocations: 0.7004 MB / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.1184, allocations: 21.17 kB / 444 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.1185, allocations: 15.44 kB / 444.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1185, allocations: 0 / 444.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Templates: time 0.004114/0.1226, allocations: 1.572 MB / 445.6 MB, free: 9.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: