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.001053/0.001053, allocations: 99.33 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 195.8 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002828, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 63.48 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002052/0.1389, allocations: 1.513 MB / 483.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1405, allocations: 1.034 MB / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1406, allocations: 4 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.1411, allocations: 303.3 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.1415, allocations: 227.4 kB / 484.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1419, allocations: 143 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.1422, allocations: 219.3 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.1423, allocations: 9.688 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1424, allocations: 119.6 kB / 485.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1427, allocations: 167.5 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1427, allocations: 8 kB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1428, allocations: 39.98 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.143, allocations: 139.5 kB / 485.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.1431, allocations: 77.45 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1434, allocations: 287.7 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1434, allocations: 0 / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1434, allocations: 0 / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1434, allocations: 0 / 485.9 MB, free: 0.9727 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.0009441/0.1444, allocations: 0.6842 MB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1445, allocations: 8.031 kB / 486.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1445, allocations: 38.56 kB / 486.6 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.1446, allocations: 43.44 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.1452, allocations: 434.9 kB / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1452, allocations: 7.984 kB / 487.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1453, allocations: 3.984 kB / 487.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1455, allocations: 83.38 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1455, allocations: 4 kB / 487.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1455, allocations: 7.984 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1455, allocations: 0 / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1456, allocations: 31.92 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.1461, allocations: 386.3 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1463, allocations: 109.2 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.1464, allocations: 37.7 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1465, allocations: 0 / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.1467, allocations: 116.9 kB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1467, allocations: 0 / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004565/0.1472, allocations: 201.4 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.1473, allocations: 77.11 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.1484, allocations: 1.061 MB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.1485, allocations: 25.7 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.1487, allocations: 240.1 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.1488, allocations: 27.7 kB / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.1488, allocations: 4 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1489, allocations: 374.7 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.149, allocations: 23.98 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1491, allocations: 59.42 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.1492, allocations: 35.98 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1492, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002824/0.1495, allocations: 168.9 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1496, allocations: 4 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1496, allocations: 0 / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1496, allocations: 7.984 kB / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1497, allocations: 16 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1497, allocations: 4 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1499, allocations: 19.98 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1499, allocations: 4 kB / 490.2 MB, free: 12.39 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.1501, allocations: 233.6 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.1502, allocations: 51.34 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.1503, allocations: 60.14 kB / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1503, allocations: 0 / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1503, allocations: 0 / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1503, allocations: 0 / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1508, allocations: 353.3 kB / 490.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1508, allocations: 4 kB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.1508, allocations: 7.984 kB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1508, allocations: 4 kB / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1508, allocations: 0 / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1508, allocations: 256 / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1509, allocations: 8 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1512, allocations: 205.1 kB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.1514, allocations: 152.5 kB / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.1514, allocations: 4 kB / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.1515, allocations: 11.98 kB / 491.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.1516, allocations: 7.984 kB / 491.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1516, allocations: 4 kB / 491.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008757/0.1525, allocations: 0.7838 MB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1525, allocations: 0 / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1528, allocations: 47.89 kB / 492.1 MB, free: 10.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/0.1543, allocations: 1.049 MB / 493.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1546, allocations: 79.89 kB / 493.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1546, allocations: 4.125 kB / 493.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.1547, allocations: 39.92 kB / 493.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1551, allocations: 62.27 kB / 493.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.1599, allocations: 2.965 MB / 496.3 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.1605, allocations: 0.8391 MB / 497.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.1607, allocations: 62.94 kB / 497.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.1609, allocations: 155.4 kB / 497.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1609, allocations: 0 / 497.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.1828, allocations: 8.209 MB / 0.4937 GB, free: 13.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.183, allocations: 220.3 kB / 0.4939 GB, free: 12.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.223, allocations: 0 / 0.4939 GB, free: 12.82 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat