Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.002285/0.002285, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001182/0.001181, allocations: 97.66 kB / 270.9 MB, free: 8.367 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.5168/0.5168, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006989/0.0006989, allocations: 16 kB / 431.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1444, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.63, allocations: 86.84 MB / 0.5636 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6304, allocations: 75.16 kB / 0.5637 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01858/0.649, allocations: 4.095 MB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.649, allocations: 0 / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.6491, allocations: 4 kB / 0.5677 GB, free: 11.55 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.0006542/0.6497, allocations: 413.1 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6498, allocations: 8.031 kB / 0.5681 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.6498, allocations: 34.56 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.6499, allocations: 19.25 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.6502, allocations: 199.4 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6503, allocations: 0 / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.6503, allocations: 4 kB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.6505, allocations: 57.67 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6506, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.6506, allocations: 5.031 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.6506, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.6509, allocations: 51.91 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.6514, allocations: 296.8 kB / 0.5687 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.6516, allocations: 50.56 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.6517, allocations: 4 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.6517, allocations: 35.06 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.6517, allocations: 0.6562 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001298/0.6531, allocations: 241.4 kB / 0.5691 GB, free: 9.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6531, allocations: 55.41 kB / 0.5691 GB, free: 9.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.6534, allocations: 158.1 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.6535, allocations: 26.36 kB / 0.5693 GB, free: 9.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.6536, allocations: 162.6 kB / 0.5694 GB, free: 9.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.6536, allocations: 31.64 kB / 0.5695 GB, free: 9.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.6536, allocations: 3.938 kB / 0.5695 GB, free: 9.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6538, allocations: 310.8 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.654, allocations: 43.97 kB / 0.5698 GB, free: 9.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.6542, allocations: 40.62 kB / 0.5699 GB, free: 9.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.6545, allocations: 39.98 kB / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6545, allocations: 0 / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005234/0.655, allocations: 126.5 kB / 0.57 GB, free: 8.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.6551, allocations: 6.656 kB / 0.57 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6551, allocations: 7.938 kB / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.6551, allocations: 11.88 kB / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.6553, allocations: 23.98 kB / 0.5701 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.6554, allocations: 0 / 0.5701 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.6555, allocations: 17.23 kB / 0.5701 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.6555, allocations: 4 kB / 0.5701 GB, free: 8.902 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.0001686/0.6557, allocations: 125.8 kB / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.6558, allocations: 11.91 kB / 0.5702 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.6564, allocations: 142.6 kB / 0.5703 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.6564, allocations: 11.95 kB / 0.5704 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6564, allocations: 0 / 0.5704 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6564, allocations: 0 / 0.5704 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008984/0.6573, allocations: 410.5 kB / 0.5708 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6574, allocations: 0 / 0.5708 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.6575, allocations: 27.92 kB / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.6576, allocations: 3.953 kB / 0.5708 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.6576, allocations: 7.938 kB / 0.5708 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6576, allocations: 0 / 0.5708 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6576, allocations: 4 kB / 0.5708 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.6582, allocations: 223.4 kB / 0.571 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.6583, allocations: 92.91 kB / 0.5711 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.6583, allocations: 7.953 kB / 0.5711 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6585, allocations: 15.98 kB / 0.5711 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.6586, allocations: 7.984 kB / 0.5711 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6586, allocations: 0 / 0.5711 GB, free: 7.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.6588, allocations: 128.6 kB / 0.5712 GB, free: 7.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6588, allocations: 0 / 0.5712 GB, free: 7.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.6592, allocations: 35.92 kB / 0.5713 GB, free: 7.57 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.002028/0.6612, allocations: 1.058 MB / 0.5723 GB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.6618, allocations: 87.95 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6618, allocations: 0 / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.6621, allocations: 55.89 kB / 0.5725 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.6624, allocations: 25.36 kB / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.6645, allocations: 0.7393 MB / 0.5732 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.6649, allocations: 0.7043 MB / 0.5739 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.6651, allocations: 35.36 kB / 0.5739 GB, free: 4.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6651, allocations: 0 / 0.5739 GB, free: 4.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/3.231, allocations: 2.125 MB / 0.576 GB, free: 2.75 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat does not exist to compare? outputFormat=mat