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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 176.8 kB / 17.06 MB, free: 5.094 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.373/1.373, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009154, allocations: 102.7 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3324/0.3324, allocations: 44.21 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004889, allocations: 8 kB / 460 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4027, allocations: 61.89 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5265, allocations: 88.13 MB / 0.5957 GB, free: 7.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5268, allocations: 87.91 kB / 0.5958 GB, free: 6.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.5401, allocations: 3.717 MB / 0.5994 GB, free: 3.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5402, allocations: 0 / 0.5994 GB, free: 3.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5403, allocations: 0 / 0.5994 GB, free: 3.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005616/0.5408, allocations: 395 kB / 0.5998 GB, free: 2.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.5409, allocations: 11.97 kB / 0.5998 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.541, allocations: 30.56 kB / 0.5998 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.541, allocations: 7.906 kB / 0.5998 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.5413, allocations: 191 kB / 0.6 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5413, allocations: 4 kB / 0.6 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.5413, allocations: 3.953 kB / 0.6 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.5416, allocations: 75.33 kB / 0.6001 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5416, allocations: 0 / 0.6001 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5416, allocations: 0 / 0.6001 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5416, allocations: 0 / 0.6001 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.5417, allocations: 31.92 kB / 0.6001 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.5423, allocations: 292.9 kB / 0.6004 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.5424, allocations: 50.59 kB / 0.6005 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.5425, allocations: 7.984 kB / 0.6005 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.5425, allocations: 38.5 kB / 0.6005 GB, free: 1.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5425, allocations: 0 / 0.6005 GB, free: 1.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007698/0.5433, allocations: 189.2 kB / 0.6007 GB, free: 1.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.5434, allocations: 85.11 kB / 0.6008 GB, free: 1.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.5435, allocations: 125 kB / 0.6009 GB, free: 1.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5436, allocations: 25.7 kB / 0.6009 GB, free: 1.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.5436, allocations: 88.14 kB / 0.601 GB, free: 1.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.5437, allocations: 27.64 kB / 0.601 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.5437, allocations: 0 / 0.601 GB, free: 1.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5438, allocations: 322.8 kB / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.544, allocations: 31.98 kB / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5441, allocations: 49.75 kB / 0.6014 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.5442, allocations: 43.92 kB / 0.6014 GB, free: 0.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.5442, allocations: 0 / 0.6014 GB, free: 0.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002815/0.5445, allocations: 121.5 kB / 0.6016 GB, free: 0.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5445, allocations: 4 kB / 0.6016 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5446, allocations: 0 / 0.6016 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5446, allocations: 0 / 0.6016 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.5447, allocations: 23.98 kB / 0.6016 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5447, allocations: 0 / 0.6016 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.5448, allocations: 12 kB / 0.6016 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.5448, allocations: 4 kB / 0.6016 GB, free: 0.75 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 () * 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.0001108/0.5449, allocations: 118.3 kB / 0.6017 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.545, allocations: 11.89 kB / 0.6017 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.5453, allocations: 122 kB / 0.6018 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5454, allocations: 4.281 kB / 0.6018 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5454, allocations: 0 / 0.6018 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5454, allocations: 0 / 0.6018 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.5459, allocations: 406.3 kB / 0.6022 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5459, allocations: 0 / 0.6022 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.546, allocations: 16 kB / 0.6022 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.546, allocations: 0 / 0.6022 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.546, allocations: 4 kB / 0.6022 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.546, allocations: 3.984 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.546, allocations: 7.875 kB / 0.6023 GB, free: 0 / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.5463, allocations: 211.3 kB / 0.6025 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.5463, allocations: 81.02 kB / 0.6025 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.5464, allocations: 8 kB / 0.6025 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.5464, allocations: 7.984 kB / 0.6026 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.5465, allocations: 7.984 kB / 0.6026 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.5465, allocations: 3.984 kB / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.365e-05/0.5466, allocations: 109.1 kB / 0.6027 GB, free: 15.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5466, allocations: 0 / 0.6027 GB, free: 15.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.5469, allocations: 31.94 kB / 0.6027 GB, free: 15.52 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 () * 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.001503/0.5484, allocations: 1.086 MB / 0.6038 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.5486, allocations: 79.89 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5486, allocations: 0 / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.5487, allocations: 39.98 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.5489, allocations: 15.19 kB / 0.6039 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.5496, allocations: 435.2 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.5499, allocations: 0.6965 MB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.55, allocations: 28.27 kB / 0.605 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.5501, allocations: 23.42 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5501, allocations: 0 / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.5636, allocations: 2.512 MB / 0.6075 GB, free: 10.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.5639, allocations: 229 kB / 0.6077 GB, free: 10.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.189, allocations: 0 / 0.6077 GB, free: 10.58 MB / 426.7 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