Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",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.00221/0.00221, allocations: 185.5 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.219/2.219, 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.001184/0.001184, allocations: 104.3 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.5947/0.5947, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004976, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1443, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.618, allocations: 86.49 MB / 0.5633 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.6184, allocations: 75.95 kB / 0.5634 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01848/0.6369, allocations: 4.166 MB / 0.5674 GB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6369, allocations: 0 / 0.5674 GB, free: 11.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.637, allocations: 3.938 kB / 0.5674 GB, free: 11.71 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.0006797/0.6377, allocations: 439.4 kB / 0.5679 GB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.6377, allocations: 8.031 kB / 0.5679 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.6378, allocations: 34.55 kB / 0.5679 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.6378, allocations: 19.25 kB / 0.5679 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.6382, allocations: 208.2 kB / 0.5681 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.6382, allocations: 4 kB / 0.5681 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.6383, allocations: 4 kB / 0.5681 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.6385, allocations: 57.61 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6385, allocations: 0 / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6385, allocations: 1.031 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.6385, allocations: 4 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.6387, allocations: 23.98 kB / 0.5682 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.6393, allocations: 320.7 kB / 0.5685 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.6396, allocations: 46.5 kB / 0.5686 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.6396, allocations: 0 / 0.5686 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.6397, allocations: 30.56 kB / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.6397, allocations: 0 / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009339/0.6406, allocations: 187.4 kB / 0.5688 GB, free: 10.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.6407, allocations: 51.41 kB / 0.5688 GB, free: 10.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.6412, allocations: 244 kB / 0.569 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.6412, allocations: 25.7 kB / 0.5691 GB, free: 9.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.6413, allocations: 166.6 kB / 0.5692 GB, free: 9.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.6414, allocations: 23.69 kB / 0.5692 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.6414, allocations: 0 / 0.5692 GB, free: 9.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6415, allocations: 311.1 kB / 0.5695 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.6417, allocations: 27.97 kB / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6418, allocations: 27.98 kB / 0.5696 GB, free: 9.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.642, allocations: 27.98 kB / 0.5696 GB, free: 9.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.642, allocations: 0 / 0.5696 GB, free: 9.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003507/0.6424, allocations: 89.61 kB / 0.5697 GB, free: 9.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6424, allocations: 8 kB / 0.5697 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6424, allocations: 0 / 0.5697 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6425, allocations: 3.984 kB / 0.5697 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.6426, allocations: 12 kB / 0.5697 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.6426, allocations: 3.953 kB / 0.5697 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.746e-05/0.6427, allocations: 10.14 kB / 0.5697 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.6428, allocations: 4 kB / 0.5697 GB, free: 9.141 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.0001694/0.6429, allocations: 141.8 kB / 0.5699 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.643, allocations: 12.09 kB / 0.5699 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.6434, allocations: 119.4 kB / 0.57 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.6435, allocations: 3.984 kB / 0.57 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6435, allocations: 4 kB / 0.57 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6435, allocations: 3.953 kB / 0.57 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007908/0.6443, allocations: 394.8 kB / 0.5704 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6443, allocations: 4.062 kB / 0.5704 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.6445, allocations: 19.98 kB / 0.5704 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6445, allocations: 0 / 0.5704 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.6445, allocations: 0 / 0.5704 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6445, allocations: 3.953 kB / 0.5704 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.6445, allocations: 3.938 kB / 0.5704 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.6449, allocations: 207.3 kB / 0.5706 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.6451, allocations: 96.91 kB / 0.5707 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.6451, allocations: 4 kB / 0.5707 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6452, allocations: 8 kB / 0.5707 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.6453, allocations: 7.938 kB / 0.5707 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.6453, allocations: 4 kB / 0.5707 GB, free: 8.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.6457, allocations: 196.3 kB / 0.5709 GB, free: 7.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.6457, allocations: 0 / 0.5709 GB, free: 7.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.6461, allocations: 36.67 kB / 0.571 GB, free: 7.793 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.001939/0.648, allocations: 1.034 MB / 0.572 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.6484, allocations: 63.95 kB / 0.572 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6485, allocations: 0 / 0.572 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.6486, allocations: 31.92 kB / 0.5721 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.649, allocations: 24.12 kB / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.6512, allocations: 0.8765 MB / 0.5729 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.6517, allocations: 0.716 MB / 0.5736 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.6519, allocations: 43.42 kB / 0.5737 GB, free: 5.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.973e-06/0.6519, allocations: 0 / 0.5737 GB, free: 5.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/3.318, allocations: 2.448 MB / 0.5761 GB, free: 2.566 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat does not exist to compare? outputFormat=mat