Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.002513/0.002513, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.038/2.038, 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.001178/0.001178, allocations: 92.42 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.5442/0.5442, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004985, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.6184, allocations: 87.42 MB / 0.5642 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.6187, allocations: 67.97 kB / 0.5643 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01955/0.6383, allocations: 4.046 MB / 0.5682 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6383, allocations: 4 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.6384, allocations: 11.98 kB / 0.5682 GB, free: 11.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008709/0.6393, allocations: 422 kB / 0.5686 GB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.6393, allocations: 12.03 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.6394, allocations: 34.56 kB / 0.5687 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.6395, allocations: 19.8 kB / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.6398, allocations: 198.9 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.6398, allocations: 8 kB / 0.5689 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.6399, allocations: 0.6562 kB / 0.5689 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.6404, allocations: 113 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6404, allocations: 0 / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.6404, allocations: 0 / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.6404, allocations: 7.953 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.641, allocations: 95.92 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008791/0.6419, allocations: 352.5 kB / 0.5694 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.6424, allocations: 86.53 kB / 0.5695 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.6424, allocations: 3.375 kB / 0.5695 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6425, allocations: 34.52 kB / 0.5695 GB, free: 9.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.364e-06/0.6425, allocations: 4 kB / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.002989/0.6455, allocations: 489.1 kB / 0.57 GB, free: 9.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.6456, allocations: 85.05 kB / 0.5701 GB, free: 8.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.6459, allocations: 137.5 kB / 0.5702 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6459, allocations: 25.7 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6461, allocations: 166.5 kB / 0.5704 GB, free: 8.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.6461, allocations: 23.61 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.6462, allocations: 4 kB / 0.5704 GB, free: 8.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6463, allocations: 314.8 kB / 0.5707 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.6469, allocations: 91.92 kB / 0.5708 GB, free: 8.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.6475, allocations: 110.5 kB / 0.5709 GB, free: 8.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.6481, allocations: 104 kB / 0.571 GB, free: 7.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6481, allocations: 0 / 0.571 GB, free: 7.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001244/0.6494, allocations: 233.7 kB / 0.5713 GB, free: 7.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.6494, allocations: 8 kB / 0.5713 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6494, allocations: 3.984 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6495, allocations: 0 / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.6499, allocations: 47.89 kB / 0.5713 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6499, allocations: 4 kB / 0.5713 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.6503, allocations: 36.78 kB / 0.5713 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.6503, allocations: 4 kB / 0.5714 GB, free: 7.602 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 (8): * Single equations (assignments): 8 * 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.0001612/0.6505, allocations: 125.8 kB / 0.5715 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.6505, allocations: 19.86 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.652, allocations: 258.1 kB / 0.5717 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.652, allocations: 4 kB / 0.5717 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.652, allocations: 0 / 0.5717 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6521, allocations: 3.984 kB / 0.5717 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.6538, allocations: 0.5218 MB / 0.5723 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/0.6539, allocations: 384 / 0.5723 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.6543, allocations: 51.89 kB / 0.5723 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.6544, allocations: 4 kB / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.6544, allocations: 4 kB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6544, allocations: 3.938 kB / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6544, allocations: 0 / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.6558, allocations: 332 kB / 0.5726 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.6559, allocations: 96.95 kB / 0.5727 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.656, allocations: 0 / 0.5727 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.6563, allocations: 35.97 kB / 0.5728 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.6565, allocations: 11.98 kB / 0.5728 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.6565, allocations: 3.984 kB / 0.5728 GB, free: 6.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.6567, allocations: 115.8 kB / 0.5729 GB, free: 5.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6567, allocations: 0 / 0.5729 GB, free: 5.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.6572, allocations: 39.92 kB / 0.5729 GB, free: 5.891 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 (8): * Single equations (assignments): 8 * 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.003132/0.6603, allocations: 1.231 MB / 0.5741 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.6617, allocations: 203.8 kB / 0.5743 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6618, allocations: 4 kB / 0.5743 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.6624, allocations: 107.9 kB / 0.5744 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6628, allocations: 15.98 kB / 0.5744 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.6661, allocations: 0.932 MB / 0.5754 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6665, allocations: 0.7004 MB / 0.576 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6667, allocations: 35.42 kB / 0.5761 GB, free: 2.668 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6667, allocations: 0 / 0.5761 GB, free: 2.668 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.468, allocations: 2.683 MB / 0.5787 GB, free: 15.99 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat