Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27",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.00149/0.00149, allocations: 188.3 kB / 16.41 MB, free: 5.723 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.176/2.176, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001154/0.001154, allocations: 85.8 kB / 270.9 MB, free: 8.379 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.5634/0.5634, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004848, allocations: 19.98 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.6066, allocations: 87.23 MB / 0.564 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/0.6071, allocations: 69.38 kB / 0.5641 GB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01946/0.6266, allocations: 4.316 MB / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6266, allocations: 0 / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.6267, allocations: 8 kB / 0.5683 GB, free: 10.95 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.000633/0.6273, allocations: 418.6 kB / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6274, allocations: 12.03 kB / 0.5687 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.6274, allocations: 38.31 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.6275, allocations: 11.34 kB / 0.5688 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.6278, allocations: 199.4 kB / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.6278, allocations: 0 / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.6279, allocations: 8 kB / 0.569 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.6282, allocations: 65.66 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6282, allocations: 4.547 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6282, allocations: 1.031 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.6282, allocations: 0 / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.6285, allocations: 51.89 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.6291, allocations: 324.7 kB / 0.5694 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.6293, allocations: 54.5 kB / 0.5694 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.6294, allocations: 4.078 kB / 0.5694 GB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.6294, allocations: 38.5 kB / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.6295, allocations: 0 / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001358/0.6308, allocations: 265.2 kB / 0.5697 GB, free: 9.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.6309, allocations: 59.39 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.6312, allocations: 165.4 kB / 0.5699 GB, free: 9.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.6312, allocations: 25.7 kB / 0.57 GB, free: 9.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.6313, allocations: 170.6 kB / 0.5701 GB, free: 8.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.6314, allocations: 23.64 kB / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.6314, allocations: 0 / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6315, allocations: 314.8 kB / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.6318, allocations: 47.97 kB / 0.5705 GB, free: 8.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.6321, allocations: 43.97 kB / 0.5705 GB, free: 8.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.6323, allocations: 55.95 kB / 0.5706 GB, free: 8.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6323, allocations: 0 / 0.5706 GB, free: 8.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005578/0.6329, allocations: 129.5 kB / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.6329, allocations: 8 kB / 0.5707 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.633, allocations: 3.938 kB / 0.5707 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.633, allocations: 3.953 kB / 0.5707 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.6332, allocations: 19.98 kB / 0.5708 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6332, allocations: 4.875 kB / 0.5708 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.6334, allocations: 19.98 kB / 0.5708 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.6334, allocations: 4.703 kB / 0.5708 GB, free: 8.207 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 (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 prepare postOptimizeDAE: time 0.0001512/0.6336, allocations: 125.8 kB / 0.5709 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.6336, allocations: 7.906 kB / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.6343, allocations: 166.5 kB / 0.5711 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.6343, allocations: 3.953 kB / 0.5711 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6344, allocations: 0 / 0.5711 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6344, allocations: 4.75 kB / 0.5711 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.6354, allocations: 434.5 kB / 0.5715 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6354, allocations: 0 / 0.5715 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6356, allocations: 31.97 kB / 0.5715 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.6356, allocations: 3.953 kB / 0.5715 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6357, allocations: 7.938 kB / 0.5715 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6357, allocations: 3.938 kB / 0.5715 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6357, allocations: 0 / 0.5715 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.6363, allocations: 247.2 kB / 0.5718 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.6364, allocations: 89.02 kB / 0.5719 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.6365, allocations: 3.953 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.6366, allocations: 19.98 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.6367, allocations: 7.984 kB / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.6367, allocations: 4 kB / 0.5719 GB, free: 6.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.637, allocations: 136.8 kB / 0.572 GB, free: 6.836 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.637, allocations: 4 kB / 0.572 GB, free: 6.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.6374, allocations: 27.94 kB / 0.572 GB, free: 6.805 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 (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.002084/0.6395, allocations: 1.065 MB / 0.5731 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006048/0.6401, allocations: 103.9 kB / 0.5732 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6401, allocations: 0 / 0.5732 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.6404, allocations: 67.89 kB / 0.5733 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.6408, allocations: 15.94 kB / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6431, allocations: 0.8218 MB / 0.5741 GB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6435, allocations: 0.7121 MB / 0.5748 GB, free: 4.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.6436, allocations: 31.44 kB / 0.5748 GB, free: 3.992 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6436, allocations: 0 / 0.5748 GB, free: 3.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.725/3.369, allocations: 2.313 MB / 0.5771 GB, free: 1.68 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat