Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.0008186/0.0008192, allocations: 93.95 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.001005/0.001005, allocations: 174.7 kB / 18.25 MB, free: 5.52 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.348/1.348, allocations: 223.3 MB / 242.3 MB, free: 216 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.1954/0.1954, allocations: 44.26 MB / 337.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 12.28 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09925, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001906/0.1012, allocations: 1.511 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1027, allocations: 0.9279 MB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1028, allocations: 3.938 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.1033, allocations: 299.4 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1037, allocations: 187.6 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.1042, allocations: 154.5 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.1046, allocations: 231.4 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.1047, allocations: 13.55 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.1051, allocations: 119.6 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.1054, allocations: 191.4 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.1054, allocations: 4 kB / 476 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1056, allocations: 47.97 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1058, allocations: 127.6 kB / 476.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.106, allocations: 172.4 kB / 476.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1064, allocations: 354.9 kB / 476.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1064, allocations: 4 kB / 476.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1064, allocations: 0 / 476.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1064, allocations: 0 / 476.7 MB, free: 8.883 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.0009617/0.1074, allocations: 0.6611 MB / 477.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1075, allocations: 8.031 kB / 477.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.1075, allocations: 34.75 kB / 477.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.1076, allocations: 48.28 kB / 477.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.1082, allocations: 447.8 kB / 477.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1082, allocations: 8.375 kB / 477.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1082, allocations: 7.938 kB / 477.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.1085, allocations: 91.34 kB / 478 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1085, allocations: 3.938 kB / 478 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1085, allocations: 0 / 478 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1085, allocations: 3.984 kB / 478 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1086, allocations: 35.91 kB / 478 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.109, allocations: 370.4 kB / 478.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1093, allocations: 113.1 kB / 478.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.1094, allocations: 37.7 kB / 478.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1094, allocations: 0 / 478.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1097, allocations: 113 kB / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1097, allocations: 0 / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005074/0.1102, allocations: 201.3 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1102, allocations: 77.11 kB / 478.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1113, allocations: 1.038 MB / 479.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1113, allocations: 33.7 kB / 480 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1115, allocations: 232.1 kB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.1116, allocations: 27.66 kB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1116, allocations: 21.7 kB / 480.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1118, allocations: 362.8 kB / 480.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.1119, allocations: 27.98 kB / 480.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.112, allocations: 58.55 kB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1121, allocations: 99.41 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1122, allocations: 3.938 kB / 480.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.1125, allocations: 161 kB / 480.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1125, allocations: 8 kB / 481 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1125, allocations: 8.047 kB / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1125, allocations: 0 / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1126, allocations: 23.94 kB / 481 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1126, allocations: 0 / 481 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1128, allocations: 15.89 kB / 481 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1128, allocations: 4 kB / 481 MB, free: 4.262 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.0001977/0.113, allocations: 225.6 kB / 481.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.113, allocations: 51.34 kB / 481.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.1131, allocations: 68 kB / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1131, allocations: 0 / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1132, allocations: 0 / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1132, allocations: 0 / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.1135, allocations: 349.3 kB / 481.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1135, allocations: 0 / 481.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.1135, allocations: 11.94 kB / 481.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1135, allocations: 0 / 481.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1135, allocations: 4 kB / 481.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1135, allocations: 3.984 kB / 481.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1136, allocations: 128 / 481.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.1139, allocations: 209.2 kB / 481.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.114, allocations: 140.6 kB / 482 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.114, allocations: 7.922 kB / 482.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.1141, allocations: 8 kB / 482.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1142, allocations: 7.984 kB / 482.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.1142, allocations: 4 kB / 482.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.115, allocations: 0.776 MB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1152, allocations: 44 kB / 482.9 MB, free: 2.273 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.001376/0.1166, allocations: 1.052 MB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1169, allocations: 79.84 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1169, allocations: 3.938 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.887e-05/0.117, allocations: 39.98 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1174, allocations: 65.5 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.1228, allocations: 4.703 MB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1232, allocations: 0.8469 MB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1233, allocations: 54.94 kB / 489.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.1235, allocations: 147.4 kB / 489.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1235, allocations: 0 / 489.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.1431, allocations: 8.184 MB / 498.1 MB, free: 3.23 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.1434, allocations: 248 kB / 498.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/1.96, allocations: 4 kB / 498.3 MB, free: 2.969 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)