Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007495/0.0007496, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008194/0.0008194, allocations: 168.7 kB / 15.95 MB, free: 200 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.288/1.288, 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.2889/0.2889, allocations: 38.04 MB / 308.4 MB, free: 10.38 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.0005404/0.0005405, allocations: 20 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09887, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001972/0.1009, allocations: 1.382 MB / 435.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1021, allocations: 0.7498 MB / 436.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.1023, allocations: 3.938 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1026, allocations: 99.78 kB / 436.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1028, allocations: 75.78 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1031, allocations: 75.84 kB / 436.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1033, allocations: 111.7 kB / 436.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.1034, allocations: 19.91 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1036, allocations: 51.78 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1037, allocations: 51.81 kB / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1037, allocations: 4 kB / 436.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1038, allocations: 39.97 kB / 436.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1039, allocations: 27.86 kB / 436.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1039, allocations: 41.64 kB / 436.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1041, allocations: 104.1 kB / 436.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1041, allocations: 4 kB / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1041, allocations: 0 / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1041, allocations: 0 / 436.8 MB, free: 2.688 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000521/0.1047, allocations: 426.6 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1047, allocations: 8.031 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1047, allocations: 19.77 kB / 437.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.105, allocations: 222.5 kB / 437.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.105, allocations: 0 / 437.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1051, allocations: 12 kB / 437.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1052, allocations: 61.66 kB / 437.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1052, allocations: 4 kB / 437.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1053, allocations: 0 / 437.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1053, allocations: 0 / 437.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.1054, allocations: 39.86 kB / 437.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1058, allocations: 316.8 kB / 437.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.106, allocations: 70.73 kB / 437.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.106, allocations: 32.88 kB / 438 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1061, allocations: 3.984 kB / 438 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.1062, allocations: 75.33 kB / 438.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1062, allocations: 4 kB / 438.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005619/0.1068, allocations: 229 kB / 438.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1069, allocations: 55.41 kB / 438.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1071, allocations: 242.5 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1071, allocations: 25.7 kB / 438.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.1072, allocations: 116 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1072, allocations: 35.56 kB / 438.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.1072, allocations: 0 / 438.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1074, allocations: 334.8 kB / 439.1 MB, free: 184 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.1074, allocations: 31.92 kB / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.1075, allocations: 49.7 kB / 439.2 MB, free: 96 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.1076, allocations: 36 kB / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1076, allocations: 3.938 kB / 439.2 MB, free: 56 kB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002341/0.1078, allocations: 141.4 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1079, allocations: 4 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1079, allocations: 4.031 kB / 439.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1079, allocations: 0 / 439.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.108, allocations: 27.92 kB / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.108, allocations: 0 / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.1081, allocations: 4 kB / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1081, allocations: 8 kB / 439.4 MB, free: 15.86 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 (13): * Single equations (assignments): 13 * 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.719e-05/0.1082, allocations: 130.9 kB / 439.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1082, allocations: 23.75 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.1083, allocations: 21.41 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1083, allocations: 4 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1083, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1083, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.1088, allocations: 451.2 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1088, allocations: 0 / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.1088, allocations: 15.98 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1088, allocations: 0 / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1089, allocations: 12.03 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1089, allocations: 0 / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1089, allocations: 0 / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1091, allocations: 236 kB / 440.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1092, allocations: 92.92 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1092, allocations: 4 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.1093, allocations: 7.984 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1093, allocations: 11.98 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1094, allocations: 8 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1095, allocations: 180.5 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1095, allocations: 0 / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1098, allocations: 24 kB / 440.6 MB, free: 14.56 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 (11): * Single equations (assignments): 9 * 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.0009798/0.1108, allocations: 481.3 kB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.111, allocations: 83.91 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.111, allocations: 0 / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.1111, allocations: 39.92 kB / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1114, allocations: 36.11 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1119, allocations: 326.8 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1122, allocations: 0.7165 MB / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.1122, allocations: 25.06 kB / 442.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.1123, allocations: 19.42 kB / 442.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1123, allocations: 0 / 442.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Templates: time 0.00399/0.1163, allocations: 1.778 MB / 444.1 MB, free: 11.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: