Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007958, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008246/0.0008247, allocations: 172.7 kB / 15.95 MB, free: 208 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.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.2897/0.2897, allocations: 38.04 MB / 308.4 MB, free: 10.44 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.0005504/0.0005507, allocations: 23.98 kB / 376.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 57.52 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001956/0.1027, allocations: 1.378 MB / 435.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1037, allocations: 0.7382 MB / 436.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.1038, allocations: 0 / 436.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.1041, allocations: 55.8 kB / 436.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1042, allocations: 47.81 kB / 436.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1044, allocations: 79.84 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1046, allocations: 79.77 kB / 436.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.1047, allocations: 12.2 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.1047, allocations: 39.8 kB / 436.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.1048, allocations: 35.83 kB / 436.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1048, allocations: 4 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.508e-05/0.1049, allocations: 31.94 kB / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.105, allocations: 31.91 kB / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.105, allocations: 45.58 kB / 436.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1052, allocations: 96.08 kB / 436.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1052, allocations: 0 / 436.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1052, allocations: 0 / 436.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1052, allocations: 0 / 436.6 MB, free: 2.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004623/0.1057, allocations: 422.7 kB / 437 MB, free: 2.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.1057, allocations: 8.031 kB / 437.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1057, allocations: 11.86 kB / 437.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.106, allocations: 222.7 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.106, allocations: 0 / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.106, allocations: 4 kB / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1061, allocations: 53.67 kB / 437.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1061, allocations: 3.938 kB / 437.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1062, allocations: 0 / 437.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1062, allocations: 0 / 437.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.1062, allocations: 23.94 kB / 437.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.1066, allocations: 300.9 kB / 437.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1067, allocations: 54.69 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.1068, allocations: 20.84 kB / 437.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1068, allocations: 4 kB / 437.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.1069, allocations: 67.39 kB / 437.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.1069, allocations: 0 / 437.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00045/0.1074, allocations: 192.9 kB / 438 MB, free: 1.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1074, allocations: 55.41 kB / 438 MB, free: 1.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.1077, allocations: 262.5 kB / 438.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1077, allocations: 29.7 kB / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.1077, allocations: 112.1 kB / 438.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1078, allocations: 27.64 kB / 438.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.1078, allocations: 0 / 438.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1079, allocations: 330.8 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.108, allocations: 19.98 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.108, allocations: 33.7 kB / 438.8 MB, free: 408 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.1081, allocations: 24 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1081, allocations: 0 / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.1082, allocations: 101.4 kB / 439 MB, free: 276 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1083, allocations: 15.97 kB / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1083, allocations: 0 / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1083, allocations: 3.984 kB / 439 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.1084, allocations: 16 kB / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1084, allocations: 0 / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.1084, allocations: 11.98 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1085, allocations: 192 / 439 MB, free: 228 kB / 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 (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.671e-05/0.1086, allocations: 138.8 kB / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.1086, allocations: 19.75 kB / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.1086, allocations: 25.36 kB / 439.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1086, allocations: 0 / 439.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1086, allocations: 0 / 439.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1086, allocations: 3.984 kB / 439.2 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.109, allocations: 403.3 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1091, allocations: 3.953 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1091, allocations: 11.98 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1091, allocations: 4.031 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1091, allocations: 4 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1091, allocations: 384 / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1091, allocations: 0 / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1093, allocations: 212.1 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1094, allocations: 96.86 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1094, allocations: 4 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1095, allocations: 12 kB / 439.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1095, allocations: 7.984 kB / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1096, allocations: 0 / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1097, allocations: 204 kB / 440.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1097, allocations: 0 / 440.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.11, allocations: 23.98 kB / 440.2 MB, free: 14.97 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.0008947/0.1109, allocations: 464.7 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.111, allocations: 55.92 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1111, allocations: 0 / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/0.1111, allocations: 27.98 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1114, allocations: 39.97 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1119, allocations: 295 kB / 441 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1122, allocations: 0.716 MB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.1122, allocations: 12.88 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.1123, allocations: 19.42 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1123, allocations: 0 / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003943/0.1162, allocations: 1.622 MB / 443.4 MB, free: 11.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: