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.002213/0.002212, allocations: 178 kB / 8.363 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.037/2.037, 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.001136/0.001136, allocations: 92.3 kB / 262.1 MB, free: 13.87 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.3211/0.3211, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.252e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4378, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.6406, allocations: 85.63 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/0.6411, allocations: 67.97 kB / 0.5497 GB, free: 13.51 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.6638, allocations: 4.112 MB / 0.5537 GB, free: 9.395 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6639, allocations: 0 / 0.5537 GB, free: 9.395 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.6639, allocations: 0 / 0.5537 GB, free: 9.395 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.0006962/0.6646, allocations: 406.9 kB / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.6647, allocations: 8.031 kB / 0.5541 GB, free: 8.945 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.6648, allocations: 15.81 kB / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.6653, allocations: 222.5 kB / 0.5543 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.6654, allocations: 0 / 0.5543 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.6654, allocations: 0 / 0.5543 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.6655, allocations: 15.98 kB / 0.5543 GB, free: 8.656 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.6657, allocations: 37.7 kB / 0.5544 GB, free: 8.613 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.6657, allocations: 4 kB / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.6658, allocations: 3.984 kB / 0.5544 GB, free: 8.605 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6658, allocations: 0 / 0.5544 GB, free: 8.605 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.6664, allocations: 273.4 kB / 0.5546 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.6667, allocations: 42.44 kB / 0.5547 GB, free: 8.25 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.6668, allocations: 12.86 kB / 0.5547 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.6668, allocations: 4 kB / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6669, allocations: 34.56 kB / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.946e-06/0.6669, allocations: 0 / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000747/0.6677, allocations: 117.4 kB / 0.5548 GB, free: 8.066 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.6677, allocations: 55.36 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.6683, allocations: 229.7 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.6683, allocations: 25.7 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.6685, allocations: 174.5 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.6685, allocations: 15.75 kB / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.6685, allocations: 0 / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6687, allocations: 314.8 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.6688, allocations: 12 kB / 0.5556 GB, free: 7.223 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.6688, allocations: 7.984 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.6689, allocations: 8.156 kB / 0.5557 GB, free: 7.207 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6689, allocations: 0 / 0.5557 GB, free: 7.207 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.6691, allocations: 61.53 kB / 0.5557 GB, free: 7.141 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.6692, allocations: 12 kB / 0.5557 GB, free: 7.129 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6692, allocations: 0 / 0.5557 GB, free: 7.129 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6692, allocations: 0 / 0.5557 GB, free: 7.129 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.6694, allocations: 12 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6694, allocations: 0 / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.6696, allocations: 11.94 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6696, allocations: 0 / 0.5557 GB, free: 7.105 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 0.0001104/0.6697, allocations: 109 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002165/0.67, allocations: 61.59 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.6701, allocations: 15.81 kB / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.6704, allocations: 79.23 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6704, allocations: 0 / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6704, allocations: 3.953 kB / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6704, allocations: 0 / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.6712, allocations: 335.1 kB / 0.5563 GB, free: 6.453 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6712, allocations: 448 / 0.5563 GB, free: 6.453 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.6714, allocations: 27.92 kB / 0.5563 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6714, allocations: 0 / 0.5563 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.6715, allocations: 4 kB / 0.5564 GB, free: 6.422 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.6715, allocations: 3.953 kB / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6715, allocations: 0 / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.6718, allocations: 163.4 kB / 0.5565 GB, free: 6.242 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.6719, allocations: 96.92 kB / 0.5566 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.672, allocations: 8 kB / 0.5566 GB, free: 6.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.6722, allocations: 11.92 kB / 0.5566 GB, free: 6.109 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.6723, allocations: 7.953 kB / 0.5566 GB, free: 6.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.6723, allocations: 3.938 kB / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.6727, allocations: 196.3 kB / 0.5568 GB, free: 5.906 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6727, allocations: 0 / 0.5568 GB, free: 5.906 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005996/0.6733, allocations: 20 kB / 0.5568 GB, free: 5.887 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.002117/0.6755, allocations: 0.924 MB / 0.5577 GB, free: 4.984 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.6757, allocations: 20 kB / 0.5578 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6757, allocations: 0 / 0.5578 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.6758, allocations: 19.94 kB / 0.5578 GB, free: 4.945 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.6763, allocations: 31.36 kB / 0.5578 GB, free: 4.914 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.6776, allocations: 288.2 kB / 0.5581 GB, free: 4.59 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.6781, allocations: 0.7158 MB / 0.5588 GB, free: 3.848 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6783, allocations: 35.42 kB / 0.5588 GB, free: 3.812 MB / 395.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6783, allocations: 4 kB / 0.5588 GB, free: 3.809 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/3.508, allocations: 2.424 MB / 0.5612 GB, free: 1.391 MB / 395.1 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