Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5",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.002286/0.002286, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 82.77 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2883/0.2883, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.204e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4697, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.6295, allocations: 85.75 MB / 0.5497 GB, free: 13.45 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6299, allocations: 75.95 kB / 0.5498 GB, free: 13.37 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.6467, allocations: 3.945 MB / 0.5537 GB, free: 9.43 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6467, allocations: 0 / 0.5537 GB, free: 9.43 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.6467, allocations: 4 kB / 0.5537 GB, free: 9.426 MB / 395.1 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.000485/0.6472, allocations: 402.7 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6473, allocations: 12.03 kB / 0.5541 GB, free: 8.977 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.6474, allocations: 7.906 kB / 0.5541 GB, free: 8.969 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.6477, allocations: 199.5 kB / 0.5543 GB, free: 8.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.6477, allocations: 4 kB / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.6478, allocations: 0 / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.454e-05/0.6478, allocations: 12 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.648, allocations: 45.62 kB / 0.5543 GB, free: 8.664 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.648, allocations: 4 kB / 0.5543 GB, free: 8.66 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.648, allocations: 0 / 0.5543 GB, free: 8.66 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.648, allocations: 4 kB / 0.5543 GB, free: 8.656 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.6485, allocations: 289.3 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.6488, allocations: 34.56 kB / 0.5546 GB, free: 8.293 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.6488, allocations: 12.86 kB / 0.5546 GB, free: 8.277 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6488, allocations: 4 kB / 0.5546 GB, free: 8.273 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.6489, allocations: 34.56 kB / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.6489, allocations: 0 / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005524/0.6494, allocations: 117.3 kB / 0.5548 GB, free: 8.109 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.6495, allocations: 51.41 kB / 0.5548 GB, free: 8.047 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.6498, allocations: 193.5 kB / 0.555 GB, free: 7.848 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6498, allocations: 29.7 kB / 0.5551 GB, free: 7.812 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.6499, allocations: 170.5 kB / 0.5552 GB, free: 7.645 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.65, allocations: 19.64 kB / 0.5552 GB, free: 7.625 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.65, allocations: 0 / 0.5552 GB, free: 7.625 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6501, allocations: 318.8 kB / 0.5555 GB, free: 7.305 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.6501, allocations: 12 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.6502, allocations: 12 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.6503, allocations: 12.14 kB / 0.5556 GB, free: 7.27 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6503, allocations: 7.938 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001368/0.6504, allocations: 57.69 kB / 0.5556 GB, free: 7.199 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6505, allocations: 8 kB / 0.5556 GB, free: 7.191 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6505, allocations: 0 / 0.5556 GB, free: 7.191 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6505, allocations: 0 / 0.5556 GB, free: 7.191 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.6506, allocations: 15.98 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6506, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.6507, allocations: 4 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.6508, allocations: 4 kB / 0.5557 GB, free: 7.168 MB / 395.1 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 () * 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 8.015e-05/0.6508, allocations: 108.9 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001591/0.651, allocations: 69.53 kB / 0.5558 GB, free: 6.98 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.6511, allocations: 15.8 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.6513, allocations: 79.3 kB / 0.5559 GB, free: 6.883 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6513, allocations: 4 kB / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6513, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6513, allocations: 3.953 kB / 0.5559 GB, free: 6.875 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.6519, allocations: 335.5 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6519, allocations: 7.984 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.652, allocations: 8 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.652, allocations: 4 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.652, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.6521, allocations: 3.938 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6521, allocations: 3.953 kB / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.6523, allocations: 171.4 kB / 0.5564 GB, free: 6.293 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.6524, allocations: 96.92 kB / 0.5565 GB, free: 6.18 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.6524, allocations: 0 / 0.5565 GB, free: 6.18 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6526, allocations: 11.98 kB / 0.5566 GB, free: 6.168 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.6526, allocations: 0 / 0.5566 GB, free: 6.168 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.6526, allocations: 11.83 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.6528, allocations: 159.2 kB / 0.5567 GB, free: 6 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6529, allocations: 0 / 0.5567 GB, free: 6 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.6532, allocations: 20 kB / 0.5567 GB, free: 5.98 MB / 395.1 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 () * 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.001399/0.6546, allocations: 0.9223 MB / 0.5576 GB, free: 5.078 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.6548, allocations: 39.86 kB / 0.5577 GB, free: 5.039 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6548, allocations: 4 kB / 0.5577 GB, free: 5.035 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.6549, allocations: 16 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.6552, allocations: 15.84 kB / 0.5577 GB, free: 5.004 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.656, allocations: 259.9 kB / 0.558 GB, free: 4.711 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.6564, allocations: 0.7157 MB / 0.5587 GB, free: 3.969 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6565, allocations: 35.42 kB / 0.5587 GB, free: 3.934 MB / 395.1 MB Notification: Performance of SimCode: time 3.086e-06/0.6566, allocations: 0 / 0.5587 GB, free: 3.934 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/3.245, allocations: 2.215 MB / 0.5609 GB, free: 1.727 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat does not exist to compare? outputFormat=mat