Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001226/0.001226, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001375/0.001375, allocations: 194 kB / 18.12 MB, free: 5.383 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.422/1.422, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1863/0.1863, allocations: 44.17 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.88 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004596/0.1098, allocations: 1.854 MB / 470.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1114, allocations: 0.9433 MB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1115, allocations: 3.938 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.1121, allocations: 303.4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.1126, allocations: 195.5 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1131, allocations: 149.9 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1134, allocations: 231.4 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.1135, allocations: 17.55 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1137, allocations: 123.4 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1139, allocations: 179.6 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1139, allocations: 4 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.114, allocations: 47.97 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1142, allocations: 135.5 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1144, allocations: 138.8 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.1148, allocations: 363 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1148, allocations: 0 / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1148, allocations: 0 / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1148, allocations: 0 / 473.3 MB, free: 10.1 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.0009741/0.1158, allocations: 0.7191 MB / 474 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001296/0.1159, allocations: 16.02 kB / 474 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.116, allocations: 34.75 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.1161, allocations: 52.28 kB / 474.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.1167, allocations: 447.8 kB / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1168, allocations: 384 / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1168, allocations: 7.938 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.117, allocations: 91.34 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.117, allocations: 3.938 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.117, allocations: 4 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.117, allocations: 0 / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1172, allocations: 27.98 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1177, allocations: 370.4 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1179, allocations: 117.1 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.118, allocations: 41.7 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1181, allocations: 0 / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.1184, allocations: 116.9 kB / 475.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1184, allocations: 0 / 475.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005476/0.119, allocations: 197 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.119, allocations: 77.11 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.1204, allocations: 1.034 MB / 476.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1205, allocations: 33.7 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1206, allocations: 228.1 kB / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.1207, allocations: 31.55 kB / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1207, allocations: 33.7 kB / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1209, allocations: 362.8 kB / 477.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.121, allocations: 27.98 kB / 477.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.543e-05/0.1211, allocations: 59.92 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1213, allocations: 95.34 kB / 477.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1213, allocations: 3.938 kB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002935/0.1216, allocations: 157 kB / 477.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1216, allocations: 7.938 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1217, allocations: 8.062 kB / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1217, allocations: 3.984 kB / 477.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1218, allocations: 20 kB / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1218, allocations: 0 / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.1219, allocations: 19.83 kB / 477.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1219, allocations: 4 kB / 477.7 MB, free: 5.406 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.0003017/0.1222, allocations: 237.6 kB / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.1224, allocations: 51.34 kB / 478 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.1225, allocations: 60 kB / 478 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1225, allocations: 4 kB / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1225, allocations: 0 / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1225, allocations: 0 / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.1229, allocations: 345.4 kB / 478.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1229, allocations: 0 / 478.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.123, allocations: 8 kB / 478.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.123, allocations: 0 / 478.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.123, allocations: 128 / 478.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.123, allocations: 8 kB / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.123, allocations: 7.969 kB / 478.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1234, allocations: 213.1 kB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1235, allocations: 132.5 kB / 478.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.1236, allocations: 0 / 478.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.1237, allocations: 7.984 kB / 478.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.1238, allocations: 8 kB / 478.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1239, allocations: 7.984 kB / 478.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.1249, allocations: 0.7722 MB / 479.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1249, allocations: 0 / 479.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1252, allocations: 47.98 kB / 479.6 MB, free: 3.418 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.001429/0.1266, allocations: 1.069 MB / 480.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1269, allocations: 79.89 kB / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1269, allocations: 4 kB / 480.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.1272, allocations: 35.92 kB / 480.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1276, allocations: 66.27 kB / 480.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/0.1343, allocations: 4.694 MB / 485.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1348, allocations: 0.843 MB / 486.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1349, allocations: 66.86 kB / 486.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.1351, allocations: 139.4 kB / 486.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.414e-06/0.1351, allocations: 0 / 486.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1571, allocations: 8.495 MB / 495 MB, free: 4.055 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/0.1573, allocations: 238.9 kB / 495.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.156, allocations: 7.938 kB / 495.3 MB, free: 3.789 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)