Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.001033/0.001033, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009986/0.0009988, allocations: 198.8 kB / 16.79 MB, free: 6.828 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.485/1.485, allocations: 205.1 MB / 222.6 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3279/0.3279, allocations: 43.5 MB / 313.5 MB, free: 8.555 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: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 71.83 kB / 382.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 57.78 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003416/0.1101, allocations: 1.846 MB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1115, allocations: 0.8664 MB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.1116, allocations: 0 / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.1121, allocations: 303.4 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1125, allocations: 207.5 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1128, allocations: 123.8 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.1131, allocations: 231.4 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.1131, allocations: 17.53 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1133, allocations: 119.5 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1135, allocations: 191.5 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1135, allocations: 4 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1137, allocations: 39.98 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1138, allocations: 143.5 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1139, allocations: 142.8 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1143, allocations: 359 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1143, allocations: 4 kB / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1143, allocations: 0 / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1143, allocations: 0 / 444.5 MB, free: 10.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008968/0.1152, allocations: 0.7307 MB / 445.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1153, allocations: 12.03 kB / 445.2 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1153, allocations: 34.69 kB / 445.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.1154, allocations: 48.31 kB / 445.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.1159, allocations: 451.8 kB / 445.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1159, allocations: 4.375 kB / 445.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1159, allocations: 7.938 kB / 445.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1162, allocations: 83.36 kB / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1162, allocations: 0 / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1162, allocations: 0 / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1162, allocations: 7.938 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1163, allocations: 27.98 kB / 445.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1167, allocations: 374.4 kB / 446.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.117, allocations: 109.1 kB / 446.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.1171, allocations: 41.7 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1171, allocations: 4 kB / 446.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.1174, allocations: 105 kB / 446.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.1174, allocations: 3.984 kB / 446.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000442/0.1178, allocations: 205.3 kB / 446.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1179, allocations: 81.11 kB / 446.8 MB, free: 7.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.1188, allocations: 1.03 MB / 447.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1188, allocations: 33.7 kB / 447.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.119, allocations: 232 kB / 448.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.119, allocations: 31.64 kB / 448.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1191, allocations: 25.7 kB / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1192, allocations: 370.8 kB / 448.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1193, allocations: 32.11 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1194, allocations: 59.42 kB / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1195, allocations: 83.34 kB / 448.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1196, allocations: 7.938 kB / 448.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.1198, allocations: 172.9 kB / 448.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1199, allocations: 7.984 kB / 448.8 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1199, allocations: 0 / 448.8 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1199, allocations: 7.938 kB / 448.8 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.12, allocations: 16 kB / 448.9 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.12, allocations: 11.92 kB / 448.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.1201, allocations: 7.938 kB / 448.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1201, allocations: 8 kB / 448.9 MB, free: 5.461 MB / 382.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.0001906/0.1203, allocations: 233.6 kB / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.1204, allocations: 47.34 kB / 449.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.1205, allocations: 64 kB / 449.2 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1205, allocations: 0 / 449.2 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1205, allocations: 4 kB / 449.2 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1205, allocations: 0 / 449.2 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.1208, allocations: 337.3 kB / 449.6 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1208, allocations: 4.125 kB / 449.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1208, allocations: 12 kB / 449.6 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1208, allocations: 8 kB / 449.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1209, allocations: 3.984 kB / 449.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1209, allocations: 0 / 449.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1209, allocations: 4 kB / 449.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.1212, allocations: 193.3 kB / 449.8 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1213, allocations: 140.4 kB / 449.9 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.1214, allocations: 8 kB / 449.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.1214, allocations: 7.984 kB / 449.9 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1215, allocations: 4 kB / 449.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1215, allocations: 7.984 kB / 449.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006857/0.1222, allocations: 0.7722 MB / 450.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1222, allocations: 0 / 450.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1224, allocations: 43.98 kB / 450.8 MB, free: 3.492 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: 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.001296/0.1238, allocations: 1.066 MB / 451.8 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.124, allocations: 79.89 kB / 451.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.124, allocations: 0 / 451.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.1241, allocations: 36.11 kB / 451.9 MB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1245, allocations: 78.05 kB / 452 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1592/0.2837, allocations: 4.682 MB / 456.7 MB, free: 47.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.284, allocations: 0.8484 MB / 457.5 MB, free: 46.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.2841, allocations: 54.33 kB / 457.6 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2843, allocations: 145 kB / 457.7 MB, free: 46.73 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2843, allocations: 0 / 457.7 MB, free: 46.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.3002, allocations: 8.479 MB / 466.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.3004, allocations: 238.4 kB / 466.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.123, allocations: 3.938 kB / 466.5 MB, free: 45.7 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)