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.0007656/0.0007656, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005749/0.005749, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.3215/0.3215, allocations: 38.04 MB / 308.8 MB, free: 10.28 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.0005539/0.000554, allocations: 19.98 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1099, allocations: 57.51 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00175/0.1117, allocations: 1.416 MB / 436 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1128, allocations: 0.7845 MB / 436.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.1128, allocations: 4 kB / 436.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1131, allocations: 95.72 kB / 436.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1133, allocations: 79.77 kB / 436.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1135, allocations: 75.86 kB / 437 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1137, allocations: 119.7 kB / 437.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.1138, allocations: 15.98 kB / 437.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.1139, allocations: 55.75 kB / 437.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.114, allocations: 59.81 kB / 437.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.114, allocations: 7.938 kB / 437.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.1141, allocations: 43.92 kB / 437.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1141, allocations: 31.84 kB / 437.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.1142, allocations: 73.38 kB / 437.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1144, allocations: 131.8 kB / 437.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1144, allocations: 0 / 437.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1144, allocations: 4 kB / 437.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1144, allocations: 0 / 437.6 MB, free: 2.195 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.0004583/0.1149, allocations: 422.8 kB / 438 MB, free: 1.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1149, allocations: 12.03 kB / 438 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1149, allocations: 12.75 kB / 438 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1151, allocations: 227.7 kB / 438.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1152, allocations: 12.38 kB / 438.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1152, allocations: 12.03 kB / 438.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1153, allocations: 61.66 kB / 438.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1154, allocations: 0 / 438.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1154, allocations: 4 kB / 438.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1154, allocations: 7.984 kB / 438.3 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.1155, allocations: 35.91 kB / 438.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.1158, allocations: 312.8 kB / 438.6 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.116, allocations: 78.77 kB / 438.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.1161, allocations: 28.84 kB / 438.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1161, allocations: 0 / 438.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1163, allocations: 75.38 kB / 438.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1163, allocations: 0 / 438.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005375/0.1168, allocations: 232.9 kB / 439.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1168, allocations: 59.34 kB / 439.1 MB, free: 460 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.117, allocations: 242.5 kB / 439.3 MB, free: 200 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1171, allocations: 37.69 kB / 439.4 MB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1171, allocations: 112.1 kB / 439.5 MB, free: 40 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1172, allocations: 27.56 kB / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1172, allocations: 25.7 kB / 439.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.1173, allocations: 326.8 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.1174, allocations: 31.92 kB / 439.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.1175, allocations: 49.7 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1176, allocations: 77.7 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1176, allocations: 3.938 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001968/0.1178, allocations: 141.4 kB / 440.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1178, allocations: 4 kB / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1178, allocations: 0 / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1178, allocations: 4 kB / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.1179, allocations: 19.98 kB / 440.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1179, allocations: 3.938 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.118, allocations: 8 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.118, allocations: 4 kB / 440.2 MB, free: 15.29 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.414e-05/0.1181, allocations: 141.8 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1181, allocations: 11.81 kB / 440.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1182, allocations: 25.39 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1182, allocations: 4 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1182, allocations: 3.938 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1182, allocations: 0 / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.1186, allocations: 451.1 kB / 440.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1187, allocations: 4.031 kB / 440.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1187, allocations: 19.92 kB / 440.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1187, allocations: 4 kB / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1187, allocations: 0 / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1187, allocations: 0 / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1187, allocations: 4 kB / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.119, allocations: 236.1 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.119, allocations: 96.86 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.119, allocations: 0 / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1191, allocations: 11.98 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1192, allocations: 4 kB / 441.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1192, allocations: 7.984 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1193, allocations: 188.2 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1193, allocations: 0 / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1196, allocations: 28 kB / 441.4 MB, free: 13.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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008889/0.1205, allocations: 477.4 kB / 441.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1207, allocations: 83.84 kB / 442 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1207, allocations: 0 / 442 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.1207, allocations: 47.98 kB / 442 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1211, allocations: 31.91 kB / 442 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.1215, allocations: 331 kB / 442.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1218, allocations: 0.7164 MB / 443.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.1219, allocations: 25.05 kB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.1219, allocations: 27.44 kB / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1219, allocations: 0 / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of Templates: time 0.004285/0.1262, allocations: 1.803 MB / 444.9 MB, free: 10.43 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: