Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007633/0.0007634, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008921/0.0008922, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002006/0.1059, allocations: 1.544 MB / 484.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1075, allocations: 1.067 MB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1076, allocations: 0 / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.1081, allocations: 291.4 kB / 486.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1085, allocations: 239.3 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.1087, allocations: 87.84 kB / 486.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.109, allocations: 247.3 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.519e-05/0.1091, allocations: 13.67 kB / 486.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1092, allocations: 115.5 kB / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1094, allocations: 192 kB / 487 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1095, allocations: 4 kB / 487 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1096, allocations: 47.92 kB / 487 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1097, allocations: 132.5 kB / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1099, allocations: 172.5 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1102, allocations: 354.8 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1103, allocations: 4 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1103, allocations: 0 / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1103, allocations: 0 / 487.7 MB, free: 15.59 MB / 366.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.0007851/0.1111, allocations: 0.6688 MB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1111, allocations: 12.88 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.1112, allocations: 34.73 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.1112, allocations: 52.28 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.1117, allocations: 447.9 kB / 488.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1117, allocations: 4.375 kB / 488.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1118, allocations: 7.938 kB / 488.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1119, allocations: 87.3 kB / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.112, allocations: 0 / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.112, allocations: 0 / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.112, allocations: 4 kB / 489 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.1121, allocations: 27.98 kB / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.1125, allocations: 378.3 kB / 489.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1127, allocations: 105.1 kB / 489.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.1128, allocations: 45.69 kB / 489.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1128, allocations: 3.984 kB / 489.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.1131, allocations: 109 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1131, allocations: 0 / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004474/0.1135, allocations: 196.9 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1136, allocations: 85.09 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1146, allocations: 1.022 MB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1147, allocations: 29.7 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1148, allocations: 236 kB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.1149, allocations: 31.64 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1149, allocations: 13.72 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1151, allocations: 366.8 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.1152, allocations: 27.98 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.1153, allocations: 70.97 kB / 491.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1154, allocations: 79.92 kB / 491.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.1155, allocations: 3.938 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00028/0.1157, allocations: 180.9 kB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1158, allocations: 4 kB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1158, allocations: 7.938 kB / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1158, allocations: 0 / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1159, allocations: 19.98 kB / 492 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.1159, allocations: 4 kB / 492 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.116, allocations: 11.94 kB / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1161, allocations: 7.984 kB / 492 MB, free: 10.96 MB / 366.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.0002096/0.1163, allocations: 229.8 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.1163, allocations: 47.34 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.1164, allocations: 60.09 kB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1164, allocations: 0 / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1164, allocations: 0 / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1164, allocations: 7.984 kB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1168, allocations: 349.2 kB / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1168, allocations: 0 / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.1168, allocations: 11.98 kB / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1168, allocations: 0 / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1168, allocations: 8 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1168, allocations: 0 / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1168, allocations: 3.938 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.1172, allocations: 201.3 kB / 492.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1173, allocations: 148.4 kB / 493 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.1174, allocations: 0 / 493 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.1175, allocations: 11.98 kB / 493 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1175, allocations: 11.98 kB / 493.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1175, allocations: 8 kB / 493.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007844/0.1183, allocations: 0.7604 MB / 493.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1183, allocations: 3.938 kB / 493.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1186, allocations: 43.98 kB / 493.9 MB, free: 8.98 MB / 366.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.001409/0.12, allocations: 1.029 MB / 494.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1203, allocations: 83.89 kB / 495 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1203, allocations: 0 / 495 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1204, allocations: 39.92 kB / 495 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1208, allocations: 74.83 kB / 495.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.1262, allocations: 4.65 MB / 499.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.1266, allocations: 0.8468 MB / 0.4889 GB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1267, allocations: 54.94 kB / 0.4889 GB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.1269, allocations: 151.4 kB / 0.4891 GB, free: 2.016 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1269, allocations: 4 kB / 0.4891 GB, free: 2.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.1445, allocations: 8.178 MB / 0.497 GB, free: 9.957 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.1447, allocations: 228.3 kB / 0.4973 GB, free: 9.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.052, allocations: 0 / 0.4973 GB, free: 9.707 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)