Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6",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.001648/0.001648, allocations: 185.5 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.109/2.109, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001136/0.001136, allocations: 97.97 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.5695/0.5695, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004951, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1368, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6458, allocations: 86.6 MB / 0.5634 GB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6462, allocations: 72.05 kB / 0.5635 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01857/0.6648, allocations: 4.276 MB / 0.5676 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6648, allocations: 0 / 0.5676 GB, free: 11.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.6649, allocations: 3.938 kB / 0.5677 GB, free: 11.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006572/0.6655, allocations: 430.6 kB / 0.5681 GB, free: 11.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6656, allocations: 12.03 kB / 0.5681 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.6657, allocations: 30.56 kB / 0.5681 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.6657, allocations: 19.25 kB / 0.5681 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.6661, allocations: 214.7 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6661, allocations: 4 kB / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6661, allocations: 0 / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.6664, allocations: 82.95 kB / 0.5684 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6664, allocations: 4 kB / 0.5684 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6665, allocations: 0 / 0.5684 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6665, allocations: 0 / 0.5684 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.6667, allocations: 44.94 kB / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.6674, allocations: 413 kB / 0.5688 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.6678, allocations: 85.38 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.6679, allocations: 4 kB / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.6679, allocations: 38.56 kB / 0.569 GB, free: 10.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.668, allocations: 0 / 0.569 GB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001189/0.6691, allocations: 264.7 kB / 0.5692 GB, free: 9.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.6692, allocations: 81.11 kB / 0.5693 GB, free: 9.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.6696, allocations: 206.5 kB / 0.5695 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.6697, allocations: 29.7 kB / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.6698, allocations: 166.6 kB / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.6698, allocations: 31.55 kB / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.6699, allocations: 0 / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.67, allocations: 314.8 kB / 0.57 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.6702, allocations: 39.91 kB / 0.5701 GB, free: 9.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.6704, allocations: 49.69 kB / 0.5701 GB, free: 8.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.6706, allocations: 44.8 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6706, allocations: 0 / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004745/0.6711, allocations: 133.6 kB / 0.5703 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6711, allocations: 8 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6711, allocations: 0 / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6712, allocations: 0 / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.6713, allocations: 27.98 kB / 0.5703 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.6714, allocations: 4.703 kB / 0.5703 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.6715, allocations: 4 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.6715, allocations: 4 kB / 0.5703 GB, free: 8.758 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001746/0.6717, allocations: 137.8 kB / 0.5704 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.6718, allocations: 7.906 kB / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.6723, allocations: 166.4 kB / 0.5706 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6724, allocations: 4 kB / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6724, allocations: 0 / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6724, allocations: 4.703 kB / 0.5706 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.6735, allocations: 0.5298 MB / 0.5711 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6735, allocations: 3.938 kB / 0.5711 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.6737, allocations: 23.98 kB / 0.5712 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6737, allocations: 0 / 0.5712 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.6738, allocations: 12 kB / 0.5712 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.6738, allocations: 32 / 0.5712 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.6738, allocations: 11.92 kB / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.6744, allocations: 339.1 kB / 0.5715 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6745, allocations: 93 kB / 0.5716 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.6746, allocations: 8 kB / 0.5716 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.6748, allocations: 8 kB / 0.5716 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.6748, allocations: 7.984 kB / 0.5716 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.6749, allocations: 8 kB / 0.5716 GB, free: 7.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002795/0.6751, allocations: 166.5 kB / 0.5718 GB, free: 7.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6752, allocations: 4 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.6756, allocations: 31.94 kB / 0.5718 GB, free: 7.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.002169/0.6778, allocations: 1.304 MB / 0.5731 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.6783, allocations: 92.02 kB / 0.5732 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6783, allocations: 0 / 0.5732 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.6785, allocations: 52.03 kB / 0.5732 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.6789, allocations: 16.11 kB / 0.5733 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.6813, allocations: 1.054 MB / 0.5743 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.6818, allocations: 0.7121 MB / 0.575 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.682, allocations: 51.36 kB / 0.575 GB, free: 3.793 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.682, allocations: 0 / 0.575 GB, free: 3.793 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.675/3.357, allocations: 2.514 MB / 0.5775 GB, free: 1.277 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat does not exist to compare? outputFormat=mat