Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001878/0.001877, allocations: 186.3 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.195/2.195, 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.001195/0.001195, allocations: 92.42 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.5438/0.5438, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 12 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1467, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.6259, allocations: 87.21 MB / 0.564 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.6263, allocations: 79.95 kB / 0.5641 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01843/0.6447, allocations: 4.227 MB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6448, allocations: 0.75 kB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.6448, allocations: 0 / 0.5682 GB, free: 10.91 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.0006793/0.6455, allocations: 413.9 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.6456, allocations: 12.03 kB / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.6457, allocations: 38.55 kB / 0.5686 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.6457, allocations: 15.34 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.646, allocations: 199.9 kB / 0.5688 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.6461, allocations: 0 / 0.5688 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.6461, allocations: 7.938 kB / 0.5689 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.6464, allocations: 62.92 kB / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6464, allocations: 0 / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.6464, allocations: 5.031 kB / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6464, allocations: 4 kB / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.6467, allocations: 47.95 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.6474, allocations: 328.6 kB / 0.5693 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.6476, allocations: 50.55 kB / 0.5693 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.6477, allocations: 0 / 0.5693 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.6477, allocations: 34.56 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.6477, allocations: 0 / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00139/0.6491, allocations: 265.2 kB / 0.5696 GB, free: 9.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.6492, allocations: 51.41 kB / 0.5697 GB, free: 9.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.6495, allocations: 153.6 kB / 0.5698 GB, free: 9.066 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6495, allocations: 33.7 kB / 0.5698 GB, free: 9.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.6496, allocations: 166.5 kB / 0.57 GB, free: 8.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.6497, allocations: 27.64 kB / 0.57 GB, free: 8.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.6497, allocations: 0 / 0.57 GB, free: 8.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6499, allocations: 314.8 kB / 0.5703 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.6501, allocations: 51.91 kB / 0.5704 GB, free: 8.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.6504, allocations: 52.09 kB / 0.5704 GB, free: 8.418 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.6506, allocations: 47.97 kB / 0.5705 GB, free: 8.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6506, allocations: 4 kB / 0.5705 GB, free: 8.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006026/0.6512, allocations: 129.6 kB / 0.5706 GB, free: 8.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6513, allocations: 8 kB / 0.5706 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6513, allocations: 0 / 0.5706 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6513, allocations: 3.953 kB / 0.5706 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.6515, allocations: 23.98 kB / 0.5706 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6516, allocations: 0 / 0.5706 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.6517, allocations: 15.98 kB / 0.5706 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.6517, allocations: 0 / 0.5706 GB, free: 8.184 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.0001745/0.6519, allocations: 137.8 kB / 0.5708 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.652, allocations: 7.906 kB / 0.5708 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006436/0.6526, allocations: 154.3 kB / 0.5709 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6527, allocations: 3.953 kB / 0.5709 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6527, allocations: 4 kB / 0.5709 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6527, allocations: 0 / 0.5709 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.6537, allocations: 443.1 kB / 0.5714 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6537, allocations: 0 / 0.5714 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.6539, allocations: 20.27 kB / 0.5714 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.6539, allocations: 3.953 kB / 0.5714 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.654, allocations: 11.94 kB / 0.5714 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.654, allocations: 7.938 kB / 0.5714 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.654, allocations: 0 / 0.5714 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.6546, allocations: 247.3 kB / 0.5716 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.6547, allocations: 89 kB / 0.5717 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.6548, allocations: 7.953 kB / 0.5717 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.655, allocations: 15.98 kB / 0.5718 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.655, allocations: 0 / 0.5718 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.6551, allocations: 4 kB / 0.5718 GB, free: 6.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.6553, allocations: 137.5 kB / 0.5719 GB, free: 6.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6553, allocations: 0 / 0.5719 GB, free: 6.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.6557, allocations: 27.94 kB / 0.5719 GB, free: 6.789 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.002127/0.6578, allocations: 1.077 MB / 0.573 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.6584, allocations: 107.9 kB / 0.5731 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6585, allocations: 0 / 0.5731 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.6587, allocations: 59.91 kB / 0.5731 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.6591, allocations: 19.94 kB / 0.5731 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.6613, allocations: 0.7975 MB / 0.5739 GB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.6618, allocations: 0.7122 MB / 0.5746 GB, free: 4.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6619, allocations: 27.42 kB / 0.5746 GB, free: 3.996 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6619, allocations: 0 / 0.5746 GB, free: 3.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.288, allocations: 2.235 MB / 0.5768 GB, free: 1.762 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat does not exist to compare? outputFormat=mat