Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32",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.00242/0.002426, 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.037/2.037, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001158/0.001158, allocations: 92.36 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.5284/0.5284, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 15.98 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.83 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.647, allocations: 86.5 MB / 0.5633 GB, free: 84 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.6473, allocations: 67.97 kB / 0.5634 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.6646, allocations: 4.067 MB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6647, allocations: 0 / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.6647, allocations: 0 / 0.5673 GB, free: 11.99 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.0005806/0.6653, allocations: 427.1 kB / 0.5677 GB, free: 11.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6654, allocations: 12.02 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.6654, allocations: 34.56 kB / 0.5678 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.6655, allocations: 15.28 kB / 0.5678 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.6658, allocations: 213.7 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.6658, allocations: 4 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.6659, allocations: 4 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.6661, allocations: 49.67 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6661, allocations: 4 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6661, allocations: 2.25 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6661, allocations: 0 / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.6663, allocations: 27.92 kB / 0.5681 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.6668, allocations: 300.9 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.6671, allocations: 54.53 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.6672, allocations: 4 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.6672, allocations: 34.5 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.6672, allocations: 0 / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008725/0.6681, allocations: 173.2 kB / 0.5686 GB, free: 10.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.6682, allocations: 59.34 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.6686, allocations: 217.7 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6686, allocations: 33.69 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.6687, allocations: 166.5 kB / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.6688, allocations: 18.62 kB / 0.5691 GB, free: 9.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.6688, allocations: 0 / 0.5691 GB, free: 9.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6689, allocations: 311.1 kB / 0.5694 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.6691, allocations: 23.98 kB / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.6692, allocations: 31.97 kB / 0.5694 GB, free: 9.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.6694, allocations: 27.98 kB / 0.5695 GB, free: 9.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6694, allocations: 0 / 0.5695 GB, free: 9.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003336/0.6697, allocations: 85.67 kB / 0.5696 GB, free: 9.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6698, allocations: 4 kB / 0.5696 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.6698, allocations: 0 / 0.5696 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6698, allocations: 0 / 0.5696 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6699, allocations: 23.92 kB / 0.5696 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.67, allocations: 3.953 kB / 0.5696 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.6701, allocations: 11.98 kB / 0.5696 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.6701, allocations: 0 / 0.5696 GB, free: 9.461 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.0001413/0.6702, allocations: 129.8 kB / 0.5697 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.6703, allocations: 15.81 kB / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.6707, allocations: 115.5 kB / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.6707, allocations: 0 / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6707, allocations: 0 / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6708, allocations: 11.94 kB / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.6715, allocations: 390.8 kB / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.6716, allocations: 0 / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6717, allocations: 19.98 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6717, allocations: 0 / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6717, allocations: 8 kB / 0.5703 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.6717, allocations: 7.953 kB / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.6718, allocations: 0 / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.6722, allocations: 199.3 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6723, allocations: 101 kB / 0.5705 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.6724, allocations: 0.9375 kB / 0.5705 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.6725, allocations: 4 kB / 0.5706 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.6725, allocations: 11.94 kB / 0.5706 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.6726, allocations: 0 / 0.5706 GB, free: 8.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003033/0.6729, allocations: 184.2 kB / 0.5707 GB, free: 8.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6729, allocations: 0 / 0.5707 GB, free: 8.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.6733, allocations: 28 kB / 0.5708 GB, free: 8.156 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.001872/0.6751, allocations: 1.033 MB / 0.5718 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.6755, allocations: 59.97 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6756, allocations: 0 / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.6757, allocations: 35.97 kB / 0.5719 GB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.6761, allocations: 16.08 kB / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.6782, allocations: 0.8278 MB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.6787, allocations: 0.7082 MB / 0.5734 GB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.6788, allocations: 39.42 kB / 0.5734 GB, free: 5.441 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6788, allocations: 3.938 kB / 0.5734 GB, free: 5.438 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.633/3.312, allocations: 2.303 MB / 0.5757 GB, free: 3.133 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat does not exist to compare? outputFormat=mat