Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001577/0.001577, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 89.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3014/0.3014, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.352e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4251, allocations: 58.85 MB / 477.2 MB, free: 5.191 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.6141, allocations: 88.38 MB / 0.5523 GB, free: 10.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6145, allocations: 75.45 kB / 0.5524 GB, free: 10.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04655/0.6611, allocations: 9.037 MB / 0.5612 GB, free: 1.723 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6611, allocations: 0 / 0.5612 GB, free: 1.723 MB / 395.1 MB Notification: Performance of Transformations before backend: time 9.924e-05/0.6612, allocations: 8 kB / 0.5612 GB, free: 1.715 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001278/0.6625, allocations: 0.5455 MB / 0.5617 GB, free: 1.125 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.6626, allocations: 16.03 kB / 0.5618 GB, free: 1.109 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.6629, allocations: 43.39 kB / 0.5618 GB, free: 1.066 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.6641, allocations: 359.3 kB / 0.5621 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.6642, allocations: 4 kB / 0.5621 GB, free: 0.6719 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.6643, allocations: 8 kB / 0.5622 GB, free: 0.6641 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003447/0.6646, allocations: 71.91 kB / 0.5622 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.665, allocations: 92.5 kB / 0.5623 GB, free: 0.5 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.665, allocations: 8 kB / 0.5623 GB, free: 0.4922 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.6651, allocations: 0 / 0.5623 GB, free: 0.4922 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.6651, allocations: 3.953 kB / 0.5623 GB, free: 500 kB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.6669, allocations: 0.5008 MB / 0.5628 GB, free: 15.95 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.6673, allocations: 94.48 kB / 0.5629 GB, free: 15.84 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.6674, allocations: 36.86 kB / 0.5629 GB, free: 15.8 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.6675, allocations: 11.83 kB / 0.5629 GB, free: 15.8 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6675, allocations: 38.56 kB / 0.563 GB, free: 15.75 MB / 411.1 MB Notification: Performance of pre-optimization done (n=11): time 4.428e-06/0.6676, allocations: 3.938 kB / 0.563 GB, free: 15.75 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.00177/0.6693, allocations: 355.8 kB / 0.5633 GB, free: 15.39 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.6695, allocations: 51.41 kB / 0.5634 GB, free: 15.33 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.6709, allocations: 477.2 kB / 0.5638 GB, free: 14.86 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.671, allocations: 29.7 kB / 0.5639 GB, free: 14.82 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.6713, allocations: 238.7 kB / 0.5641 GB, free: 14.59 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.6714, allocations: 55.2 kB / 0.5641 GB, free: 14.54 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.6714, allocations: 224 / 0.5641 GB, free: 14.54 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6716, allocations: 314.8 kB / 0.5644 GB, free: 14.22 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.6719, allocations: 63.91 kB / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6721, allocations: 51.98 kB / 0.5645 GB, free: 14.11 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.6723, allocations: 62.06 kB / 0.5646 GB, free: 14.05 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6723, allocations: 0 / 0.5646 GB, free: 14.05 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005786/0.6729, allocations: 165.5 kB / 0.5648 GB, free: 13.88 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.673, allocations: 4 kB / 0.5648 GB, free: 13.88 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.673, allocations: 0 / 0.5648 GB, free: 13.88 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.673, allocations: 4 kB / 0.5648 GB, free: 13.87 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.6735, allocations: 43.91 kB / 0.5648 GB, free: 13.83 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6735, allocations: 0 / 0.5648 GB, free: 13.83 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.6738, allocations: 12 kB / 0.5648 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.6739, allocations: 4 kB / 0.5648 GB, free: 13.81 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001379/0.674, allocations: 108.9 kB / 0.5649 GB, free: 13.7 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007826/0.6748, allocations: 210.2 kB / 0.5651 GB, free: 13.49 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.6751, allocations: 39.44 kB / 0.5652 GB, free: 13.45 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009917/0.6761, allocations: 246.6 kB / 0.5654 GB, free: 13.2 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.6761, allocations: 4 kB / 0.5654 GB, free: 13.2 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6762, allocations: 0 / 0.5654 GB, free: 13.2 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6762, allocations: 3.984 kB / 0.5654 GB, free: 13.19 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.6781, allocations: 0.6704 MB / 0.5661 GB, free: 12.48 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6782, allocations: 0 / 0.5661 GB, free: 12.48 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.6785, allocations: 35.92 kB / 0.5661 GB, free: 12.44 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.6785, allocations: 4 kB / 0.5661 GB, free: 12.44 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.6786, allocations: 3.984 kB / 0.5661 GB, free: 12.43 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6786, allocations: 3.953 kB / 0.5661 GB, free: 12.43 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6786, allocations: 8 kB / 0.5661 GB, free: 12.42 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.6793, allocations: 298.4 kB / 0.5664 GB, free: 12.12 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.6795, allocations: 144.6 kB / 0.5665 GB, free: 11.96 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.6796, allocations: 0 / 0.5665 GB, free: 11.96 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.6799, allocations: 8 kB / 0.5666 GB, free: 11.95 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.68, allocations: 19.92 kB / 0.5666 GB, free: 11.93 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.68, allocations: 7.938 kB / 0.5666 GB, free: 11.92 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.6808, allocations: 386.9 kB / 0.5669 GB, free: 11.55 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6808, allocations: 7.875 kB / 0.567 GB, free: 11.54 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006368/0.6815, allocations: 59.94 kB / 0.567 GB, free: 11.48 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002711/0.6842, allocations: 1.317 MB / 0.5683 GB, free: 10.19 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.6847, allocations: 132 kB / 0.5684 GB, free: 10.06 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6848, allocations: 0 / 0.5684 GB, free: 10.06 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.685, allocations: 83.05 kB / 0.5685 GB, free: 9.984 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.6858, allocations: 69.62 kB / 0.5686 GB, free: 9.918 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.688, allocations: 0.6865 MB / 0.5692 GB, free: 9.191 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.6887, allocations: 0.8335 MB / 0.5701 GB, free: 8.332 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.6891, allocations: 131.4 kB / 0.5702 GB, free: 8.203 MB / 411.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6891, allocations: 0 / 0.5702 GB, free: 8.203 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/3.479, allocations: 6.639 MB / 0.5767 GB, free: 1.559 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat