Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",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.002176/0.002176, 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.028/2.028, 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.00117/0.00117, allocations: 85.31 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.5396/0.5396, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004756, allocations: 12 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.6173, allocations: 87.03 MB / 0.5638 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.6177, allocations: 71.97 kB / 0.5639 GB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.6348, allocations: 3.927 MB / 0.5677 GB, free: 11.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6349, allocations: 0 / 0.5677 GB, free: 11.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.6349, allocations: 0 / 0.5677 GB, free: 11.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009003/0.6358, allocations: 440.8 kB / 0.5681 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6359, allocations: 8.031 kB / 0.5681 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.636, allocations: 36.88 kB / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.636, allocations: 11.34 kB / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.6363, allocations: 202.9 kB / 0.5684 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.6363, allocations: 0 / 0.5684 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.6364, allocations: 4 kB / 0.5684 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.6368, allocations: 105 kB / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6368, allocations: 4 kB / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6369, allocations: 0 / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6369, allocations: 7.953 kB / 0.5685 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.6375, allocations: 95.92 kB / 0.5686 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.638, allocations: 300.7 kB / 0.5689 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.6384, allocations: 86.47 kB / 0.569 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.6384, allocations: 7.438 kB / 0.569 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.6385, allocations: 38.52 kB / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.6385, allocations: 0 / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.002827/0.6413, allocations: 461.1 kB / 0.5694 GB, free: 9.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.6414, allocations: 77.11 kB / 0.5695 GB, free: 9.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.6416, allocations: 138.4 kB / 0.5696 GB, free: 9.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.6417, allocations: 26.25 kB / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.6418, allocations: 170.4 kB / 0.5698 GB, free: 9.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.6418, allocations: 23.7 kB / 0.5699 GB, free: 9.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.6418, allocations: 0 / 0.5699 GB, free: 9.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.642, allocations: 314.8 kB / 0.5702 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.6426, allocations: 91.86 kB / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.6431, allocations: 101.9 kB / 0.5703 GB, free: 8.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.6437, allocations: 91.95 kB / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6437, allocations: 0 / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001176/0.6449, allocations: 237.3 kB / 0.5707 GB, free: 8.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6449, allocations: 4 kB / 0.5707 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6449, allocations: 0 / 0.5707 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.645, allocations: 0 / 0.5707 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.6454, allocations: 48.83 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.6454, allocations: 4 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.6457, allocations: 31.97 kB / 0.5707 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.6457, allocations: 8 kB / 0.5708 GB, free: 8.359 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 (8): * Single equations (assignments): 8 * 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.0001325/0.6459, allocations: 117.8 kB / 0.5709 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.6459, allocations: 11.86 kB / 0.5709 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.6472, allocations: 250.4 kB / 0.5711 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6472, allocations: 4 kB / 0.5711 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6472, allocations: 0 / 0.5711 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6472, allocations: 384 / 0.5711 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.6488, allocations: 0.5139 MB / 0.5716 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6489, allocations: 4 kB / 0.5716 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.6492, allocations: 47.95 kB / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.6492, allocations: 0 / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.6493, allocations: 0 / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6493, allocations: 0 / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.6493, allocations: 4 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.6505, allocations: 324 kB / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.6506, allocations: 96.91 kB / 0.5721 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.6507, allocations: 0 / 0.5721 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.651, allocations: 31.97 kB / 0.5721 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.6511, allocations: 19.91 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.6511, allocations: 4 kB / 0.5721 GB, free: 6.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.6513, allocations: 117.3 kB / 0.5722 GB, free: 6.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6513, allocations: 0 / 0.5722 GB, free: 6.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.6517, allocations: 47.84 kB / 0.5723 GB, free: 6.684 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 (8): * Single equations (assignments): 8 * 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.002789/0.6545, allocations: 1.197 MB / 0.5735 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.6557, allocations: 191.8 kB / 0.5736 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6557, allocations: 4 kB / 0.5736 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.6563, allocations: 103.9 kB / 0.5737 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.6566, allocations: 16.25 kB / 0.5738 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.6596, allocations: 0.8814 MB / 0.5746 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.66, allocations: 0.7043 MB / 0.5753 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.6602, allocations: 31.42 kB / 0.5753 GB, free: 3.562 MB / 394.7 MB Notification: Performance of SimCode: time 7.455e-06/0.6602, allocations: 0 / 0.5753 GB, free: 3.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.682/3.342, allocations: 2.574 MB / 0.5778 GB, free: 0.9961 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat does not exist to compare? outputFormat=mat