Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 76.11 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1276, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004028/0.1316, allocations: 1.822 MB / 482 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1338, allocations: 1.099 MB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1339, allocations: 3.938 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.1345, allocations: 311.3 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.1351, allocations: 255.2 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1355, allocations: 103.6 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.1359, allocations: 263.4 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/0.136, allocations: 17.67 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1363, allocations: 127.5 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.1365, allocations: 199.4 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.1366, allocations: 8 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1367, allocations: 47.97 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1369, allocations: 131.6 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.137, allocations: 150.7 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.1375, allocations: 371 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1375, allocations: 0 / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1375, allocations: 0 / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1376, allocations: 4 kB / 485 MB, free: 288 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.001168/0.1387, allocations: 0.7384 MB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1388, allocations: 12.03 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1388, allocations: 34.75 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.139, allocations: 52.28 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.1396, allocations: 451.8 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1397, allocations: 384 / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1397, allocations: 15.92 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.14, allocations: 87.31 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.14, allocations: 0 / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.14, allocations: 0 / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1401, allocations: 4 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1402, allocations: 31.91 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.1407, allocations: 378.4 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.141, allocations: 117.1 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1411, allocations: 37.7 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1411, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.1415, allocations: 113 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1415, allocations: 0 / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005791/0.1421, allocations: 197.4 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.1422, allocations: 81.05 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.1433, allocations: 1.058 MB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1434, allocations: 29.7 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1435, allocations: 236.1 kB / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.1436, allocations: 35.53 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.1437, allocations: 25.72 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1439, allocations: 374.8 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.144, allocations: 27.98 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1441, allocations: 59.48 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1443, allocations: 91.34 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1443, allocations: 3.938 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003329/0.1446, allocations: 165 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1447, allocations: 12.06 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1447, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1447, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1448, allocations: 27.92 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1448, allocations: 0 / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.145, allocations: 11.92 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.145, allocations: 8 kB / 489.5 MB, free: 11.53 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.0002215/0.1452, allocations: 221.7 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.1453, allocations: 51.34 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.443e-05/0.1454, allocations: 72.08 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1454, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1454, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1454, allocations: 7.938 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.1458, allocations: 341.4 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1458, allocations: 128 / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.1458, allocations: 15.98 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1458, allocations: 0 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1458, allocations: 0 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1459, allocations: 4 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1459, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.1462, allocations: 205.2 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1463, allocations: 136.4 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.1464, allocations: 7.984 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.1465, allocations: 8 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1465, allocations: 7.984 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1466, allocations: 8 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007697/0.1473, allocations: 0.7839 MB / 491.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1473, allocations: 0 / 491.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1476, allocations: 47.94 kB / 491.4 MB, free: 9.527 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.00152/0.1492, allocations: 1.059 MB / 492.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1494, allocations: 83.89 kB / 492.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1494, allocations: 0 / 492.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1496, allocations: 39.92 kB / 492.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.15, allocations: 72.33 kB / 492.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.1556, allocations: 4.678 MB / 497.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1561, allocations: 0.8505 MB / 498.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1562, allocations: 59.44 kB / 498.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.1564, allocations: 151.4 kB / 498.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1564, allocations: 3.938 kB / 498.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.1857, allocations: 8.906 MB / 0.4954 GB, free: 9.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.624, allocations: 15.72 kB / 0.4954 GB, free: 9.668 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)