Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30",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.001558/0.001558, allocations: 185.9 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.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001192/0.001192, allocations: 88.44 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.536/0.536, allocations: 43.54 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004918, allocations: 20 kB / 431.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 58.85 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/0.6265, allocations: 86.83 MB / 0.5636 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.6268, allocations: 78.17 kB / 0.5637 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01905/0.6459, allocations: 4.337 MB / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.646, allocations: 0 / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.646, allocations: 0 / 0.5679 GB, free: 11.2 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.0007059/0.6467, allocations: 421.7 kB / 0.5683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6468, allocations: 16.03 kB / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.6468, allocations: 38.55 kB / 0.5684 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.6469, allocations: 12.47 kB / 0.5684 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.6472, allocations: 203.5 kB / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.6473, allocations: 0 / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.6473, allocations: 8 kB / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.6475, allocations: 61.61 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6476, allocations: 0 / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6476, allocations: 9.031 kB / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6476, allocations: 0 / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.6479, allocations: 40.59 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.6484, allocations: 304.8 kB / 0.569 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.6486, allocations: 54.5 kB / 0.569 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.6487, allocations: 0 / 0.569 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.6487, allocations: 33.47 kB / 0.5691 GB, free: 9.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.6487, allocations: 0 / 0.5691 GB, free: 9.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001294/0.65, allocations: 253.3 kB / 0.5693 GB, free: 9.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.6501, allocations: 51.41 kB / 0.5694 GB, free: 9.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.6505, allocations: 192.8 kB / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.6505, allocations: 25.7 kB / 0.5696 GB, free: 9.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.6506, allocations: 170.6 kB / 0.5697 GB, free: 9.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.6507, allocations: 28.19 kB / 0.5698 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.6507, allocations: 0 / 0.5698 GB, free: 9.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6509, allocations: 314.8 kB / 0.5701 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.6511, allocations: 35.97 kB / 0.5701 GB, free: 8.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.6513, allocations: 48.03 kB / 0.5701 GB, free: 8.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.6515, allocations: 44.52 kB / 0.5702 GB, free: 8.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6516, allocations: 0 / 0.5702 GB, free: 8.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005227/0.6521, allocations: 129.6 kB / 0.5703 GB, free: 8.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6521, allocations: 7.984 kB / 0.5703 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6522, allocations: 0 / 0.5703 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.6522, allocations: 15.92 kB / 0.5703 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.6524, allocations: 23.98 kB / 0.5704 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6524, allocations: 0 / 0.5704 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.6526, allocations: 15.98 kB / 0.5704 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.6526, allocations: 0 / 0.5704 GB, free: 8.488 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.0001785/0.6528, allocations: 133.8 kB / 0.5705 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.6529, allocations: 7.906 kB / 0.5705 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.6535, allocations: 147 kB / 0.5707 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6535, allocations: 7.953 kB / 0.5707 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6535, allocations: 0 / 0.5707 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6535, allocations: 0 / 0.5707 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.6545, allocations: 423.1 kB / 0.5711 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6545, allocations: 3.938 kB / 0.5711 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6547, allocations: 23.98 kB / 0.5711 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.6547, allocations: 4.984 kB / 0.5711 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6548, allocations: 7.984 kB / 0.5711 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6548, allocations: 0 / 0.5711 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6548, allocations: 4 kB / 0.5711 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.6554, allocations: 227.3 kB / 0.5713 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.6555, allocations: 93 kB / 0.5714 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.6555, allocations: 7.953 kB / 0.5714 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6557, allocations: 8 kB / 0.5714 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.6558, allocations: 11.98 kB / 0.5714 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.6558, allocations: 0 / 0.5714 GB, free: 7.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002428/0.656, allocations: 164.8 kB / 0.5716 GB, free: 7.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6561, allocations: 7.938 kB / 0.5716 GB, free: 7.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.6564, allocations: 31.94 kB / 0.5716 GB, free: 7.098 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.002043/0.6585, allocations: 1.062 MB / 0.5727 GB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005606/0.6591, allocations: 95.88 kB / 0.5728 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6591, allocations: 0 / 0.5728 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.6593, allocations: 51.95 kB / 0.5728 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.6597, allocations: 23.88 kB / 0.5728 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.6619, allocations: 0.8337 MB / 0.5736 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.6624, allocations: 0.7119 MB / 0.5743 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.6625, allocations: 31.42 kB / 0.5744 GB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 3.036e-06/0.6625, allocations: 3.938 kB / 0.5744 GB, free: 4.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/3.252, allocations: 2.307 MB / 0.5766 GB, free: 1.988 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat does not exist to compare? outputFormat=mat