Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 76.67 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1111, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004098/0.1153, allocations: 1.829 MB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1172, allocations: 1.091 MB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1174, allocations: 0 / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.118, allocations: 299.3 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000597/0.1186, allocations: 259.2 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1189, allocations: 103.6 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.1194, allocations: 259.3 kB / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.1194, allocations: 13.67 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1196, allocations: 131.5 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1199, allocations: 195.9 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1199, allocations: 4 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.12, allocations: 47.98 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1202, allocations: 136.5 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1203, allocations: 138.8 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.1207, allocations: 367 kB / 485 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1207, allocations: 3.938 kB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1207, allocations: 3.984 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1207, allocations: 0 / 485 MB, free: 340 kB / 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.001033/0.1218, allocations: 0.723 MB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1218, allocations: 8.031 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1219, allocations: 38.73 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.122, allocations: 52.28 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.1226, allocations: 451.8 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1226, allocations: 4.312 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1226, allocations: 7.938 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.1229, allocations: 87.36 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1229, allocations: 0 / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.123, allocations: 0 / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.123, allocations: 4 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1231, allocations: 31.97 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1235, allocations: 374.3 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.1238, allocations: 113.2 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1239, allocations: 37.7 kB / 486.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1239, allocations: 4 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.1242, allocations: 109 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1242, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005747/0.1248, allocations: 200.9 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1248, allocations: 85.05 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1259, allocations: 1.022 MB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1259, allocations: 25.7 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1262, allocations: 240.1 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1262, allocations: 27.64 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.1263, allocations: 29.72 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1264, allocations: 374.8 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.1265, allocations: 27.92 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.1266, allocations: 51.42 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1268, allocations: 99.84 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1269, allocations: 3.938 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002895/0.1272, allocations: 165 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1272, allocations: 8 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1272, allocations: 0 / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1272, allocations: 4.062 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1273, allocations: 23.98 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1273, allocations: 3.938 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.1274, allocations: 15.89 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1275, allocations: 4 kB / 489.4 MB, free: 11.64 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.0001939/0.1277, allocations: 217.7 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1277, allocations: 51.42 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.1278, allocations: 56.09 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1278, allocations: 4 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1278, allocations: 4 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1279, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.1281, allocations: 353.2 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1281, allocations: 0 / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.1282, allocations: 4 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1282, allocations: 7.938 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1282, allocations: 4 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1282, allocations: 4 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1282, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.1286, allocations: 205.2 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.1288, allocations: 136.6 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.1289, allocations: 8.062 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.129, allocations: 8 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.129, allocations: 11.92 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1291, allocations: 4 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007573/0.1298, allocations: 0.7682 MB / 491.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1298, allocations: 4 kB / 491.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1301, allocations: 40 kB / 491.2 MB, free: 9.668 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.001566/0.1317, allocations: 1.046 MB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.1319, allocations: 87.97 kB / 492.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.132, allocations: 0 / 492.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1321, allocations: 44.22 kB / 492.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1325, allocations: 66.27 kB / 492.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.1378, allocations: 4.589 MB / 497.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1382, allocations: 0.8388 MB / 497.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1384, allocations: 54.95 kB / 498 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.1386, allocations: 151.4 kB / 498.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1386, allocations: 3.938 kB / 498.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.1704, allocations: 8.744 MB / 0.495 GB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.744, allocations: 25.12 kB / 0.495 GB, free: 10.07 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)