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.0009193/0.0009197, allocations: 95.22 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003852, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 63.47 MB / 481.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002384/0.1379, allocations: 1.517 MB / 483.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.14, allocations: 1.034 MB / 484.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1401, allocations: 0 / 484.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.1407, allocations: 295.4 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005061/0.1412, allocations: 223.4 kB / 484.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.1417, allocations: 147.1 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.1421, allocations: 215.3 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.1422, allocations: 17.66 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1425, allocations: 115.6 kB / 485.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.1428, allocations: 167.4 kB / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.1429, allocations: 4 kB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.143, allocations: 39.98 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1432, allocations: 131.6 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.1432, allocations: 81.45 kB / 485.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1436, allocations: 279.7 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1436, allocations: 0 / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1436, allocations: 0 / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1436, allocations: 0 / 485.9 MB, free: 0.9844 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.001054/0.1447, allocations: 0.6726 MB / 486.6 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1447, allocations: 8.031 kB / 486.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.1448, allocations: 38.56 kB / 486.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1449, allocations: 51.33 kB / 486.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.1457, allocations: 431 kB / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1458, allocations: 7.984 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1458, allocations: 0 / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.146, allocations: 79.38 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1461, allocations: 4 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1461, allocations: 0 / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1461, allocations: 3.984 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1463, allocations: 31.92 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.1468, allocations: 386.2 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1472, allocations: 105.2 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1474, allocations: 41.7 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1474, allocations: 3.938 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.1477, allocations: 105.1 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.1478, allocations: 0 / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006569/0.1484, allocations: 197 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1485, allocations: 81.11 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.1502, allocations: 1.026 MB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1502, allocations: 33.7 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.1505, allocations: 232.1 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.1506, allocations: 31.62 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1506, allocations: 4 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.1508, allocations: 374.7 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1509, allocations: 31.98 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1511, allocations: 59.34 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1512, allocations: 32 kB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1512, allocations: 0 / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004691/0.1517, allocations: 164.9 kB / 490.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1518, allocations: 8.062 kB / 490.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1518, allocations: 4 kB / 490.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1518, allocations: 0 / 490.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.152, allocations: 23.92 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.152, allocations: 4 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1522, allocations: 8 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1522, allocations: 4 kB / 490.1 MB, free: 12.47 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.0003218/0.1525, allocations: 237.5 kB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.1526, allocations: 51.34 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.1527, allocations: 60.09 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1528, allocations: 0 / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.1528, allocations: 4 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1528, allocations: 0 / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.1532, allocations: 338 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1532, allocations: 4 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.1533, allocations: 7.984 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1533, allocations: 4 kB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1533, allocations: 4 kB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1534, allocations: 4 kB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1534, allocations: 0 / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1538, allocations: 205.2 kB / 491 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.154, allocations: 144.4 kB / 491.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.1541, allocations: 4 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1542, allocations: 7.984 kB / 491.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.1543, allocations: 8 kB / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.1544, allocations: 15.98 kB / 491.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.1556, allocations: 0.7565 MB / 491.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1556, allocations: 0 / 491.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.1561, allocations: 43.98 kB / 492 MB, free: 10.49 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.002022/0.1581, allocations: 1.064 MB / 493 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1585, allocations: 79.89 kB / 493.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1585, allocations: 0 / 493.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.1587, allocations: 35.98 kB / 493.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.1594, allocations: 65.08 kB / 493.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.1657, allocations: 2.902 MB / 496.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.1664, allocations: 0.843 MB / 497 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.1667, allocations: 50.95 kB / 497 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.167, allocations: 151.4 kB / 497.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.167, allocations: 0 / 497.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.1963, allocations: 8.061 MB / 0.4934 GB, free: 13.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.1967, allocations: 217.4 kB / 0.4936 GB, free: 13.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.193, allocations: 3.938 kB / 0.4936 GB, free: 13.14 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat