Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.0008946/0.0008946, allocations: 95.53 kB / 17.35 MB, free: 6.344 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.001036/0.001036, allocations: 171.6 kB / 18.25 MB, free: 5.504 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.338/1.338, allocations: 223.3 MB / 242.3 MB, free: 204 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.1889/0.1889, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 16 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00191/0.1026, allocations: 1.503 MB / 473.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1041, allocations: 0.924 MB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.1042, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.1047, allocations: 299.4 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.105, allocations: 191.5 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1055, allocations: 154 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1058, allocations: 231.4 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.1058, allocations: 13.5 kB / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.106, allocations: 111.6 kB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1062, allocations: 187.9 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1062, allocations: 4 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1064, allocations: 47.98 kB / 476 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1065, allocations: 132.6 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1066, allocations: 164.5 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.107, allocations: 342.9 kB / 476.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.107, allocations: 7.984 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.107, allocations: 0 / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.107, allocations: 4 kB / 476.6 MB, free: 8.926 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.0008123/0.1079, allocations: 0.6456 MB / 477.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1079, allocations: 12.03 kB / 477.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.1079, allocations: 38.73 kB / 477.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.108, allocations: 48.28 kB / 477.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.1085, allocations: 439.9 kB / 477.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1085, allocations: 4.312 kB / 477.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1085, allocations: 19.91 kB / 477.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1087, allocations: 75.38 kB / 477.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1088, allocations: 0 / 477.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1088, allocations: 8 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1088, allocations: 4 kB / 477.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1089, allocations: 31.91 kB / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.1093, allocations: 370.3 kB / 478.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1095, allocations: 113.2 kB / 478.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1096, allocations: 37.7 kB / 478.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1096, allocations: 3.938 kB / 478.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.1099, allocations: 109 kB / 478.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1099, allocations: 0 / 478.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004598/0.1104, allocations: 193 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1104, allocations: 81.11 kB / 478.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.1114, allocations: 1.007 MB / 479.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1114, allocations: 25.7 kB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1116, allocations: 232.1 kB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1117, allocations: 27.66 kB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1117, allocations: 21.7 kB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1118, allocations: 374.7 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.1119, allocations: 31.92 kB / 480.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.112, allocations: 58.3 kB / 480.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1122, allocations: 95.84 kB / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1122, allocations: 3.938 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002689/0.1125, allocations: 165 kB / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1125, allocations: 4 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1125, allocations: 0 / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1125, allocations: 4 kB / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1127, allocations: 27.92 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1127, allocations: 0 / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.1128, allocations: 19.95 kB / 480.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1128, allocations: 4 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.0001823/0.113, allocations: 217.7 kB / 481.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.113, allocations: 55.36 kB / 481.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.1131, allocations: 55.84 kB / 481.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1131, allocations: 0 / 481.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1131, allocations: 4 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1131, allocations: 0 / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1134, allocations: 337.4 kB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1134, allocations: 0 / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.1134, allocations: 15.92 kB / 481.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1134, allocations: 0 / 481.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1135, allocations: 4 kB / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1135, allocations: 0 / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1135, allocations: 0 / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1138, allocations: 205.2 kB / 481.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1139, allocations: 148.4 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.1139, allocations: 4 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.114, allocations: 12.11 kB / 482 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1141, allocations: 8 kB / 482 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.1141, allocations: 7.984 kB / 482 MB, free: 3.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006952/0.1148, allocations: 0.7487 MB / 482.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1148, allocations: 4 kB / 482.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1151, 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.001334/0.1164, allocations: 1.044 MB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1166, allocations: 79.97 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1166, allocations: 0 / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.1167, allocations: 40.17 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1172, allocations: 74.44 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.1223, allocations: 4.586 MB / 488.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1227, allocations: 0.8313 MB / 489.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1228, allocations: 58.95 kB / 489.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.123, allocations: 143.4 kB / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.123, allocations: 0 / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.1423, allocations: 8.024 MB / 497.6 MB, free: 3.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.1425, allocations: 252.7 kB / 497.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.97, allocations: 0 / 497.9 MB, free: 3.395 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)