Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001007/0.001007, allocations: 98.75 kB / 16.98 MB, free: 5.938 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.001057/0.001058, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.379/1.379, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.21/0.21, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004477, allocations: 13.78 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 61.93 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002343/0.1617, allocations: 1.271 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.1624, allocations: 363.6 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.1625, allocations: 0 / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1628, allocations: 71.78 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.163, allocations: 59.84 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1633, allocations: 75.3 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1635, allocations: 51.81 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1636, allocations: 16.17 kB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.1637, allocations: 31.89 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1638, allocations: 35.84 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1638, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.1639, allocations: 31.92 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.164, allocations: 19.92 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.164, allocations: 33.7 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1641, allocations: 72.17 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1642, allocations: 3.938 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1642, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1642, allocations: 0 / 473.7 MB, free: 11.49 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.0005624/0.1647, allocations: 399 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1648, allocations: 8.031 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1648, allocations: 34.55 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.1649, allocations: 7.906 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1651, allocations: 190.8 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1652, allocations: 8 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1652, allocations: 11.86 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1654, allocations: 53.61 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1654, allocations: 4 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1654, allocations: 4 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1655, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1656, allocations: 31.97 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.1661, allocations: 288.8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1662, allocations: 46.59 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.1663, allocations: 7.984 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1663, allocations: 34.56 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1663, allocations: 0 / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001085/0.1674, allocations: 249.5 kB / 475 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1675, allocations: 51.41 kB / 475.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1677, allocations: 206.2 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.1678, allocations: 29.7 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1679, allocations: 112 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.1679, allocations: 19.66 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.168, allocations: 4 kB / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1682, allocations: 322.8 kB / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.1683, allocations: 27.98 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.1684, allocations: 36.05 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/0.1685, allocations: 39.98 kB / 475.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1685, allocations: 0 / 475.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002439/0.1687, allocations: 105.5 kB / 475.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1688, allocations: 11.94 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1688, allocations: 0 / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1688, allocations: 4 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1689, allocations: 19.98 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.169, allocations: 4 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.169, allocations: 4 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.169, allocations: 3.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.0001461/0.1692, allocations: 142.2 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.1692, allocations: 7.906 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.1695, allocations: 118.4 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1695, allocations: 0 / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1695, allocations: 4 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1695, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.1701, allocations: 419.2 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1701, allocations: 0 / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1702, allocations: 24.02 kB / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1702, allocations: 0 / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.1703, allocations: 11.94 kB / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1703, allocations: 0 / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1703, allocations: 0 / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.1706, allocations: 226.3 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1706, allocations: 88.92 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1707, allocations: 4 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.1707, allocations: 7.984 kB / 477 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1708, allocations: 7.953 kB / 477 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1708, allocations: 4 kB / 477 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1709, allocations: 159.2 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1709, allocations: 0 / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1712, allocations: 23.98 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.001668/0.1729, allocations: 1.175 MB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1731, allocations: 75.91 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1731, allocations: 0 / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.1732, allocations: 35.98 kB / 478.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1735, allocations: 28 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.175, allocations: 0.7286 MB / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.1755, allocations: 0.7119 MB / 480 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1756, allocations: 20.91 kB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1757, allocations: 27.42 kB / 480 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1757, allocations: 0 / 480 MB, free: 4.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.1901, allocations: 2.55 MB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1903, allocations: 223.4 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.008, allocations: 0 / 482.8 MB, free: 2.184 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat