Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001531/0.001531, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.167/2.167, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001163/0.001162, allocations: 88.44 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.5933/0.5933, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005065, allocations: 19.98 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1353, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6104, allocations: 87.12 MB / 0.5639 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/0.6108, allocations: 71.97 kB / 0.564 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04292/0.6538, allocations: 7.89 MB / 0.5717 GB, free: 7.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6538, allocations: 4 kB / 0.5717 GB, free: 7.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.279e-05/0.6539, allocations: 4 kB / 0.5717 GB, free: 7.32 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.001334/0.6553, allocations: 0.6287 MB / 0.5723 GB, free: 6.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.6553, allocations: 8.031 kB / 0.5723 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.6554, allocations: 34.56 kB / 0.5723 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.6556, allocations: 44.56 kB / 0.5724 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009855/0.6566, allocations: 323.4 kB / 0.5727 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.6566, allocations: 0.7656 kB / 0.5727 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.6567, allocations: 7.938 kB / 0.5727 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.657, allocations: 54.72 kB / 0.5728 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.657, allocations: 0 / 0.5728 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.657, allocations: 0 / 0.5728 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.657, allocations: 3.953 kB / 0.5728 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.6573, allocations: 27.97 kB / 0.5728 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.6586, allocations: 442.1 kB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.6588, allocations: 34.52 kB / 0.5732 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.6589, allocations: 0 / 0.5732 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.6589, allocations: 38.5 kB / 0.5733 GB, free: 5.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.6589, allocations: 4 kB / 0.5733 GB, free: 5.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006174/0.6596, allocations: 97.28 kB / 0.5734 GB, free: 5.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.6597, allocations: 59.33 kB / 0.5734 GB, free: 5.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.663, allocations: 0.7978 MB / 0.5742 GB, free: 4.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.6631, allocations: 25.7 kB / 0.5742 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.6635, allocations: 242.7 kB / 0.5745 GB, free: 4.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.6635, allocations: 11.91 kB / 0.5745 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.6635, allocations: 0 / 0.5745 GB, free: 4.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6638, allocations: 318.9 kB / 0.5748 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6639, allocations: 4 kB / 0.5748 GB, free: 3.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.6641, allocations: 15.98 kB / 0.5748 GB, free: 3.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.6642, allocations: 16.05 kB / 0.5748 GB, free: 3.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6643, allocations: 4 kB / 0.5748 GB, free: 3.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003881/0.6647, allocations: 53.69 kB / 0.5749 GB, free: 3.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.6647, allocations: 4 kB / 0.5749 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6647, allocations: 0 / 0.5749 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.6648, allocations: 3.953 kB / 0.5749 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.665, allocations: 13.8 kB / 0.5749 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.665, allocations: 4 kB / 0.5749 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.6652, allocations: 12.03 kB / 0.5749 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.6653, allocations: 0 / 0.5749 GB, free: 3.812 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 (2): * Single equations (assignments): 2 * 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.0005136/0.6658, allocations: 213.8 kB / 0.5751 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.666, allocations: 35.53 kB / 0.5751 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.6666, allocations: 116.5 kB / 0.5753 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6666, allocations: 7.953 kB / 0.5753 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6666, allocations: 4.031 kB / 0.5753 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6666, allocations: 0 / 0.5753 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.6674, allocations: 317.5 kB / 0.5756 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.6675, allocations: 4 kB / 0.5756 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6676, allocations: 7.984 kB / 0.5756 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.6676, allocations: 0 / 0.5756 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.6676, allocations: 0 / 0.5756 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.6677, allocations: 4.812 kB / 0.5756 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.6677, allocations: 3.953 kB / 0.5756 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.6682, allocations: 195.1 kB / 0.5758 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.6688, allocations: 160.5 kB / 0.5759 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6689, allocations: 0 / 0.5759 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.6691, allocations: 11.98 kB / 0.5759 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.6692, allocations: 4 kB / 0.5759 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6692, allocations: 11.89 kB / 0.576 GB, free: 2.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002059/0.6713, allocations: 0.6472 MB / 0.5766 GB, free: 1.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.6714, allocations: 0 / 0.5766 GB, free: 1.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007043/0.6721, allocations: 51.94 kB / 0.5766 GB, free: 1.941 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 (2): * Single equations (assignments): 2 * 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.002215/0.6743, allocations: 0.9741 MB / 0.5776 GB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.6746, allocations: 31.98 kB / 0.5776 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6746, allocations: 0 / 0.5776 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.6747, allocations: 19.98 kB / 0.5776 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.6751, allocations: 18.3 kB / 0.5777 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.6803, allocations: 2.303 MB / 0.5799 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.681, allocations: 0.8296 MB / 0.5807 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.6813, allocations: 119.7 kB / 0.5808 GB, free: 13.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6813, allocations: 0 / 0.5808 GB, free: 13.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.646/3.328, allocations: 7.007 MB / 0.5877 GB, free: 6.609 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat