Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000824/0.0008241, allocations: 96.95 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009586/0.0009586, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.188/0.188, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 8.375 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09804, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001825/0.0999, allocations: 1.544 MB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1014, allocations: 1.065 MB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.1015, allocations: 4 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.1019, allocations: 307.4 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1023, allocations: 235.3 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.1025, allocations: 79.86 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1028, allocations: 251.3 kB / 486.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.1028, allocations: 13.67 kB / 486.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.103, allocations: 119.5 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1032, allocations: 191.5 kB / 487 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1032, allocations: 4 kB / 487 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.1033, allocations: 47.92 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1035, allocations: 143.5 kB / 487.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1036, allocations: 172.6 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.1039, allocations: 358.7 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1039, allocations: 0 / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1039, allocations: 0 / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.104, allocations: 0 / 487.7 MB, free: 15.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007614/0.1047, allocations: 0.6882 MB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1048, allocations: 8.875 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.1048, allocations: 30.75 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.1049, allocations: 52.38 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.1053, allocations: 451.8 kB / 488.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1054, allocations: 4.375 kB / 488.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1054, allocations: 7.938 kB / 488.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1056, allocations: 91.28 kB / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.1056, allocations: 0 / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1056, allocations: 0 / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1056, allocations: 4 kB / 489 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.1057, allocations: 35.97 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1061, allocations: 382.3 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1063, allocations: 109.1 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.1064, allocations: 45.69 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1065, allocations: 0 / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1067, allocations: 105 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1067, allocations: 0 / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004205/0.1071, allocations: 200.9 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1072, allocations: 77.11 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1082, allocations: 1.058 MB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1082, allocations: 33.7 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1084, allocations: 232.1 kB / 491.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1084, allocations: 27.7 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1085, allocations: 13.72 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1086, allocations: 374.8 kB / 491.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.1087, allocations: 31.98 kB / 491.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.1088, allocations: 67.28 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.109, allocations: 83.42 kB / 491.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.109, allocations: 3.938 kB / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002743/0.1092, allocations: 172.9 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1093, allocations: 4 kB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1093, allocations: 7.938 kB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.1093, allocations: 0 / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1094, allocations: 20.61 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.1094, allocations: 4 kB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.1095, allocations: 19.91 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1095, allocations: 7.938 kB / 492.1 MB, free: 10.84 MB / 366.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.0002053/0.1097, allocations: 225.7 kB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.1098, allocations: 51.34 kB / 492.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.317e-05/0.1099, allocations: 64.14 kB / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1099, allocations: 0 / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1099, allocations: 0 / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1099, allocations: 3.984 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1102, allocations: 349.4 kB / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1102, allocations: 4 kB / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1102, allocations: 8 kB / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1102, allocations: 0 / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1103, allocations: 4 kB / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1103, allocations: 7.984 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1103, allocations: 7.922 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.1106, allocations: 197.2 kB / 493 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1107, allocations: 152.4 kB / 493.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1107, allocations: 7.922 kB / 493.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.1108, allocations: 4 kB / 493.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1109, allocations: 11.98 kB / 493.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1109, allocations: 4 kB / 493.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007377/0.1116, allocations: 0.7878 MB / 493.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1116, allocations: 0 / 493.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1119, allocations: 43.98 kB / 494 MB, free: 8.832 MB / 366.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.001284/0.1132, allocations: 1.047 MB / 495 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1134, allocations: 79.89 kB / 495.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1134, allocations: 8.125 kB / 495.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.1135, allocations: 39.92 kB / 495.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1139, allocations: 64.77 kB / 495.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.1192, allocations: 4.754 MB / 500 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1196, allocations: 0.8429 MB / 0.4891 GB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1197, allocations: 63.44 kB / 0.4891 GB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.1199, allocations: 151.4 kB / 0.4893 GB, free: 1.754 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1199, allocations: 0 / 0.4893 GB, free: 1.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.1375, allocations: 8.33 MB / 0.4974 GB, free: 9.543 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.1378, allocations: 235 kB / 0.4976 GB, free: 9.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.076, allocations: 4 kB / 0.4976 GB, free: 9.285 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)