Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.0008901/0.0008901, allocations: 99.03 kB / 17 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.001015/0.001015, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.415/1.415, allocations: 223.3 MB / 241.9 MB, free: 332 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.2129/0.2129, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004611, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1625, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001827/0.1644, allocations: 1.263 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000656/0.1651, allocations: 391.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1651, allocations: 4 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1654, allocations: 19.91 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1655, allocations: 31.91 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1658, allocations: 94.69 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1659, allocations: 51.84 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.166, allocations: 8.188 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.1661, allocations: 27.86 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.1661, allocations: 19.91 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1661, allocations: 4 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.1662, allocations: 43.98 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.1663, allocations: 3.938 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.1663, allocations: 37.64 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1664, allocations: 80.03 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1665, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1665, allocations: 3.938 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1665, allocations: 0 / 473.7 MB, free: 11.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004242/0.1669, allocations: 375.2 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1669, allocations: 8.031 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.167, allocations: 30.56 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.167, allocations: 4 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1672, allocations: 186.9 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1672, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1672, allocations: 3.953 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1674, allocations: 71.34 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1674, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1674, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1674, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.1675, allocations: 27.97 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1679, allocations: 296.9 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.168, allocations: 58.44 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.1681, allocations: 24.94 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1681, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1681, allocations: 34.56 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1682, allocations: 4 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005687/0.1687, allocations: 197.2 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1688, allocations: 77.11 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1689, allocations: 140.9 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1689, allocations: 25.7 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.169, allocations: 92.14 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.169, allocations: 27.64 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.169, allocations: 0 / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1691, allocations: 326.8 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.1692, allocations: 27.98 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.1693, allocations: 53.62 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.1694, allocations: 40 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1694, allocations: 0 / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/0.1696, allocations: 117.5 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1697, allocations: 4 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1697, allocations: 0 / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1697, allocations: 0 / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1698, allocations: 27.98 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1698, allocations: 320 / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.1699, allocations: 8 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1699, allocations: 288 / 476 MB, free: 9.047 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 8.929e-05/0.17, allocations: 122.3 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.17, allocations: 11.89 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1703, allocations: 129.9 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1703, allocations: 8 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1703, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1703, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.1707, allocations: 398.3 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1708, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.1708, allocations: 19.98 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1708, allocations: 0 / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1709, allocations: 4 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1709, allocations: 7.875 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1709, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1711, allocations: 211.4 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.1712, allocations: 81.02 kB / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1712, allocations: 0 / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1713, allocations: 19.98 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.1713, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1713, allocations: 4 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.436e-05/0.1714, allocations: 107.2 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1714, allocations: 0 / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1717, allocations: 20 kB / 477.1 MB, free: 7.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001466/0.1731, allocations: 1.092 MB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1734, allocations: 75.89 kB / 478.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1734, allocations: 0 / 478.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.1735, allocations: 43.92 kB / 478.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1738, allocations: 22.2 kB / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1748, allocations: 0.5994 MB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1752, allocations: 0.6965 MB / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.922e-05/0.1753, allocations: 20.97 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.1753, allocations: 23.42 kB / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1753, allocations: 0 / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.1882, allocations: 2.548 MB / 482.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.1885, allocations: 239.4 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.067, allocations: 7.875 kB / 482.4 MB, free: 2.66 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat does not exist to compare? outputFormat=mat