Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.000891/0.0008911, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1883/0.1883, allocations: 44.24 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001947/0.103, allocations: 1.503 MB / 473.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1044, allocations: 0.9318 MB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.1045, allocations: 0 / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.105, allocations: 295.4 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.1053, allocations: 187.5 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1057, allocations: 154 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1059, allocations: 231.4 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.106, allocations: 5.562 kB / 475.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1061, allocations: 123.6 kB / 475.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1063, allocations: 183.9 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1063, allocations: 4 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1064, allocations: 43.97 kB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1065, allocations: 128.6 kB / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1067, allocations: 168.5 kB / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.107, allocations: 350.9 kB / 476.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.107, allocations: 3.938 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.107, allocations: 0 / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.107, allocations: 0 / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007665/0.1078, allocations: 0.6573 MB / 477.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1078, allocations: 8.031 kB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1079, allocations: 38.75 kB / 477.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.108, allocations: 48.28 kB / 477.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1084, allocations: 443.8 kB / 477.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1085, allocations: 4.375 kB / 477.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1085, allocations: 3.938 kB / 477.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1087, allocations: 91.36 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1087, allocations: 0 / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1087, allocations: 0 / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1087, allocations: 0 / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.1088, allocations: 31.92 kB / 478 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1092, allocations: 374.3 kB / 478.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1094, allocations: 109.2 kB / 478.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.1095, allocations: 41.64 kB / 478.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1095, allocations: 4 kB / 478.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1098, allocations: 113 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1098, allocations: 0 / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004248/0.1102, allocations: 193.5 kB / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1103, allocations: 77.11 kB / 478.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.1112, allocations: 1.003 MB / 479.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1112, allocations: 33.7 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1113, allocations: 236 kB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1114, allocations: 27.64 kB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.1114, allocations: 17.72 kB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1116, allocations: 366.8 kB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.1116, allocations: 23.98 kB / 480.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.1117, allocations: 66.28 kB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1119, allocations: 95.42 kB / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1119, allocations: 3.938 kB / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.1122, allocations: 164.9 kB / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1122, allocations: 8 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1122, allocations: 0 / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1123, allocations: 8 kB / 480.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1124, allocations: 27.92 kB / 480.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1124, allocations: 0 / 480.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.1125, allocations: 11.91 kB / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1125, allocations: 8 kB / 480.9 MB, free: 4.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000187/0.1127, allocations: 217.7 kB / 481.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1127, allocations: 47.38 kB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.1128, allocations: 63.84 kB / 481.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1128, allocations: 4 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1128, allocations: 0 / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1128, allocations: 4 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.1131, allocations: 337.4 kB / 481.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1131, allocations: 0 / 481.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.1132, allocations: 15.92 kB / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1132, allocations: 0 / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1132, allocations: 4 kB / 481.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1132, allocations: 4 kB / 481.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1132, allocations: 128 / 481.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.1135, allocations: 209.2 kB / 481.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1136, allocations: 144.5 kB / 482 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.1136, allocations: 0 / 482 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.1137, allocations: 7.984 kB / 482 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1138, allocations: 15.98 kB / 482 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1138, allocations: 4 kB / 482 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006621/0.1145, allocations: 0.7487 MB / 482.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1145, allocations: 0 / 482.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1147, allocations: 43.91 kB / 482.8 MB, free: 2.406 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001267/0.116, allocations: 1.05 MB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1162, allocations: 75.91 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1162, allocations: 0 / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.1163, allocations: 43.92 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1167, allocations: 62.27 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.1216, allocations: 4.586 MB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1219, allocations: 0.843 MB / 489.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1221, allocations: 50.95 kB / 489.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.1222, allocations: 143.4 kB / 489.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1222, allocations: 0 / 489.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.1426, allocations: 8.037 MB / 497.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.1428, allocations: 249.6 kB / 497.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/1.978, allocations: 0 / 497.9 MB, free: 3.387 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)