Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.001322/0.001322, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 177.2 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.454/0.454, allocations: 43.54 MB / 314.5 MB, free: 8.691 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006294/0.0006298, allocations: 16 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1597, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002556/0.1624, allocations: 1.388 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1639, allocations: 0.7305 MB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1641, allocations: 0 / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1644, allocations: 31.78 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1647, allocations: 43.88 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1651, allocations: 79.77 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1653, allocations: 51.94 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1655, allocations: 16.2 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1656, allocations: 43.78 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1657, allocations: 27.84 kB / 445.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1657, allocations: 4 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1659, allocations: 23.94 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.1659, allocations: 19.92 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.166, allocations: 33.7 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1662, allocations: 84.08 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1662, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1662, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1662, allocations: 4 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000773/0.167, allocations: 406.7 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.1671, allocations: 8.031 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.963e-05/0.1671, allocations: 30.56 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1672, allocations: 11.91 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1676, allocations: 206.8 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1676, allocations: 4 kB / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.1676, allocations: 3.984 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1678, allocations: 57.67 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1678, allocations: 0 / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1678, allocations: 11.89 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1679, allocations: 0 / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.1679, allocations: 19.98 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.1685, allocations: 292.8 kB / 446.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1687, allocations: 58.61 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1687, allocations: 4 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.1689, allocations: 67.47 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1689, allocations: 0 / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006014/0.1695, allocations: 173.2 kB / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1696, allocations: 51.41 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1698, allocations: 186.2 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1699, allocations: 33.7 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.1699, allocations: 100.1 kB / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.17, allocations: 23.7 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.17, allocations: 0 / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1702, allocations: 322.8 kB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.1702, allocations: 23.98 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.1703, allocations: 33.7 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.1704, allocations: 27.94 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1704, allocations: 0 / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.1706, allocations: 109.5 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1707, allocations: 8 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1707, allocations: 0 / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1707, allocations: 0 / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.1708, allocations: 15.94 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1708, allocations: 0 / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.1709, allocations: 12.02 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1709, allocations: 8 kB / 447.7 MB, free: 7.906 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001087/0.171, allocations: 121.8 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.171, allocations: 15.77 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.1711, allocations: 20.7 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1711, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1711, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1711, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.1716, allocations: 399.3 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1716, allocations: 0 / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1716, allocations: 8 kB / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.1716, allocations: 3.984 kB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1717, allocations: 0 / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.1717, allocations: 4.188 kB / 448.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1717, allocations: 3.938 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.172, allocations: 217.9 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.172, allocations: 89.3 kB / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1721, allocations: 7.984 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1721, allocations: 8 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.1722, allocations: 0 / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1722, allocations: 11.98 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1724, allocations: 144.1 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1724, allocations: 0 / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1726, allocations: 27.98 kB / 448.8 MB, free: 6.738 MB / 382.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 (8): * Single equations (assignments): 6 * 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.001559/0.1742, allocations: 1.176 MB / 449.9 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1744, allocations: 63.91 kB / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1744, allocations: 0 / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.1745, allocations: 20.28 kB / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1748, allocations: 36.11 kB / 450 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.176, allocations: 0.8432 MB / 450.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1763, allocations: 0.7043 MB / 451.6 MB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.1764, allocations: 16.88 kB / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.1764, allocations: 35.42 kB / 451.6 MB, free: 3.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1764, allocations: 0 / 451.6 MB, free: 3.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1933, allocations: 2.915 MB / 454.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.1935, allocations: 208.5 kB / 454.8 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/1.985, allocations: 4 kB / 454.8 MB, free: 0.6133 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat