Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5",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.002136/0.002136, allocations: 185.8 kB / 16.41 MB, free: 5.727 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.153/2.153, 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.001268/0.001267, allocations: 92.36 kB / 270.9 MB, free: 8.375 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.5175/0.5175, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004845, allocations: 12 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5885, allocations: 86.86 MB / 0.5637 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5888, allocations: 79.14 kB / 0.5637 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02982/0.6186, allocations: 7.703 MB / 0.5713 GB, free: 7.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6187, allocations: 0 / 0.5713 GB, free: 7.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.345e-05/0.6187, allocations: 8 kB / 0.5713 GB, free: 7.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009581/0.6197, allocations: 0.6356 MB / 0.5719 GB, free: 7.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6198, allocations: 8.031 kB / 0.5719 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.6198, allocations: 30.56 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.6199, allocations: 47.44 kB / 0.572 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.6206, allocations: 327.3 kB / 0.5723 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.6206, allocations: 8 kB / 0.5723 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.6206, allocations: 0 / 0.5723 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.6208, allocations: 54.72 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6209, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6209, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.6209, allocations: 3.953 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.6211, allocations: 35.97 kB / 0.5724 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.6219, allocations: 438 kB / 0.5728 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.6222, allocations: 42.56 kB / 0.5728 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.6223, allocations: 4 kB / 0.5728 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.6223, allocations: 42.02 kB / 0.5729 GB, free: 6.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.6224, allocations: 0 / 0.5729 GB, free: 6.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009569/0.6233, allocations: 240 kB / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.6234, allocations: 55.41 kB / 0.5732 GB, free: 5.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.6254, allocations: 0.7863 MB / 0.5739 GB, free: 4.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.6254, allocations: 25.7 kB / 0.5739 GB, free: 4.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.6256, allocations: 239.1 kB / 0.5742 GB, free: 4.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.6257, allocations: 23.66 kB / 0.5742 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.6257, allocations: 0 / 0.5742 GB, free: 4.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6258, allocations: 319 kB / 0.5745 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.626, allocations: 20.53 kB / 0.5745 GB, free: 4.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.6261, allocations: 23.98 kB / 0.5745 GB, free: 4.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.6263, allocations: 22.72 kB / 0.5746 GB, free: 4.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6263, allocations: 7.984 kB / 0.5746 GB, free: 4.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003256/0.6267, allocations: 77.67 kB / 0.5746 GB, free: 4.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6267, allocations: 11.89 kB / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6267, allocations: 0 / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.6267, allocations: 0 / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.6269, allocations: 19.98 kB / 0.5747 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6269, allocations: 0 / 0.5747 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.6271, allocations: 15.94 kB / 0.5747 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.6271, allocations: 3.938 kB / 0.5747 GB, free: 4.145 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.00033/0.6274, allocations: 213.8 kB / 0.5749 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6276, allocations: 43.44 kB / 0.5749 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.6281, allocations: 145 kB / 0.5751 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6281, allocations: 4 kB / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6281, allocations: 0 / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6281, allocations: 0 / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.6293, allocations: 0.593 MB / 0.5757 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6294, allocations: 3.953 kB / 0.5757 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.6295, allocations: 12 kB / 0.5757 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.6295, allocations: 0 / 0.5757 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6295, allocations: 0 / 0.5757 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6295, allocations: 384 / 0.5757 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6296, allocations: 3.984 kB / 0.5757 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.63, allocations: 234.9 kB / 0.5759 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.6303, allocations: 164.6 kB / 0.5761 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.6304, allocations: 0 / 0.5761 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.6306, allocations: 8 kB / 0.5761 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.6307, allocations: 7.984 kB / 0.5761 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.6307, allocations: 4 kB / 0.5761 GB, free: 2.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001228/0.6319, allocations: 0.6362 MB / 0.5767 GB, free: 1.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6319, allocations: 0 / 0.5767 GB, free: 1.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004597/0.6324, allocations: 63.98 kB / 0.5768 GB, free: 1.922 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.001921/0.6343, allocations: 1.075 MB / 0.5778 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.6347, allocations: 55.91 kB / 0.5779 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6347, allocations: 4 kB / 0.5779 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.6349, allocations: 27.98 kB / 0.5779 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.6353, allocations: 17.95 kB / 0.5779 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.6404, allocations: 2.348 MB / 0.5802 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.641, allocations: 0.8223 MB / 0.581 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.6413, allocations: 119.6 kB / 0.5811 GB, free: 13.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6413, allocations: 0 / 0.5811 GB, free: 13.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.784/3.426, allocations: 7.207 MB / 0.5882 GB, free: 6.219 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat