Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 178.6 kB / 14.15 MB, free: 1.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.4 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 91.55 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3149/0.3149, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.832e-05, allocations: 4.156 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1467, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.638, allocations: 90.52 MB / 0.5902 GB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6383, allocations: 71.97 kB / 0.5903 GB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02345/0.6618, allocations: 8.726 MB / 0.5988 GB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6619, allocations: 0 / 0.5988 GB, free: 5.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.676e-05/0.6619, allocations: 11.98 kB / 0.5988 GB, free: 5.922 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000974/0.6629, allocations: 0.5482 MB / 0.5993 GB, free: 5.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.663, allocations: 12.03 kB / 0.5993 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.992e-05/0.6631, allocations: 38.56 kB / 0.5994 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.6632, allocations: 47.52 kB / 0.5994 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.6639, allocations: 341.1 kB / 0.5998 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.664, allocations: 8 kB / 0.5998 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.664, allocations: 11.91 kB / 0.5998 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.6642, allocations: 93.67 kB / 0.5999 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6643, allocations: 224 / 0.5999 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.6643, allocations: 8 kB / 0.5999 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6643, allocations: 7.875 kB / 0.5999 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.6644, allocations: 55.98 kB / 0.5999 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.6654, allocations: 0.5081 MB / 0.6004 GB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.6656, allocations: 82.5 kB / 0.6005 GB, free: 4.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.6656, allocations: 32.81 kB / 0.6005 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.6657, allocations: 8 kB / 0.6005 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.6657, allocations: 38.55 kB / 0.6006 GB, free: 3.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.6657, allocations: 0 / 0.6006 GB, free: 3.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008472/0.6666, allocations: 325.3 kB / 0.6009 GB, free: 3.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.6666, allocations: 59.39 kB / 0.601 GB, free: 3.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.6673, allocations: 491.1 kB / 0.6014 GB, free: 3.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.6673, allocations: 25.7 kB / 0.6014 GB, free: 3.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.6675, allocations: 208.3 kB / 0.6016 GB, free: 2.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.6676, allocations: 55.2 kB / 0.6017 GB, free: 2.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.6676, allocations: 0 / 0.6017 GB, free: 2.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6678, allocations: 350.8 kB / 0.602 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.6678, allocations: 40 kB / 0.6021 GB, free: 2.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.6679, allocations: 40 kB / 0.6021 GB, free: 2.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.668, allocations: 57.23 kB / 0.6022 GB, free: 2.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.668, allocations: 0 / 0.6022 GB, free: 2.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002691/0.6683, allocations: 166.3 kB / 0.6023 GB, free: 2.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6683, allocations: 8 kB / 0.6023 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6683, allocations: 4 kB / 0.6023 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6684, allocations: 0 / 0.6023 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.6685, allocations: 35.92 kB / 0.6024 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6685, allocations: 0 / 0.6024 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.6687, allocations: 19.89 kB / 0.6024 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.6687, allocations: 8 kB / 0.6024 GB, free: 2.016 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.238e-05/0.6688, allocations: 112.9 kB / 0.6025 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.6689, allocations: 39.53 kB / 0.6025 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.6693, allocations: 218.3 kB / 0.6027 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6693, allocations: 4 kB / 0.6027 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6693, allocations: 0 / 0.6027 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6693, allocations: 0 / 0.6027 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.6702, allocations: 0.667 MB / 0.6034 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6703, allocations: 0 / 0.6034 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.6704, allocations: 31.98 kB / 0.6034 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6704, allocations: 0 / 0.6034 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.6704, allocations: 7.938 kB / 0.6034 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6704, allocations: 11.88 kB / 0.6034 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6704, allocations: 0 / 0.6034 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.6707, allocations: 280.6 kB / 0.6037 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.6709, allocations: 144.6 kB / 0.6039 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.6709, allocations: 4 kB / 0.6039 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6711, allocations: 12 kB / 0.6039 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.6711, allocations: 7.984 kB / 0.6039 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.6711, allocations: 4 kB / 0.6039 GB, free: 396 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004303/0.6716, allocations: 397.1 kB / 0.6043 GB, free: 0 / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6716, allocations: 0 / 0.6043 GB, free: 0 / 410.7 MB Notification: Performance of remove unused functions: time 0.0004384/0.672, allocations: 71.92 kB / 0.6043 GB, free: 15.93 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002072/0.6741, allocations: 1.34 MB / 0.6056 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.6744, allocations: 107.9 kB / 0.6057 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6744, allocations: 0 / 0.6057 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6745, allocations: 71.92 kB / 0.6058 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.675, allocations: 60.55 kB / 0.6059 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.6761, allocations: 0.6277 MB / 0.6065 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.6765, allocations: 0.8104 MB / 0.6073 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.6767, allocations: 58.03 kB / 0.6073 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.6769, allocations: 115.4 kB / 0.6074 GB, free: 12.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6769, allocations: 3.938 kB / 0.6074 GB, free: 12.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.6987, allocations: 6.896 MB / 0.6142 GB, free: 6.035 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.699, allocations: 194.8 kB / 0.6144 GB, free: 5.801 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.776, allocations: 0 / 0.6144 GB, free: 5.801 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat does not exist to compare? outputFormat=mat