Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.002702/0.002702, 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.035/2.035, 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.001132/0.001132, allocations: 99.77 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.5453/0.5453, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004858, allocations: 16 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.6283, allocations: 86.37 MB / 0.5632 GB, free: 216 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.6287, allocations: 71.95 kB / 0.5632 GB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02345/0.6522, allocations: 4.052 MB / 0.5672 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.362e-06/0.6523, allocations: 3.984 kB / 0.5672 GB, free: 12.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.6523, allocations: 0 / 0.5672 GB, free: 12.13 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.0008364/0.6532, allocations: 425.7 kB / 0.5676 GB, free: 11.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.6532, allocations: 11.97 kB / 0.5676 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.6533, allocations: 38.5 kB / 0.5677 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.6534, allocations: 12.22 kB / 0.5677 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.6539, allocations: 213.7 kB / 0.5679 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.6539, allocations: 4 kB / 0.5679 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.6539, allocations: 0 / 0.5679 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.6542, allocations: 45.69 kB / 0.5679 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6542, allocations: 4 kB / 0.5679 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.6543, allocations: 5.031 kB / 0.5679 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.6543, allocations: 4 kB / 0.5679 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.6545, allocations: 27.97 kB / 0.568 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.6552, allocations: 292.8 kB / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.6555, allocations: 50.56 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.6556, allocations: 3.984 kB / 0.5683 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.6556, allocations: 30.56 kB / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.545e-06/0.6557, allocations: 0 / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001155/0.6568, allocations: 173.2 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.6569, allocations: 55.39 kB / 0.5685 GB, free: 10.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.6575, allocations: 217.7 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.6575, allocations: 29.64 kB / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.6576, allocations: 170.6 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.6577, allocations: 11.81 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.6577, allocations: 0 / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6579, allocations: 315 kB / 0.5693 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.6581, allocations: 23.98 kB / 0.5693 GB, free: 9.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.6583, allocations: 23.98 kB / 0.5693 GB, free: 9.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6585, allocations: 23.98 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6585, allocations: 0 / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004307/0.6589, allocations: 81.67 kB / 0.5694 GB, free: 9.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.659, allocations: 4 kB / 0.5694 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.659, allocations: 7.984 kB / 0.5694 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.6591, allocations: 4 kB / 0.5694 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.6592, allocations: 8 kB / 0.5694 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6593, allocations: 7.953 kB / 0.5694 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.6594, allocations: 7.984 kB / 0.5694 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.6594, allocations: 0 / 0.5694 GB, free: 9.633 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.0002013/0.6596, allocations: 133.8 kB / 0.5696 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.6597, allocations: 15.81 kB / 0.5696 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.6603, allocations: 102.6 kB / 0.5697 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.6603, allocations: 4 kB / 0.5697 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6603, allocations: 0 / 0.5697 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6604, allocations: 3.953 kB / 0.5697 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.6614, allocations: 390.8 kB / 0.5701 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6614, allocations: 0 / 0.5701 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.6616, allocations: 16 kB / 0.5701 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6616, allocations: 0 / 0.5701 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6616, allocations: 0 / 0.5701 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.6617, allocations: 11.95 kB / 0.5701 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6617, allocations: 0 / 0.5701 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.6622, allocations: 195.3 kB / 0.5703 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.6624, allocations: 97 kB / 0.5704 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.6624, allocations: 8 kB / 0.5704 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.6626, allocations: 4 kB / 0.5704 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.6627, allocations: 11.94 kB / 0.5704 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.6627, allocations: 7.938 kB / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000387/0.6631, allocations: 180.3 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6631, allocations: 0 / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006088/0.6638, allocations: 24 kB / 0.5706 GB, free: 8.348 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.0028/0.6666, allocations: 1.019 MB / 0.5716 GB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.6671, allocations: 55.91 kB / 0.5716 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6671, allocations: 4 kB / 0.5716 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.6673, allocations: 27.97 kB / 0.5717 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.6678, allocations: 16.14 kB / 0.5717 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.6707, allocations: 0.8122 MB / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.6713, allocations: 0.7082 MB / 0.5732 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.6714, allocations: 39.42 kB / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6715, allocations: 0 / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.719/3.39, allocations: 2.26 MB / 0.5754 GB, free: 3.406 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat