Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009998, allocations: 100.9 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004404, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.162, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002938/0.165, allocations: 1.398 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.167, allocations: 0.8074 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1671, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.1676, allocations: 91.8 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1679, allocations: 83.7 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.1684, allocations: 94.62 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1686, allocations: 79.83 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1688, allocations: 11.98 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1689, allocations: 47.83 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.169, allocations: 59.81 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1691, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1692, allocations: 39.98 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.1693, allocations: 27.86 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.1694, allocations: 37.64 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1696, allocations: 112 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1697, allocations: 4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1697, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1697, allocations: 0 / 474.4 MB, free: 10.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006788/0.1704, allocations: 438.7 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1704, allocations: 8.031 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1705, allocations: 34.56 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1705, allocations: 15.75 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1708, allocations: 218.6 kB / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.1709, allocations: 7.984 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1709, allocations: 7.953 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1711, allocations: 61.67 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1711, allocations: 0 / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1711, allocations: 0 / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1712, allocations: 4 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1713, allocations: 43.89 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.1718, allocations: 316.7 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1722, allocations: 70.55 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1722, allocations: 4 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.1724, allocations: 79.41 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.1724, allocations: 0 / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001021/0.1735, allocations: 269.1 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1735, allocations: 55.41 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1738, allocations: 242.5 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1738, allocations: 33.7 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1739, allocations: 112.1 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1739, allocations: 39.45 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.1739, allocations: 4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.174, allocations: 330.7 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.1741, allocations: 31.98 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.1742, allocations: 49.7 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1744, allocations: 43.92 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1744, allocations: 4 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003573/0.1747, allocations: 133.5 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1748, allocations: 4 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1748, allocations: 4 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1748, allocations: 0 / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.175, allocations: 35.92 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.175, allocations: 0 / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.1751, allocations: 4 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1751, allocations: 7.938 kB / 477.1 MB, free: 7.855 MB / 350.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 (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.000166/0.1753, allocations: 142.3 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.1753, allocations: 19.81 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/0.1754, allocations: 26.03 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1754, allocations: 4 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1754, allocations: 0 / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1755, allocations: 0 / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.1763, allocations: 476 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1763, allocations: 0 / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.1764, allocations: 19.94 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1764, allocations: 0 / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1765, allocations: 11.98 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1765, allocations: 0 / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1765, allocations: 0 / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.1769, allocations: 268.7 kB / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.177, allocations: 96.86 kB / 478.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.1771, allocations: 3.953 kB / 478.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1772, allocations: 15.92 kB / 478.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1773, allocations: 4 kB / 478.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.1773, allocations: 15.98 kB / 478.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.1776, allocations: 183 kB / 478.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1776, allocations: 0 / 478.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.1781, allocations: 32 kB / 478.4 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002414/0.1805, allocations: 1.362 MB / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1808, allocations: 79.91 kB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1809, allocations: 4 kB / 479.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.181, allocations: 43.92 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1814, allocations: 28.36 kB / 479.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1836, allocations: 1.082 MB / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.184, allocations: 0.7281 MB / 481.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1841, allocations: 25.05 kB / 481.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.1843, allocations: 51.42 kB / 481.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1843, allocations: 0 / 481.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.1978, allocations: 3.609 MB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.198, allocations: 223.8 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.916, allocations: 0 / 485.6 MB, free: 15.39 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat