Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26",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.002425/0.002425, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.246/2.246, 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.001132/0.001132, allocations: 88.14 kB / 270.9 MB, free: 8.383 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.5725/0.5725, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004759, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1375, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6229/0.7605, allocations: 86.49 MB / 0.5633 GB, free: 156 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.7609, allocations: 67.97 kB / 0.5634 GB, free: 88 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.7861, allocations: 3.942 MB / 0.5672 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.7862, allocations: 0 / 0.5672 GB, free: 12.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.7862, allocations: 4 kB / 0.5672 GB, free: 12.18 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.0008728/0.7871, allocations: 411.7 kB / 0.5676 GB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.431e-05/0.7872, allocations: 19.95 kB / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.7873, allocations: 30.56 kB / 0.5677 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.7874, allocations: 11.91 kB / 0.5677 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.7879, allocations: 198.9 kB / 0.5679 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.7879, allocations: 0 / 0.5679 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.788, allocations: 7.984 kB / 0.5679 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.7883, allocations: 50.25 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.7883, allocations: 0 / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.7883, allocations: 7.984 kB / 0.5679 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.7884, allocations: 3.938 kB / 0.5679 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.7886, allocations: 25.02 kB / 0.5679 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.7894, allocations: 300.8 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.7898, allocations: 46.56 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.7899, allocations: 7.938 kB / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.7899, allocations: 30.56 kB / 0.5683 GB, free: 10.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/0.7899, allocations: 0 / 0.5683 GB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001305/0.7913, allocations: 177.3 kB / 0.5685 GB, free: 10.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.7914, allocations: 55.36 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.7919, allocations: 185.4 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.7919, allocations: 29.7 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.7921, allocations: 166.4 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.7921, allocations: 15.81 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.7921, allocations: 0 / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.7924, allocations: 315 kB / 0.5692 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.7926, allocations: 27.98 kB / 0.5692 GB, free: 9.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.7928, allocations: 23.98 kB / 0.5693 GB, free: 9.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.793, allocations: 27.98 kB / 0.5693 GB, free: 9.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.793, allocations: 0 / 0.5693 GB, free: 9.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004946/0.7935, allocations: 89.66 kB / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.7936, allocations: 8 kB / 0.5694 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7936, allocations: 0 / 0.5694 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.7936, allocations: 3.938 kB / 0.5694 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.7938, allocations: 12 kB / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.7938, allocations: 3.984 kB / 0.5694 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.794, allocations: 7.953 kB / 0.5694 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.794, allocations: 8 kB / 0.5694 GB, free: 9.719 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.0002214/0.7943, allocations: 129.8 kB / 0.5695 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.7944, allocations: 7.906 kB / 0.5695 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.795, allocations: 105.9 kB / 0.5696 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7951, allocations: 4 kB / 0.5697 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7951, allocations: 7.984 kB / 0.5697 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7951, allocations: 3.938 kB / 0.5697 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7962, allocations: 382.4 kB / 0.57 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7963, allocations: 0 / 0.57 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.7964, allocations: 20.88 kB / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.7965, allocations: 0 / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.7965, allocations: 0 / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.7965, allocations: 3.984 kB / 0.5701 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.7965, allocations: 3.953 kB / 0.5701 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.7972, allocations: 195.8 kB / 0.5702 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.7973, allocations: 101 kB / 0.5703 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.7974, allocations: 0 / 0.5703 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7976, allocations: 7.984 kB / 0.5703 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.7977, allocations: 4 kB / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.7977, allocations: 3.953 kB / 0.5704 GB, free: 8.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003316/0.798, allocations: 159.8 kB / 0.5705 GB, free: 8.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.7981, allocations: 3.938 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006004/0.7987, allocations: 20 kB / 0.5705 GB, free: 8.477 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.002961/0.8017, allocations: 1.043 MB / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.8022, allocations: 59.95 kB / 0.5716 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8023, allocations: 0 / 0.5716 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.8025, allocations: 31.92 kB / 0.5716 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.803, allocations: 19.98 kB / 0.5717 GB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.8056, allocations: 0.7224 MB / 0.5724 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.8062, allocations: 0.7161 MB / 0.5731 GB, free: 5.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.8064, allocations: 27.42 kB / 0.5731 GB, free: 5.859 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.8064, allocations: 4 kB / 0.5731 GB, free: 5.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.84/3.646, allocations: 2.109 MB / 0.5751 GB, free: 3.746 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat does not exist to compare? outputFormat=mat