Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001514/0.001514, allocations: 180.5 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.408/1.408, allocations: 221.3 MB / 236 MB, free: 2.949 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: 90.92 kB / 287 MB, free: 256 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.2394/0.2394, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.896e-05, allocations: 3.938 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6153, allocations: 88.72 MB / 0.5884 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.6156, allocations: 71.97 kB / 0.5885 GB, free: 0.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01785/0.6335, allocations: 8.025 MB / 0.5963 GB, free: 8.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6336, allocations: 0 / 0.5963 GB, free: 8.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.6336, allocations: 8 kB / 0.5964 GB, free: 8.465 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.0006596/0.6343, allocations: 0.5442 MB / 0.5969 GB, free: 7.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6343, allocations: 8.031 kB / 0.5969 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.6344, allocations: 30.56 kB / 0.5969 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.6345, allocations: 43.44 kB / 0.597 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.6351, allocations: 339.2 kB / 0.5973 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.6351, allocations: 0 / 0.5973 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.6351, allocations: 4 kB / 0.5973 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.6353, allocations: 41.69 kB / 0.5973 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6353, allocations: 4 kB / 0.5973 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.6353, allocations: 4 kB / 0.5973 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.6353, allocations: 0 / 0.5973 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.6354, allocations: 23.92 kB / 0.5974 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.6361, allocations: 428.8 kB / 0.5978 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.6362, allocations: 30.56 kB / 0.5978 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.6363, allocations: 12.92 kB / 0.5978 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.6363, allocations: 0 / 0.5978 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.6364, allocations: 30.56 kB / 0.5978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.6364, allocations: 3.938 kB / 0.5978 GB, free: 6.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000227/0.6366, allocations: 85.12 kB / 0.5979 GB, free: 6.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.6367, allocations: 51.41 kB / 0.598 GB, free: 6.609 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.6379, allocations: 0.7863 MB / 0.5987 GB, free: 5.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.638, allocations: 29.7 kB / 0.5988 GB, free: 5.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.6382, allocations: 224.1 kB / 0.599 GB, free: 5.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.6382, allocations: 7.906 kB / 0.599 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.6382, allocations: 0 / 0.599 GB, free: 5.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.6384, allocations: 354.8 kB / 0.5993 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.6384, allocations: 8 kB / 0.5993 GB, free: 5.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.6385, allocations: 4 kB / 0.5993 GB, free: 5.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.6385, allocations: 12.05 kB / 0.5994 GB, free: 5.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6385, allocations: 4 kB / 0.5994 GB, free: 5.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001256/0.6386, allocations: 81.17 kB / 0.5994 GB, free: 5.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.6387, allocations: 7.984 kB / 0.5994 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6387, allocations: 4 kB / 0.5994 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6387, allocations: 0 / 0.5994 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.6388, allocations: 4 kB / 0.5995 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6388, allocations: 0 / 0.5995 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.6389, allocations: 11.84 kB / 0.5995 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.6389, allocations: 7.938 kB / 0.5995 GB, free: 5.047 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.801e-05/0.639, allocations: 116.9 kB / 0.5996 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.639, allocations: 35.53 kB / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.6392, allocations: 108.6 kB / 0.5997 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6392, allocations: 0 / 0.5997 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6393, allocations: 0 / 0.5997 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6393, allocations: 0 / 0.5997 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.6396, allocations: 325.4 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6397, allocations: 0 / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.6397, allocations: 16.02 kB / 0.6 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6397, allocations: 0 / 0.6 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6397, allocations: 4 kB / 0.6 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6397, allocations: 0 / 0.6 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6397, allocations: 0 / 0.6 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.6399, allocations: 186.9 kB / 0.6002 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.6402, allocations: 160.5 kB / 0.6004 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.6402, allocations: 32 / 0.6004 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.6403, allocations: 8 kB / 0.6004 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.6404, allocations: 3.938 kB / 0.6004 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.6404, allocations: 3.984 kB / 0.6004 GB, free: 3.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007018/0.6411, allocations: 0.6381 MB / 0.601 GB, free: 3.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6411, allocations: 0 / 0.601 GB, free: 3.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.6414, allocations: 48 kB / 0.6011 GB, free: 3.309 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.001196/0.6426, allocations: 0.9208 MB / 0.602 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.6427, allocations: 23.92 kB / 0.602 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6427, allocations: 0 / 0.602 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.6427, allocations: 8 kB / 0.602 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.643, allocations: 30.02 kB / 0.602 GB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.6443, allocations: 0.7988 MB / 0.6028 GB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6447, allocations: 0.834 MB / 0.6036 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.995e-05/0.6448, allocations: 36.42 kB / 0.6037 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.645, allocations: 119.4 kB / 0.6038 GB, free: 0.543 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.645, allocations: 4 kB / 0.6038 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.6642, allocations: 6.22 MB / 0.6098 GB, free: 10.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.6644, allocations: 182 kB / 0.61 GB, free: 10.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.849, allocations: 0 / 0.61 GB, free: 10.16 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat