Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2",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.001609/0.001609, 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.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001123/0.001123, allocations: 91.02 kB / 270.9 MB, free: 8.363 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.5108/0.5108, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6076, allocations: 86.45 MB / 0.5632 GB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.6079, allocations: 71.95 kB / 0.5633 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.6235, allocations: 3.539 MB / 0.5668 GB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6235, allocations: 0 / 0.5668 GB, free: 12.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.6235, allocations: 3.938 kB / 0.5668 GB, free: 12.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005242/0.6241, allocations: 394.8 kB / 0.5672 GB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6241, allocations: 8.031 kB / 0.5672 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.6242, allocations: 38.56 kB / 0.5672 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.6242, allocations: 3.438 kB / 0.5672 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.6245, allocations: 187 kB / 0.5674 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.6245, allocations: 4 kB / 0.5674 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.6246, allocations: 7.984 kB / 0.5674 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.6248, allocations: 57.61 kB / 0.5674 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6248, allocations: 0 / 0.5674 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6248, allocations: 0 / 0.5674 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6248, allocations: 0.6562 kB / 0.5674 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.625, allocations: 29.02 kB / 0.5675 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.6255, allocations: 292.8 kB / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.6258, allocations: 54.5 kB / 0.5678 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.6259, allocations: 0 / 0.5678 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6259, allocations: 30.56 kB / 0.5678 GB, free: 11.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.6259, allocations: 0 / 0.5678 GB, free: 11.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008703/0.6268, allocations: 172.8 kB / 0.568 GB, free: 11.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.6269, allocations: 55.36 kB / 0.568 GB, free: 11.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.6271, allocations: 125.2 kB / 0.5682 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.6271, allocations: 25.7 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.6272, allocations: 162.5 kB / 0.5683 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6272, allocations: 15.75 kB / 0.5684 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.6273, allocations: 8 kB / 0.5684 GB, free: 10.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6274, allocations: 310.8 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6276, allocations: 28.16 kB / 0.5687 GB, free: 10.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.6277, allocations: 23.98 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.6279, allocations: 27.98 kB / 0.5687 GB, free: 10.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6279, allocations: 0 / 0.5687 GB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003451/0.6282, allocations: 89.61 kB / 0.5688 GB, free: 10.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6283, allocations: 4 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6283, allocations: 3.984 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6283, allocations: 0 / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.6284, allocations: 16 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6285, allocations: 0 / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.6286, allocations: 15.94 kB / 0.5689 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.6286, allocations: 4 kB / 0.5689 GB, free: 10.14 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 (5): * Single equations (assignments): 5 * 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.0001184/0.6287, allocations: 121.8 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.6288, allocations: 7.906 kB / 0.569 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.6292, allocations: 109.9 kB / 0.5691 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6292, allocations: 4 kB / 0.5691 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6292, allocations: 0 / 0.5691 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6292, allocations: 0 / 0.5691 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006995/0.6299, allocations: 366.8 kB / 0.5695 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.63, allocations: 0 / 0.5695 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6301, allocations: 12 kB / 0.5695 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.6301, allocations: 0 / 0.5695 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.6301, allocations: 0 / 0.5695 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.6301, allocations: 3.984 kB / 0.5695 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.6302, allocations: 11.89 kB / 0.5695 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.6306, allocations: 187.4 kB / 0.5697 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.6307, allocations: 93 kB / 0.5697 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.6307, allocations: 0 / 0.5697 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6308, allocations: 8.75 kB / 0.5698 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.6309, allocations: 11.94 kB / 0.5698 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.6309, allocations: 0 / 0.5698 GB, free: 9.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.631, allocations: 105 kB / 0.5699 GB, free: 9.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.264e-06/0.631, allocations: 4 kB / 0.5699 GB, free: 9.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.6314, allocations: 19.92 kB / 0.5699 GB, free: 8.996 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 (5): * Single equations (assignments): 5 * 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.001867/0.6333, allocations: 1.037 MB / 0.5709 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.6337, allocations: 63.95 kB / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6337, allocations: 0 / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6338, allocations: 35.92 kB / 0.571 GB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.6341, allocations: 11.92 kB / 0.571 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.6356, allocations: 0.5961 MB / 0.5716 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6361, allocations: 0.6967 MB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.6362, allocations: 27.42 kB / 0.5723 GB, free: 6.535 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6362, allocations: 4 kB / 0.5723 GB, free: 6.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/3.401, allocations: 1.774 MB / 0.574 GB, free: 4.758 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat