Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001151/0.001151, allocations: 95.94 kB / 16.99 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.001765/0.001766, allocations: 183.2 kB / 17.87 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.407/1.407, 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.2135/0.2135, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004192, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002314/0.1625, allocations: 1.274 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.1632, allocations: 367.6 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.1633, allocations: 0 / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1636, allocations: 79.75 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1638, allocations: 51.88 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1641, allocations: 71.78 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1642, allocations: 51.88 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1644, allocations: 12.19 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.1644, allocations: 27.89 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1646, allocations: 39.84 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1646, allocations: 7.984 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.1647, allocations: 31.92 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1648, allocations: 19.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.1648, allocations: 33.7 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.165, allocations: 68.17 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.165, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.165, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.165, allocations: 0 / 473.7 MB, free: 11.5 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.0006123/0.1656, allocations: 394.9 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.1657, allocations: 16.02 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.1657, allocations: 38.5 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1658, allocations: 7.906 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1661, allocations: 194.8 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1661, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1661, allocations: 11.86 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1663, allocations: 49.69 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1663, allocations: 4 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1664, allocations: 7.938 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1664, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1665, allocations: 31.97 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.167, allocations: 292.8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1671, allocations: 46.5 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1671, allocations: 4 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1671, allocations: 30.56 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1671, allocations: 0 / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009494/0.1681, allocations: 249.2 kB / 475 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.1682, allocations: 51.41 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1684, allocations: 210.2 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1684, allocations: 25.7 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.1685, allocations: 108 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1686, allocations: 19.66 kB / 475.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.1686, allocations: 4 kB / 475.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1687, allocations: 326.8 kB / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.1688, allocations: 36.05 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.1689, allocations: 27.97 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.169, allocations: 31.98 kB / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.169, allocations: 0 / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000221/0.1692, allocations: 113.4 kB / 475.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1693, allocations: 4 kB / 475.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1693, allocations: 0 / 475.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1693, allocations: 0 / 475.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1695, allocations: 19.98 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1695, allocations: 8 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1695, allocations: 11.98 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1696, allocations: 7.938 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001415/0.1697, allocations: 126.3 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.1698, allocations: 7.906 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.1701, allocations: 135 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1701, allocations: 0 / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1701, allocations: 0 / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1701, allocations: 7.984 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.1707, allocations: 415.2 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1707, allocations: 3.938 kB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.1708, allocations: 19.98 kB / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1708, allocations: 0 / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1708, allocations: 4 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1708, allocations: 0 / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1708, allocations: 3.938 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1711, allocations: 230 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.1712, allocations: 84.92 kB / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1712, allocations: 7.984 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1713, allocations: 12 kB / 477 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.1713, allocations: 11.94 kB / 477 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1714, allocations: 4 kB / 477 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1715, allocations: 151.2 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1718, allocations: 24 kB / 477.2 MB, free: 7.598 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001653/0.1734, allocations: 1.171 MB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1736, allocations: 67.91 kB / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1737, allocations: 8 kB / 478.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.1738, allocations: 35.97 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1741, allocations: 19.95 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1753, allocations: 0.733 MB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1757, allocations: 0.7118 MB / 480 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1757, allocations: 24.58 kB / 480 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.1758, allocations: 31.38 kB / 480 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1758, allocations: 0 / 480 MB, free: 4.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.1898, allocations: 2.547 MB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.19, allocations: 222.1 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.998, allocations: 4 kB / 482.8 MB, free: 2.188 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat