Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001144/0.001144, allocations: 98.72 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.001392/0.001392, allocations: 174.4 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.46/1.46, allocations: 223.2 MB / 241.9 MB, free: 244 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.2053/0.2053, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002064/0.1599, allocations: 1.263 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.1608, allocations: 395.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.1608, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1611, allocations: 19.92 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1612, allocations: 27.91 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1614, allocations: 75.61 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1616, allocations: 55.83 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.1617, allocations: 12.17 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.1617, allocations: 23.86 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.1618, allocations: 19.92 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1618, allocations: 11.92 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1619, allocations: 39.92 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.162, allocations: 8 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.162, allocations: 33.64 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1622, allocations: 84.03 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1622, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1622, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1622, allocations: 0 / 473.7 MB, free: 11.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004862/0.1627, allocations: 375.1 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1627, allocations: 12.03 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1628, allocations: 34.56 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.1628, allocations: 7.906 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.163, allocations: 179 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.163, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.163, allocations: 15.89 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1632, allocations: 75.38 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1633, allocations: 0 / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1633, allocations: 0 / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1633, allocations: 0 / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.1634, allocations: 31.97 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.1638, allocations: 304.7 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.164, allocations: 62.5 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.164, allocations: 28.97 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1641, allocations: 4 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1641, allocations: 38.56 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1641, allocations: 0 / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006142/0.1647, allocations: 197.2 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1648, allocations: 81.11 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1649, allocations: 141.1 kB / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.165, allocations: 25.7 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.165, allocations: 92.14 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1651, allocations: 23.64 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.1651, allocations: 4 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1652, allocations: 330.7 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.1653, allocations: 31.98 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/0.1654, allocations: 49.69 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.98e-05/0.1655, allocations: 40.11 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1655, allocations: 4.031 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002199/0.1657, allocations: 121.5 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1658, allocations: 4 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1658, allocations: 0 / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1658, allocations: 4 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1659, allocations: 19.98 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1659, allocations: 4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.166, allocations: 7.984 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.166, allocations: 4 kB / 476 MB, free: 9.016 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 (9): * Single equations (assignments): 9 * 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.0001103/0.1661, allocations: 122.3 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1661, allocations: 11.91 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.1664, allocations: 130.2 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1664, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1664, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1664, allocations: 3.984 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.167, allocations: 402.6 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.167, allocations: 3.984 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.1671, allocations: 16 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1671, allocations: 0 / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1671, allocations: 7.938 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1671, allocations: 3.984 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1671, allocations: 0 / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1674, allocations: 211.3 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.1674, allocations: 85.02 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1674, allocations: 4 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1675, allocations: 11.98 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1676, allocations: 4 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1676, allocations: 384 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.1677, allocations: 119.2 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1679, allocations: 27.95 kB / 477.1 MB, free: 7.77 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 (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.001494/0.1694, allocations: 1.087 MB / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1697, allocations: 75.95 kB / 478.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1697, allocations: 0 / 478.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.1698, allocations: 43.91 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1701, allocations: 25.97 kB / 478.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1712, allocations: 0.6109 MB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1715, allocations: 0.6926 MB / 479.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.997e-05/0.1715, allocations: 32.78 kB / 479.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.1716, allocations: 31.42 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1716, allocations: 0 / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1846, allocations: 2.603 MB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.1848, allocations: 236.5 kB / 482.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.058, allocations: 0 / 482.6 MB, free: 2.543 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat does not exist to compare? outputFormat=mat