Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_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.001103/0.001103, allocations: 105 kB / 16.27 MB, free: 6.41 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.001088/0.001088, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2242/0.2242, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001686/0.001686, allocations: 70.48 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1055, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002933/0.1084, allocations: 1.786 MB / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1097, allocations: 0.8779 MB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.1098, allocations: 0 / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.1102, allocations: 307.3 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1105, allocations: 215.3 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1108, allocations: 147.7 kB / 443.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.111, allocations: 231.4 kB / 444.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1111, allocations: 9.844 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1112, allocations: 127.6 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1114, allocations: 199.4 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1114, allocations: 8 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.1115, allocations: 36 kB / 444.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1116, allocations: 127.6 kB / 444.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1118, allocations: 162.7 kB / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.112, allocations: 362.7 kB / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.112, allocations: 0 / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1121, allocations: 0 / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1121, allocations: 0 / 445.2 MB, free: 2.223 MB / 318.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.000728/0.1128, allocations: 0.7268 MB / 445.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1129, allocations: 11.89 kB / 445.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1129, allocations: 38.75 kB / 446 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.113, allocations: 44.38 kB / 446 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1134, allocations: 447.8 kB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1134, allocations: 8.375 kB / 446.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1134, allocations: 11.94 kB / 446.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1136, allocations: 79.36 kB / 446.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1136, allocations: 3.938 kB / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1136, allocations: 4 kB / 446.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1137, allocations: 0 / 446.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1138, allocations: 31.91 kB / 446.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.114, allocations: 382.3 kB / 446.9 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1143, allocations: 109.1 kB / 447.1 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.1144, allocations: 41.7 kB / 447.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1144, allocations: 0 / 447.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1146, allocations: 109.1 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1146, allocations: 0 / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004657/0.1151, allocations: 193.4 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.1152, allocations: 89.05 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1162, allocations: 1.038 MB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1162, allocations: 25.7 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1164, allocations: 236.1 kB / 448.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1165, allocations: 23.62 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1165, allocations: 29.7 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1167, allocations: 370.8 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.1168, allocations: 31.98 kB / 449.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.1169, allocations: 54.41 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1171, allocations: 91.42 kB / 449.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1171, allocations: 3.938 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002892/0.1174, allocations: 172.9 kB / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1174, allocations: 4 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1174, allocations: 0 / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1174, allocations: 4 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1175, allocations: 27.92 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1176, allocations: 4 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.1177, allocations: 11.84 kB / 449.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1177, allocations: 4 kB / 449.6 MB, free: 13.52 MB / 334.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.0002013/0.1179, allocations: 233.7 kB / 449.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.1179, allocations: 43.44 kB / 449.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.118, allocations: 67.92 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.118, allocations: 0 / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1181, allocations: 0 / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1181, allocations: 4 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.1184, allocations: 345.2 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1184, allocations: 0 / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1184, allocations: 12.12 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1184, allocations: 0 / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1185, allocations: 19.92 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1185, allocations: 0 / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1185, allocations: 0 / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1188, allocations: 197.3 kB / 450.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1189, allocations: 136.4 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.119, allocations: 4 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1191, allocations: 15.98 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1191, allocations: 4 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1191, allocations: 7.984 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.1199, allocations: 0.7682 MB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.12, allocations: 0 / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1202, allocations: 47.98 kB / 451.5 MB, free: 11.54 MB / 334.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.001541/0.1218, allocations: 1.058 MB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.122, allocations: 83.89 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.122, allocations: 3.938 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1222, allocations: 39.92 kB / 452.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1226, allocations: 76.34 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.1279, allocations: 4.631 MB / 457.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1284, allocations: 0.8388 MB / 458.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1285, allocations: 59.39 kB / 458.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.1287, allocations: 147.4 kB / 458.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1287, allocations: 4 kB / 458.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.1602, allocations: 8.775 MB / 467.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/7.984, allocations: 0 / 467.2 MB, free: 11.72 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)