Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",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.002426/0.002425, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001111/0.001111, allocations: 96.41 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.5858/0.5858, allocations: 43.54 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007292/0.0007292, allocations: 15.98 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1307, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.62, allocations: 86.38 MB / 0.5632 GB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.6203, allocations: 75.95 kB / 0.5632 GB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.6374, allocations: 4.155 MB / 0.5673 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6374, allocations: 0 / 0.5673 GB, free: 12.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.6375, allocations: 4 kB / 0.5673 GB, free: 12.05 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.0005924/0.6381, allocations: 429.7 kB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6381, allocations: 11.97 kB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.6382, allocations: 42.5 kB / 0.5678 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.6382, allocations: 15.25 kB / 0.5678 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6386, allocations: 216.2 kB / 0.568 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.6386, allocations: 0 / 0.568 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.6386, allocations: 0 / 0.568 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.6388, allocations: 49.69 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6389, allocations: 4 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6389, allocations: 1.031 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6389, allocations: 8.641 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.6391, allocations: 27.92 kB / 0.5681 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.6395, allocations: 300.8 kB / 0.5684 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.6398, allocations: 46.56 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6399, allocations: 4 kB / 0.5684 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6399, allocations: 34.64 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 4.108e-06/0.6399, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008143/0.6407, allocations: 180.3 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.6408, allocations: 55.41 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.6412, allocations: 234.5 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.6413, allocations: 33.64 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.6414, allocations: 170.6 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.6414, allocations: 15.75 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.6414, allocations: 0 / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6416, allocations: 311.1 kB / 0.5694 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.6417, allocations: 23.98 kB / 0.5694 GB, free: 9.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.6418, allocations: 27.98 kB / 0.5694 GB, free: 9.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.642, allocations: 19.98 kB / 0.5695 GB, free: 9.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.642, allocations: 0 / 0.5695 GB, free: 9.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000296/0.6423, allocations: 77.67 kB / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6423, allocations: 4 kB / 0.5695 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.6423, allocations: 8 kB / 0.5696 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6424, allocations: 3.984 kB / 0.5696 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6425, allocations: 12 kB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6425, allocations: 7.891 kB / 0.5696 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.609e-05/0.6426, allocations: 11.98 kB / 0.5696 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.6426, allocations: 0 / 0.5696 GB, free: 9.516 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.0001433/0.6428, allocations: 133.8 kB / 0.5697 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.6429, allocations: 19.81 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.6432, allocations: 99.53 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6433, allocations: 4 kB / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6433, allocations: 0 / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6433, allocations: 3.953 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.644, allocations: 394.8 kB / 0.5702 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6441, allocations: 4 kB / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.6442, allocations: 15.98 kB / 0.5702 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6442, allocations: 0 / 0.5702 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6442, allocations: 4 kB / 0.5702 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.6442, allocations: 7.953 kB / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6442, allocations: 0 / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.6446, allocations: 195.3 kB / 0.5704 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6447, allocations: 100.9 kB / 0.5705 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.6448, allocations: 7.938 kB / 0.5705 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6449, allocations: 12.73 kB / 0.5705 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.6449, allocations: 3.953 kB / 0.5705 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.645, allocations: 0 / 0.5705 GB, free: 8.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.6453, allocations: 204.2 kB / 0.5707 GB, free: 8.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6453, allocations: 0 / 0.5707 GB, free: 8.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.6456, allocations: 20 kB / 0.5708 GB, free: 8.207 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.00181/0.6475, allocations: 1.032 MB / 0.5718 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.6478, allocations: 55.97 kB / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6478, allocations: 0 / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.648, allocations: 27.98 kB / 0.5719 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.6483, allocations: 20.12 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.6503, allocations: 0.8647 MB / 0.5727 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.6507, allocations: 0.7166 MB / 0.5734 GB, free: 5.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6509, allocations: 47.36 kB / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6509, allocations: 0 / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/3.417, allocations: 2.401 MB / 0.5758 GB, free: 3.047 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat does not exist to compare? outputFormat=mat