Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 100.1 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.000991/0.0009911, allocations: 177.3 kB / 15.95 MB, free: 216 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.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.2812/0.2812, allocations: 39.99 MB / 310.4 MB, free: 9.816 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.0006007/0.0006007, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1021, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002099/0.1042, allocations: 1.374 MB / 438.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1054, allocations: 0.7344 MB / 438.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1055, allocations: 0 / 438.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1058, allocations: 91.73 kB / 439 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.106, allocations: 63.84 kB / 439 MB, free: 332 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1063, allocations: 75.78 kB / 439.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1065, allocations: 71.83 kB / 439.2 MB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.385e-05/0.1066, allocations: 8.219 kB / 439.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.1067, allocations: 47.83 kB / 439.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.1068, allocations: 47.83 kB / 439.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1068, allocations: 4 kB / 439.3 MB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.1069, allocations: 35.86 kB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1069, allocations: 11.98 kB / 439.3 MB, free: 28 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.107, allocations: 45.62 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1071, allocations: 88.09 kB / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1072, allocations: 0 / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1072, allocations: 3.938 kB / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1072, allocations: 0 / 439.5 MB, free: 15.89 MB / 382.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.0005452/0.1077, allocations: 418.8 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1078, allocations: 8.031 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1078, allocations: 11.81 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1081, allocations: 210.9 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1082, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1082, allocations: 4 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1083, allocations: 53.67 kB / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1084, allocations: 0 / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1084, allocations: 3.938 kB / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1084, allocations: 3.953 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.1085, allocations: 23.98 kB / 440.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1089, allocations: 292.8 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1091, allocations: 62.55 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1091, allocations: 0 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1093, allocations: 75.47 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1093, allocations: 0 / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.1099, allocations: 173.4 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.11, allocations: 51.41 kB / 440.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1102, allocations: 218.7 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1103, allocations: 25.7 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.1103, allocations: 112 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1104, allocations: 23.66 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1104, allocations: 4 kB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1105, allocations: 330.8 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.1106, allocations: 20 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.1106, allocations: 33.7 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.1107, allocations: 27.92 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1107, allocations: 0 / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1109, allocations: 101.8 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.111, allocations: 11.55 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.111, allocations: 0 / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.111, allocations: 4 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.1111, allocations: 27.92 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1111, allocations: 3.938 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.1112, allocations: 4 kB / 441.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1112, allocations: 160 / 441.8 MB, free: 13.37 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 0.0001059/0.1113, allocations: 129.9 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1113, allocations: 19.81 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.1114, allocations: 25.33 kB / 441.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1114, allocations: 7.984 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.1114, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1114, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1118, allocations: 395.3 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1118, allocations: 0 / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.1119, allocations: 8.031 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1119, allocations: 4 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1119, allocations: 7.984 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1119, allocations: 0 / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1119, allocations: 4.125 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1121, allocations: 213.9 kB / 442.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1122, allocations: 96.95 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1122, allocations: 7.984 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1123, allocations: 0 / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1124, allocations: 4 kB / 442.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1124, allocations: 11.98 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1125, allocations: 164.3 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1125, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1128, allocations: 24 kB / 442.9 MB, free: 12.16 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.0009936/0.1138, allocations: 466.9 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.114, allocations: 51.98 kB / 443.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.114, allocations: 0 / 443.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.1141, allocations: 35.98 kB / 443.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1143, allocations: 24.12 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.1148, allocations: 282.3 kB / 443.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1151, allocations: 0.7121 MB / 444.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1152, allocations: 17.19 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1152, allocations: 23.42 kB / 444.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1152, allocations: 0 / 444.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Templates: time 0.004025/0.1193, allocations: 1.605 MB / 446.1 MB, free: 8.926 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: