Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001517, allocations: 186.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 88.44 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6088/0.6088, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004778, allocations: 8 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1655, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6526, allocations: 86.38 MB / 0.5632 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6529, allocations: 75.91 kB / 0.5633 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01692/0.6698, allocations: 4.157 MB / 0.5673 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6699, allocations: 0 / 0.5673 GB, free: 11.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.6699, allocations: 0 / 0.5673 GB, free: 11.8 MB / 394.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.0006007/0.6705, allocations: 438.8 kB / 0.5677 GB, free: 11.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.6706, allocations: 8.031 kB / 0.5677 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.6707, allocations: 30.56 kB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.6707, allocations: 19.25 kB / 0.5678 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.6711, allocations: 208.2 kB / 0.568 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6711, allocations: 4 kB / 0.568 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.6711, allocations: 4 kB / 0.568 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.6713, allocations: 49.67 kB / 0.568 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6714, allocations: 3.938 kB / 0.568 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6714, allocations: 10.23 kB / 0.5681 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6714, allocations: 0 / 0.5681 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.6716, allocations: 23.98 kB / 0.5681 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.672, allocations: 304.8 kB / 0.5684 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.6724, allocations: 50.5 kB / 0.5684 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.6724, allocations: 0 / 0.5684 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.6724, allocations: 30.56 kB / 0.5684 GB, free: 10.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.6724, allocations: 0 / 0.5684 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008353/0.6733, allocations: 173.1 kB / 0.5686 GB, free: 10.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6733, allocations: 51.41 kB / 0.5687 GB, free: 10.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.6738, allocations: 238.5 kB / 0.5689 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.6738, allocations: 29.7 kB / 0.5689 GB, free: 9.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6739, allocations: 178.5 kB / 0.5691 GB, free: 9.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.6739, allocations: 22.55 kB / 0.5691 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.674, allocations: 0 / 0.5691 GB, free: 9.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6741, allocations: 315.1 kB / 0.5694 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6742, allocations: 15.98 kB / 0.5694 GB, free: 9.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.6744, allocations: 23.98 kB / 0.5694 GB, free: 9.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.6745, allocations: 27.98 kB / 0.5695 GB, free: 9.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6745, allocations: 0 / 0.5695 GB, free: 9.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003119/0.6748, allocations: 86.67 kB / 0.5696 GB, free: 9.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.6749, allocations: 4 kB / 0.5696 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6749, allocations: 4 kB / 0.5696 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6749, allocations: 0 / 0.5696 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.675, allocations: 15.98 kB / 0.5696 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6751, allocations: 3.953 kB / 0.5696 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.6752, allocations: 8 kB / 0.5696 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6752, allocations: 0 / 0.5696 GB, free: 9.27 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0001418/0.6753, allocations: 137.8 kB / 0.5697 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.6754, allocations: 15.8 kB / 0.5697 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.6758, allocations: 111.2 kB / 0.5698 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6758, allocations: 0 / 0.5698 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6758, allocations: 0 / 0.5698 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.6758, allocations: 3.953 kB / 0.5698 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.6766, allocations: 392 kB / 0.5702 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6766, allocations: 0 / 0.5702 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.6767, allocations: 15.98 kB / 0.5702 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.6767, allocations: 0 / 0.5702 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-06/0.6767, allocations: 0 / 0.5702 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6768, allocations: 3.953 kB / 0.5702 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6768, allocations: 4 kB / 0.5702 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.6771, allocations: 196.2 kB / 0.5704 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6773, allocations: 100.9 kB / 0.5705 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.6773, allocations: 4.938 kB / 0.5705 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6774, allocations: 8.438 kB / 0.5705 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6775, allocations: 11.94 kB / 0.5705 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.6775, allocations: 4 kB / 0.5706 GB, free: 8.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002988/0.6778, allocations: 196.2 kB / 0.5707 GB, free: 7.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6778, allocations: 3.938 kB / 0.5707 GB, free: 7.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000338/0.6782, allocations: 28 kB / 0.5708 GB, free: 7.957 MB / 394.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 (5): * Single equations (assignments): 5 * 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.001819/0.68, allocations: 1.025 MB / 0.5718 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.6803, allocations: 59.95 kB / 0.5718 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6804, allocations: 0 / 0.5718 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.6805, allocations: 27.92 kB / 0.5719 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.6808, allocations: 16.14 kB / 0.5719 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.6828, allocations: 0.865 MB / 0.5727 GB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.6832, allocations: 0.7166 MB / 0.5734 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6834, allocations: 35.42 kB / 0.5734 GB, free: 5.223 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6834, allocations: 7.938 kB / 0.5735 GB, free: 5.215 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.361, allocations: 2.412 MB / 0.5758 GB, free: 2.801 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat