Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007183/0.0007182, allocations: 90.75 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.0007764/0.0007765, 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.338/1.338, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.2776/0.2776, allocations: 38.04 MB / 308.4 MB, free: 10.32 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.0005566/0.0005566, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09907, allocations: 57.52 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001703/0.1008, allocations: 1.366 MB / 435.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1019, allocations: 0.7421 MB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.102, allocations: 4 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1022, allocations: 39.83 kB / 436.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1023, allocations: 35.84 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1026, allocations: 79.83 kB / 436.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1027, allocations: 75.77 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.1028, allocations: 16.22 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1029, allocations: 35.78 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.103, allocations: 31.84 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.103, allocations: 0 / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.1031, allocations: 39.94 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.1032, allocations: 15.92 kB / 436.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1032, allocations: 37.64 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1034, allocations: 88.03 kB / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1034, allocations: 0 / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1034, allocations: 0 / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.1034, allocations: 0 / 436.6 MB, free: 2.91 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.0003895/0.1038, allocations: 387 kB / 436.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1038, allocations: 15.97 kB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1039, allocations: 11.86 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.104, allocations: 195.5 kB / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1041, allocations: 4 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1041, allocations: 0 / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1042, allocations: 53.67 kB / 437.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1042, allocations: 3.984 kB / 437.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.1042, allocations: 3.938 kB / 437.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1043, allocations: 4 kB / 437.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.1043, allocations: 23.94 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1046, allocations: 280.8 kB / 437.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1048, allocations: 58.67 kB / 437.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.1048, allocations: 20.84 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1049, allocations: 4 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.105, allocations: 71.33 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.105, allocations: 0 / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004488/0.1055, allocations: 173.2 kB / 437.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1055, allocations: 55.41 kB / 437.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1057, allocations: 159 kB / 438.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1057, allocations: 29.7 kB / 438.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.1057, allocations: 96.14 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1058, allocations: 27.64 kB / 438.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1058, allocations: 0 / 438.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.1059, allocations: 322.8 kB / 438.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.1059, allocations: 20 kB / 438.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.106, allocations: 33.7 kB / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.1061, allocations: 31.97 kB / 438.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1061, allocations: 0 / 438.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.1062, allocations: 101.6 kB / 438.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1063, allocations: 12.14 kB / 438.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1063, allocations: 0 / 438.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1063, allocations: 3.938 kB / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.1064, allocations: 15.98 kB / 438.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1064, allocations: 4 kB / 438.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1064, allocations: 0 / 438.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1064, allocations: 8.031 kB / 438.7 MB, free: 0.4961 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 (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 8.485e-05/0.1065, allocations: 130.8 kB / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.1066, allocations: 8.281 kB / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.1066, allocations: 16.67 kB / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1066, allocations: 0 / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1066, allocations: 0 / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1066, allocations: 11.97 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.107, allocations: 387.2 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.107, allocations: 11.89 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1071, allocations: 11.98 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1071, allocations: 4 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1071, allocations: 0 / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1071, allocations: 0 / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1071, allocations: 4 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1073, allocations: 200.3 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.1074, allocations: 92.95 kB / 439.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1074, allocations: 4 kB / 439.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.1075, allocations: 0 / 439.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1075, allocations: 11.98 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1075, allocations: 4 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.132e-05/0.1076, allocations: 124.5 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1076, allocations: 0 / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1078, allocations: 20 kB / 439.8 MB, free: 15.37 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.0008896/0.1087, allocations: 470.7 kB / 440.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1089, allocations: 55.92 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1089, allocations: 4.062 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.109, allocations: 39.91 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1093, allocations: 20.3 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.1096, allocations: 218.1 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1099, allocations: 0.7004 MB / 441.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.165e-05/0.11, allocations: 16.86 kB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.11, allocations: 15.44 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.11, allocations: 0 / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Templates: time 0.003496/0.1135, allocations: 1.587 MB / 442.9 MB, free: 12.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: