Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008445/0.0008447, allocations: 96.02 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009221/0.0009221, allocations: 191.1 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002306/0.1518, allocations: 1.431 MB / 483.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1541, allocations: 1.519 MB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.1542, allocations: 0 / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1546, allocations: 39.77 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.1549, allocations: 83.73 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1552, allocations: 91.02 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1554, allocations: 103.7 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.1555, allocations: 15.98 kB / 484.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.1556, allocations: 43.78 kB / 485 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1558, allocations: 39.83 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1558, allocations: 0 / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.156, allocations: 95.88 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.156, allocations: 15.92 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.1561, allocations: 37.64 kB / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1563, allocations: 144 kB / 485.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1563, allocations: 0 / 485.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1563, allocations: 0 / 485.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1564, allocations: 4 kB / 485.3 MB, free: 1.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005868/0.1569, allocations: 411 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.157, allocations: 8.031 kB / 485.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.157, allocations: 34.56 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1571, allocations: 15.91 kB / 485.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1574, allocations: 226.6 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1574, allocations: 4 kB / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1574, allocations: 0 / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1576, allocations: 79.39 kB / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1576, allocations: 0 / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1577, allocations: 0 / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1577, allocations: 0 / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.04e-05/0.1578, allocations: 31.97 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1582, allocations: 296.8 kB / 486.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1584, allocations: 70.67 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1584, allocations: 24.84 kB / 486.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1585, allocations: 4 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1587, allocations: 71.45 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1587, allocations: 3.938 kB / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006321/0.1593, allocations: 197.4 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1594, allocations: 84.89 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1596, allocations: 170.2 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1596, allocations: 25.7 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.1597, allocations: 100.1 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1597, allocations: 23.75 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.1598, allocations: 7.938 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1599, allocations: 322.8 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.16, allocations: 27.98 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.1601, allocations: 46.56 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.1602, allocations: 35.92 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1602, allocations: 0 / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002172/0.1604, allocations: 109.4 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1604, allocations: 11.94 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1604, allocations: 8.047 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1605, allocations: 0 / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1606, allocations: 19.95 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1606, allocations: 0 / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.1607, allocations: 8 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1607, allocations: 7.984 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001136/0.1608, allocations: 117.8 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1608, allocations: 11.91 kB / 487.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.1609, allocations: 20.7 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1609, allocations: 4 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1609, allocations: 3.953 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1609, allocations: 7.984 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.1615, allocations: 411.2 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1615, allocations: 0 / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1615, allocations: 12 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1615, allocations: 0 / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1616, allocations: 11.94 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1616, allocations: 8.031 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1616, allocations: 0 / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1618, allocations: 212.8 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1619, allocations: 93 kB / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.1619, allocations: 4 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.162, allocations: 7.953 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1621, allocations: 15.98 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1621, allocations: 4 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1622, allocations: 127.2 kB / 488.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1622, allocations: 0 / 488.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1626, allocations: 48 kB / 488.8 MB, free: 13.71 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001701/0.1643, allocations: 1.193 MB / 490 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1645, allocations: 67.91 kB / 490.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1645, allocations: 0 / 490.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.1646, allocations: 39.98 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1649, allocations: 27.94 kB / 490.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1662, allocations: 0.711 MB / 490.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1664, allocations: 0.7009 MB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.98e-05/0.1665, allocations: 28.78 kB / 491.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1666, allocations: 47.34 kB / 491.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1666, allocations: 0 / 491.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.1826, allocations: 3.696 MB / 495.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.1829, allocations: 229.9 kB / 495.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.065, allocations: 4 kB / 495.6 MB, free: 7.168 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat