Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.001582/0.001581, allocations: 186 kB / 16.41 MB, free: 5.727 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.169/2.169, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001151/0.00115, allocations: 96.41 kB / 270.9 MB, free: 8.387 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.5713/0.5713, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006714/0.0006714, allocations: 8 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1409, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5866/0.7276, allocations: 86.9 MB / 0.5637 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/0.728, allocations: 71.97 kB / 0.5638 GB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0448/0.7729, allocations: 7.994 MB / 0.5716 GB, free: 7.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.7729, allocations: 0 / 0.5716 GB, free: 7.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.386e-05/0.773, allocations: 8 kB / 0.5716 GB, free: 7.609 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.001388/0.7744, allocations: 0.6318 MB / 0.5722 GB, free: 6.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.7745, allocations: 8.031 kB / 0.5722 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.7746, allocations: 38.5 kB / 0.5722 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.7748, allocations: 43.44 kB / 0.5723 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.7757, allocations: 327.4 kB / 0.5726 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7758, allocations: 0.5625 kB / 0.5726 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.7758, allocations: 4 kB / 0.5726 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.7761, allocations: 54.72 kB / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.7761, allocations: 0 / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.7762, allocations: 4 kB / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.7762, allocations: 3.953 kB / 0.5727 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.7764, allocations: 35.38 kB / 0.5727 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.7777, allocations: 428.7 kB / 0.5731 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.7782, allocations: 50.55 kB / 0.5731 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.7783, allocations: 80 / 0.5731 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.7784, allocations: 42.52 kB / 0.5732 GB, free: 5.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.484e-06/0.7784, allocations: 0.6562 kB / 0.5732 GB, free: 5.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001454/0.7798, allocations: 244 kB / 0.5734 GB, free: 5.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.78, allocations: 59.34 kB / 0.5735 GB, free: 5.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.7831, allocations: 0.7863 MB / 0.5742 GB, free: 4.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.7832, allocations: 25.7 kB / 0.5743 GB, free: 4.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.7835, allocations: 243.3 kB / 0.5745 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.7836, allocations: 15.72 kB / 0.5745 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.7836, allocations: 0 / 0.5745 GB, free: 4.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7838, allocations: 310.8 kB / 0.5748 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.784, allocations: 27.98 kB / 0.5748 GB, free: 4.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7842, allocations: 27.97 kB / 0.5749 GB, free: 4.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.7844, allocations: 16 kB / 0.5749 GB, free: 4.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7845, allocations: 3.938 kB / 0.5749 GB, free: 4.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005057/0.785, allocations: 90.28 kB / 0.575 GB, free: 3.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.785, allocations: 11.95 kB / 0.575 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/0.7851, allocations: 288 / 0.575 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.7851, allocations: 0 / 0.575 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.7853, allocations: 15.94 kB / 0.575 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7853, allocations: 256 / 0.575 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.7856, allocations: 11.92 kB / 0.575 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.7856, allocations: 12 kB / 0.575 GB, free: 3.871 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.0005/0.7861, allocations: 213.8 kB / 0.5752 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.7864, allocations: 51.41 kB / 0.5753 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.7871, allocations: 137 kB / 0.5754 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7871, allocations: 4 kB / 0.5754 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.7871, allocations: 0 / 0.5754 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7872, allocations: 0 / 0.5754 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.7894, allocations: 0.5842 MB / 0.576 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.7895, allocations: 3.953 kB / 0.576 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.7896, allocations: 19.98 kB / 0.576 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.7897, allocations: 0 / 0.576 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.7897, allocations: 4 kB / 0.576 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.7897, allocations: 0.75 kB / 0.576 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7897, allocations: 0 / 0.576 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.7904, allocations: 226.9 kB / 0.5762 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.7908, allocations: 164.6 kB / 0.5764 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.7909, allocations: 0 / 0.5764 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.7912, allocations: 4 kB / 0.5764 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.7913, allocations: 7.984 kB / 0.5764 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.7913, allocations: 0 / 0.5764 GB, free: 2.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001848/0.7932, allocations: 0.6471 MB / 0.577 GB, free: 1.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7932, allocations: 0 / 0.577 GB, free: 1.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008047/0.794, allocations: 52 kB / 0.5771 GB, free: 1.664 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.002813/0.7969, allocations: 1.074 MB / 0.5781 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.7974, allocations: 51.97 kB / 0.5782 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7975, allocations: 0 / 0.5782 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.7977, allocations: 31.98 kB / 0.5782 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.7983, allocations: 33.83 kB / 0.5782 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/0.8059, allocations: 2.339 MB / 0.5805 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007728/0.8067, allocations: 0.834 MB / 0.5813 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.8072, allocations: 103.6 kB / 0.5814 GB, free: 13.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8072, allocations: 0 / 0.5814 GB, free: 13.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.568, allocations: 7.215 MB / 0.5885 GB, free: 5.949 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat