Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.000932/0.0009319, allocations: 94.77 kB / 16.98 MB, free: 5.941 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.0008745/0.0008745, allocations: 182.7 kB / 17.88 MB, free: 5.609 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005449, allocations: 12.7 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1585, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002473/0.161, allocations: 1.348 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1624, allocations: 0.7802 MB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.609e-05/0.1625, allocations: 3.938 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1629, allocations: 59.8 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1631, allocations: 51.86 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1633, allocations: 87.22 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1635, allocations: 63.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.1636, allocations: 11.98 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.1637, allocations: 43.83 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.1637, allocations: 35.83 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1638, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.1638, allocations: 23.94 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.1639, allocations: 15.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.1639, allocations: 33.7 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1641, allocations: 80.05 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1641, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1641, allocations: 4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1641, allocations: 0 / 474.2 MB, free: 11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000517/0.1646, allocations: 391 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1647, allocations: 8.031 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.1647, allocations: 38.5 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1648, allocations: 11.91 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.165, allocations: 194.9 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.165, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.165, allocations: 11.95 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1652, allocations: 49.61 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1652, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1652, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1652, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.1653, allocations: 15.98 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1655, allocations: 181.6 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1656, allocations: 50.62 kB / 475.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1657, allocations: 0 / 475.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1659, allocations: 71.38 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1659, allocations: 0 / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002552/0.1661, allocations: 97.52 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1662, allocations: 55.39 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1664, allocations: 190.1 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1664, allocations: 25.7 kB / 475.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1665, allocations: 100.1 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1665, allocations: 11.81 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.1665, allocations: 4 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1666, allocations: 326.8 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.1667, allocations: 19.97 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.1667, allocations: 25.7 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.1668, allocations: 20 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1668, allocations: 0 / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001572/0.167, allocations: 81.53 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.167, allocations: 7.953 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.167, allocations: 0 / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.167, allocations: 0 / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.1671, allocations: 15.98 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1671, allocations: 0 / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1672, allocations: 8.031 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1672, allocations: 3.938 kB / 476.2 MB, free: 8.785 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 (7): * Single equations (assignments): 7 * 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 9.476e-05/0.1673, allocations: 126.4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1673, allocations: 15.81 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.1673, allocations: 12.27 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1673, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1673, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1674, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1675, allocations: 189.9 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1675, allocations: 0 / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.1675, allocations: 15.94 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1675, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1675, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1676, allocations: 3.953 kB / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1676, allocations: 0 / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1677, allocations: 109 kB / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1678, allocations: 93 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1678, allocations: 0 / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.1679, allocations: 8 kB / 476.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1679, allocations: 3.953 kB / 476.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1679, allocations: 4 kB / 476.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.168, allocations: 139.2 kB / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.168, allocations: 0 / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1683, allocations: 20 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001206/0.1695, allocations: 0.9478 MB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1696, allocations: 39.97 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1696, allocations: 7.938 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.1697, allocations: 12 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1699, allocations: 27.92 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.171, allocations: 0.7933 MB / 478.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1713, allocations: 0.7082 MB / 479.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1713, allocations: 8.547 kB / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.1714, allocations: 31.42 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1714, allocations: 0 / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.184, allocations: 2.63 MB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.1842, allocations: 219.3 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.882, allocations: 3.938 kB / 482.3 MB, free: 2.688 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat