Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.001683/0.001683, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.464/1.464, allocations: 221.3 MB / 236 MB, free: 2.965 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.0009719/0.0009716, allocations: 90.98 kB / 287 MB, free: 248 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.2085/0.2085, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.355e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.471/0.6223, allocations: 88.27 MB / 0.588 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.6226, allocations: 67.97 kB / 0.5881 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.6397, allocations: 7.932 MB / 0.5958 GB, free: 8.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6397, allocations: 10.89 kB / 0.5958 GB, free: 8.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.6398, allocations: 4 kB / 0.5958 GB, free: 8.961 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.0005864/0.6404, allocations: 0.5365 MB / 0.5964 GB, free: 8.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6404, allocations: 8.031 kB / 0.5964 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.6405, allocations: 34.56 kB / 0.5964 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.6405, allocations: 43.44 kB / 0.5964 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.6411, allocations: 323.3 kB / 0.5967 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.6411, allocations: 4 kB / 0.5967 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.6411, allocations: 3.938 kB / 0.5967 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.6412, allocations: 45.69 kB / 0.5968 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.6412, allocations: 0 / 0.5968 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.6412, allocations: 0 / 0.5968 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6413, allocations: 4 kB / 0.5968 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.6413, allocations: 12 kB / 0.5968 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.642, allocations: 420.7 kB / 0.5972 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.6421, allocations: 30.52 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.6421, allocations: 12.92 kB / 0.5972 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.6421, allocations: 4 kB / 0.5973 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.6422, allocations: 30.56 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6422, allocations: 0 / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.6424, allocations: 85.12 kB / 0.5974 GB, free: 7.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.6424, allocations: 55.34 kB / 0.5974 GB, free: 7.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.6436, allocations: 0.7822 MB / 0.5982 GB, free: 6.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6436, allocations: 25.7 kB / 0.5982 GB, free: 6.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.6438, allocations: 228.1 kB / 0.5984 GB, free: 6.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.6438, allocations: 7.938 kB / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.6439, allocations: 0 / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.644, allocations: 354.8 kB / 0.5988 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.6441, allocations: 8 kB / 0.5988 GB, free: 5.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.6441, allocations: 0 / 0.5988 GB, free: 5.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.646e-05/0.6441, allocations: 4 kB / 0.5988 GB, free: 5.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6441, allocations: 0 / 0.5988 GB, free: 5.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.6442, allocations: 81.22 kB / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6442, allocations: 8.094 kB / 0.5989 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6443, allocations: 0 / 0.5989 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6443, allocations: 4 kB / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.6444, allocations: 4 kB / 0.5989 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.6444, allocations: 3.938 kB / 0.5989 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.6444, allocations: 11.98 kB / 0.5989 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6445, allocations: 7.938 kB / 0.5989 GB, free: 5.594 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 (2): * Single equations (assignments): 2 * 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 6.642e-05/0.6445, allocations: 105 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.6446, allocations: 47.44 kB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.6448, allocations: 96.55 kB / 0.5991 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6448, allocations: 4 kB / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6448, allocations: 0 / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.6448, allocations: 0 / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.6451, allocations: 329.3 kB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6451, allocations: 0 / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.6452, allocations: 11.98 kB / 0.5995 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6452, allocations: 0 / 0.5995 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.6452, allocations: 4.031 kB / 0.5995 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6452, allocations: 3.984 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6452, allocations: 3.938 kB / 0.5995 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.6454, allocations: 182.9 kB / 0.5996 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.6456, allocations: 156.6 kB / 0.5998 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.6456, allocations: 0 / 0.5998 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.6457, allocations: 4 kB / 0.5998 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.6458, allocations: 11.97 kB / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.6458, allocations: 0 / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006906/0.6465, allocations: 0.6342 MB / 0.6004 GB, free: 3.914 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6465, allocations: 0 / 0.6004 GB, free: 3.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.6468, allocations: 48 kB / 0.6005 GB, free: 3.867 MB / 410.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 (2): * Single equations (assignments): 2 * 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.001089/0.6479, allocations: 0.9288 MB / 0.6014 GB, free: 3.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.6479, allocations: 12 kB / 0.6014 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6479, allocations: 0 / 0.6014 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.648, allocations: 12.06 kB / 0.6014 GB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.6482, allocations: 26.02 kB / 0.6014 GB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6494, allocations: 0.787 MB / 0.6022 GB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.6498, allocations: 0.8262 MB / 0.603 GB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.6499, allocations: 36.42 kB / 0.603 GB, free: 1.242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.65, allocations: 115.4 kB / 0.6032 GB, free: 1.129 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.65, allocations: 0 / 0.6032 GB, free: 1.129 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.6698, allocations: 6.164 MB / 0.6092 GB, free: 11.03 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.6701, allocations: 189.8 kB / 0.6094 GB, free: 10.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.786, allocations: 0 / 0.6094 GB, free: 10.8 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat does not exist to compare? outputFormat=mat