Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",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.002386/0.002392, allocations: 186.2 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.126/2.126, 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.001187/0.001187, allocations: 93.86 kB / 270.9 MB, free: 8.395 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.5439/0.5439, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005047, allocations: 16 kB / 431.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 58.84 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5391/0.6725, allocations: 87.22 MB / 0.564 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.6728, allocations: 71.97 kB / 0.5641 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.6922, allocations: 4.371 MB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.339e-06/0.6923, allocations: 0 / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.6923, allocations: 7.938 kB / 0.5683 GB, free: 10.79 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.0007144/0.693, allocations: 418.6 kB / 0.5687 GB, free: 10.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.6931, allocations: 8.031 kB / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.6931, allocations: 34 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.6932, allocations: 7.906 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.6935, allocations: 211.4 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6936, allocations: 4 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6936, allocations: 0 / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.6939, allocations: 66.16 kB / 0.5691 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6939, allocations: 1.031 kB / 0.5691 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6939, allocations: 4 kB / 0.5691 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6939, allocations: 0 / 0.5691 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.6942, allocations: 51.92 kB / 0.5691 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.6948, allocations: 320.7 kB / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.6951, allocations: 58.48 kB / 0.5695 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.6951, allocations: 4 kB / 0.5695 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.6951, allocations: 30.56 kB / 0.5695 GB, free: 9.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.6952, allocations: 0 / 0.5695 GB, free: 9.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001382/0.6965, allocations: 277.5 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.6966, allocations: 51.41 kB / 0.5698 GB, free: 9.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.6969, allocations: 168.5 kB / 0.57 GB, free: 8.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.6969, allocations: 29.7 kB / 0.57 GB, free: 8.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.6971, allocations: 178.5 kB / 0.5702 GB, free: 8.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.6971, allocations: 19.66 kB / 0.5702 GB, free: 8.691 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.6971, allocations: 4 kB / 0.5702 GB, free: 8.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6973, allocations: 310.8 kB / 0.5705 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.6975, allocations: 47.95 kB / 0.5705 GB, free: 8.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.6978, allocations: 51.97 kB / 0.5706 GB, free: 8.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.698, allocations: 44.83 kB / 0.5706 GB, free: 8.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.698, allocations: 0 / 0.5706 GB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005562/0.6986, allocations: 133.6 kB / 0.5708 GB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6986, allocations: 7.984 kB / 0.5708 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6987, allocations: 7.938 kB / 0.5708 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6987, allocations: 4 kB / 0.5708 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.6989, allocations: 23.98 kB / 0.5708 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6989, allocations: 0.7812 kB / 0.5708 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.6991, allocations: 19.98 kB / 0.5708 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.6991, allocations: 0.625 kB / 0.5708 GB, free: 8.035 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 (7): * Single equations (assignments): 7 * 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.0001561/0.6993, allocations: 129.8 kB / 0.571 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.6993, allocations: 11.89 kB / 0.571 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/0.7, allocations: 170.5 kB / 0.5711 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7, allocations: 3.953 kB / 0.5711 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.7, allocations: 0 / 0.5711 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7, allocations: 0 / 0.5711 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7012, allocations: 446.4 kB / 0.5716 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7012, allocations: 0 / 0.5716 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.7014, allocations: 27.92 kB / 0.5716 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.7015, allocations: 3.953 kB / 0.5716 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.7015, allocations: 7.938 kB / 0.5716 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.7015, allocations: 0 / 0.5716 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7015, allocations: 4 kB / 0.5716 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.7021, allocations: 235.4 kB / 0.5718 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.7023, allocations: 93 kB / 0.5719 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.7023, allocations: 3.953 kB / 0.5719 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7025, allocations: 19.98 kB / 0.5719 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.7025, allocations: 0 / 0.5719 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.7026, allocations: 7.984 kB / 0.5719 GB, free: 6.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.7028, allocations: 144.8 kB / 0.5721 GB, free: 6.652 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7028, allocations: 4 kB / 0.5721 GB, free: 6.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.7032, allocations: 20 kB / 0.5721 GB, free: 6.629 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 (7): * Single equations (assignments): 7 * 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.002108/0.7053, allocations: 1.083 MB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005933/0.7059, allocations: 103.9 kB / 0.5733 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7059, allocations: 0 / 0.5733 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.7062, allocations: 55.97 kB / 0.5733 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.7065, allocations: 19.94 kB / 0.5733 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.7088, allocations: 0.8279 MB / 0.5741 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.7092, allocations: 0.7121 MB / 0.5748 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.7094, allocations: 31.42 kB / 0.5749 GB, free: 3.797 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7094, allocations: 0 / 0.5749 GB, free: 3.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.891/3.601, allocations: 2.341 MB / 0.5772 GB, free: 1.457 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat does not exist to compare? outputFormat=mat