Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001511/0.001511, 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.17/2.17, 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.001166/0.001166, allocations: 88.42 kB / 270.9 MB, free: 8.367 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.5678/0.5678, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006577/0.0006578, allocations: 8 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1376, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.615, allocations: 87.3 MB / 0.5641 GB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.6153, allocations: 67.97 kB / 0.5641 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03248/0.6478, allocations: 8.112 MB / 0.5721 GB, free: 7.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.6479, allocations: 0 / 0.5721 GB, free: 7.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.6479, allocations: 4 kB / 0.5721 GB, free: 7.086 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.001027/0.649, allocations: 0.6287 MB / 0.5727 GB, free: 6.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6491, allocations: 16.69 kB / 0.5727 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.6491, allocations: 34.56 kB / 0.5727 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.6492, allocations: 44 kB / 0.5728 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/0.6499, allocations: 327.4 kB / 0.5731 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6499, allocations: 0.6562 kB / 0.5731 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.65, allocations: 7.906 kB / 0.5731 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.6502, allocations: 59.95 kB / 0.5731 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6502, allocations: 4 kB / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6502, allocations: 0 / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.6503, allocations: 7.953 kB / 0.5732 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.6505, allocations: 37.36 kB / 0.5732 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.6514, allocations: 436.8 kB / 0.5736 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.6517, allocations: 54.5 kB / 0.5737 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.6518, allocations: 4.078 kB / 0.5737 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6518, allocations: 38.66 kB / 0.5737 GB, free: 5.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.6518, allocations: 0 / 0.5737 GB, free: 5.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001013/0.6529, allocations: 259.8 kB / 0.5739 GB, free: 4.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.6529, allocations: 55.41 kB / 0.574 GB, free: 4.914 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.655, allocations: 0.7824 MB / 0.5748 GB, free: 4.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.6551, allocations: 29.7 kB / 0.5748 GB, free: 4.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.6553, allocations: 245.3 kB / 0.575 GB, free: 3.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.6553, allocations: 19.73 kB / 0.575 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.6554, allocations: 4 kB / 0.575 GB, free: 3.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6555, allocations: 310.8 kB / 0.5753 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6557, allocations: 23.98 kB / 0.5754 GB, free: 3.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.6558, allocations: 27.98 kB / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.656, allocations: 27.92 kB / 0.5754 GB, free: 3.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.656, allocations: 0 / 0.5754 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003467/0.6564, allocations: 93.59 kB / 0.5755 GB, free: 3.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.6564, allocations: 7.953 kB / 0.5755 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6564, allocations: 11.98 kB / 0.5755 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.6565, allocations: 288 / 0.5755 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6566, allocations: 19.98 kB / 0.5755 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.6566, allocations: 0 / 0.5755 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.6568, allocations: 4 kB / 0.5756 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6568, allocations: 4 kB / 0.5756 GB, free: 3.297 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.0003452/0.6572, allocations: 217.8 kB / 0.5758 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.6573, allocations: 51.42 kB / 0.5758 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.6578, allocations: 153 kB / 0.576 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6578, allocations: 0 / 0.576 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6578, allocations: 0 / 0.576 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6579, allocations: 0 / 0.576 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.6592, allocations: 0.5959 MB / 0.5765 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6592, allocations: 7.953 kB / 0.5765 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.6593, allocations: 11.98 kB / 0.5766 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.6594, allocations: 7.938 kB / 0.5766 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.6594, allocations: 0 / 0.5766 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6594, allocations: 4 kB / 0.5766 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6594, allocations: 0 / 0.5766 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.6599, allocations: 228.7 kB / 0.5768 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.6602, allocations: 164.5 kB / 0.5769 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.6603, allocations: 8 kB / 0.577 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.6605, allocations: 4 kB / 0.577 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.6605, allocations: 7.984 kB / 0.577 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.6605, allocations: 0 / 0.577 GB, free: 1.746 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.6618, allocations: 0.6432 MB / 0.5776 GB, free: 1.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6619, allocations: 0 / 0.5776 GB, free: 1.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.6623, allocations: 60 kB / 0.5777 GB, free: 1.047 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.00201/0.6644, allocations: 1.066 MB / 0.5787 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.6648, allocations: 63.89 kB / 0.5788 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6648, allocations: 0 / 0.5788 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.665, allocations: 32.06 kB / 0.5788 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.6654, allocations: 22.3 kB / 0.5788 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.6708, allocations: 2.389 MB / 0.5811 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.6715, allocations: 0.8418 MB / 0.582 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.6718, allocations: 115.4 kB / 0.5821 GB, free: 12.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6718, allocations: 4 kB / 0.5821 GB, free: 12.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.473, allocations: 7.293 MB / 0.5892 GB, free: 5.195 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat