Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",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.002449/0.002455, allocations: 177.8 kB / 8.36 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.215/2.215, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001723/0.001723, allocations: 91.33 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.3074/0.3074, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.023e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4223, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.6233, allocations: 86.05 MB / 0.55 GB, free: 13.14 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.6237, allocations: 71.47 kB / 0.5501 GB, free: 13.07 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03139/0.6551, allocations: 7.679 MB / 0.5576 GB, free: 5.375 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6552, allocations: 0 / 0.5576 GB, free: 5.375 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.6e-05/0.6552, allocations: 16 kB / 0.5576 GB, free: 5.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009855/0.6562, allocations: 0.5558 MB / 0.5582 GB, free: 4.762 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.6563, allocations: 12.03 kB / 0.5582 GB, free: 4.75 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.6565, allocations: 43.39 kB / 0.5582 GB, free: 4.707 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.6573, allocations: 327.3 kB / 0.5585 GB, free: 4.348 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6574, allocations: 0 / 0.5585 GB, free: 4.348 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.6574, allocations: 4 kB / 0.5585 GB, free: 4.344 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.6576, allocations: 16 kB / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.6577, allocations: 45.62 kB / 0.5586 GB, free: 4.277 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6577, allocations: 4 kB / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6577, allocations: 0 / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.507e-06/0.6578, allocations: 3.953 kB / 0.5586 GB, free: 4.27 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.6587, allocations: 409.3 kB / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.6589, allocations: 38.52 kB / 0.559 GB, free: 3.785 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.659, allocations: 12.86 kB / 0.559 GB, free: 3.77 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.659, allocations: 3.938 kB / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.659, allocations: 34.56 kB / 0.5591 GB, free: 3.723 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.865e-06/0.6591, allocations: 0 / 0.5591 GB, free: 3.723 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008923/0.66, allocations: 220 kB / 0.5593 GB, free: 3.5 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.66, allocations: 55.41 kB / 0.5593 GB, free: 3.434 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.6621, allocations: 0.7511 MB / 0.5601 GB, free: 2.676 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.6622, allocations: 25.7 kB / 0.5601 GB, free: 2.645 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.6624, allocations: 238.5 kB / 0.5603 GB, free: 2.41 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.6625, allocations: 19.7 kB / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.6625, allocations: 0 / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6627, allocations: 314.8 kB / 0.5606 GB, free: 2.074 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.6627, allocations: 15.94 kB / 0.5607 GB, free: 2.059 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.6628, allocations: 16 kB / 0.5607 GB, free: 2.043 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/0.6629, allocations: 24.2 kB / 0.5607 GB, free: 2.02 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6629, allocations: 0 / 0.5607 GB, free: 2.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001968/0.6631, allocations: 61.77 kB / 0.5608 GB, free: 1.953 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6632, allocations: 7.984 kB / 0.5608 GB, free: 1.945 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6632, allocations: 0 / 0.5608 GB, free: 1.945 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.6632, allocations: 3.953 kB / 0.5608 GB, free: 1.941 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.6634, allocations: 23.98 kB / 0.5608 GB, free: 1.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.6635, allocations: 7.938 kB / 0.5608 GB, free: 1.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.6637, allocations: 11.98 kB / 0.5608 GB, free: 1.898 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6637, allocations: 8 kB / 0.5608 GB, free: 1.891 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 (7): * Single equations (assignments): 7 * 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.0001038/0.6638, allocations: 101 kB / 0.5609 GB, free: 1.785 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000298/0.6641, allocations: 105.1 kB / 0.561 GB, free: 1.676 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.6643, allocations: 43.39 kB / 0.561 GB, free: 1.633 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.6647, allocations: 137.5 kB / 0.5612 GB, free: 1.492 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6647, allocations: 0 / 0.5612 GB, free: 1.492 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6647, allocations: 0 / 0.5612 GB, free: 1.492 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6648, allocations: 0 / 0.5612 GB, free: 1.492 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.6661, allocations: 0.5538 MB / 0.5617 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.435e-06/0.6662, allocations: 3.953 kB / 0.5617 GB, free: 0.8906 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.6664, allocations: 27.97 kB / 0.5618 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6664, allocations: 0 / 0.5618 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.6664, allocations: 4 kB / 0.5618 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6665, allocations: 0 / 0.5618 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6665, allocations: 3.938 kB / 0.5618 GB, free: 0.8555 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.6669, allocations: 207.3 kB / 0.562 GB, free: 0.6367 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.6672, allocations: 164.5 kB / 0.5621 GB, free: 468 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.6673, allocations: 0 / 0.5621 GB, free: 468 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.6675, allocations: 23.92 kB / 0.5621 GB, free: 444 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.6676, allocations: 7.984 kB / 0.5621 GB, free: 436 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.6676, allocations: 0 / 0.5621 GB, free: 436 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.6689, allocations: 0.6083 MB / 0.5627 GB, free: 15.82 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6689, allocations: 0 / 0.5627 GB, free: 15.82 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.6694, allocations: 56 kB / 0.5628 GB, free: 15.76 MB / 411.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 (7): * Single equations (assignments): 7 * 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.001714/0.6712, allocations: 0.9868 MB / 0.5638 GB, free: 14.8 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.6714, allocations: 36 kB / 0.5638 GB, free: 14.76 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6715, allocations: 0 / 0.5638 GB, free: 14.76 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.6715, allocations: 27.94 kB / 0.5638 GB, free: 14.73 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.672, allocations: 29.88 kB / 0.5638 GB, free: 14.71 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.6744, allocations: 0.862 MB / 0.5647 GB, free: 13.8 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.6751, allocations: 0.8341 MB / 0.5655 GB, free: 12.94 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.6754, allocations: 115.4 kB / 0.5656 GB, free: 12.83 MB / 411.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6754, allocations: 0 / 0.5656 GB, free: 12.83 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.824/3.499, allocations: 7.341 MB / 0.5728 GB, free: 5.477 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat