Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29",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.001661/0.001661, 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.093/2.093, 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.001142/0.001142, allocations: 92.62 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.308/0.308, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.05e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4151, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5782, allocations: 86.08 MB / 0.5501 GB, free: 13.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5786, allocations: 75.47 kB / 0.5501 GB, free: 13.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.597, allocations: 4.279 MB / 0.5543 GB, free: 8.766 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.597, allocations: 4 kB / 0.5543 GB, free: 8.762 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.5971, allocations: 0 / 0.5543 GB, free: 8.762 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.0005837/0.5977, allocations: 395.3 kB / 0.5547 GB, free: 8.332 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5977, allocations: 12.03 kB / 0.5547 GB, free: 8.32 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.5978, allocations: 19.84 kB / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.5981, allocations: 199.5 kB / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.5981, allocations: 0 / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.5982, allocations: 4 kB / 0.5549 GB, free: 8.059 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.238e-05/0.5983, allocations: 16 kB / 0.5549 GB, free: 8.043 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5984, allocations: 49.67 kB / 0.555 GB, free: 7.988 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5984, allocations: 0 / 0.555 GB, free: 7.988 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5985, allocations: 0 / 0.555 GB, free: 7.988 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5985, allocations: 3.938 kB / 0.555 GB, free: 7.984 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.5989, allocations: 281.3 kB / 0.5553 GB, free: 7.672 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.599, allocations: 34.58 kB / 0.5553 GB, free: 7.629 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.5991, allocations: 12.86 kB / 0.5553 GB, free: 7.613 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.5991, allocations: 7.938 kB / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5992, allocations: 34.64 kB / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.5992, allocations: 0 / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006258/0.5998, allocations: 141.2 kB / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.5999, allocations: 51.41 kB / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.6002, allocations: 190.4 kB / 0.5557 GB, free: 7.156 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6002, allocations: 25.7 kB / 0.5557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.6003, allocations: 162.6 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.6003, allocations: 23.64 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.6004, allocations: 0 / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6005, allocations: 318.8 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.6006, allocations: 16 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.6006, allocations: 12 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.6007, allocations: 19.94 kB / 0.5563 GB, free: 6.574 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6007, allocations: 0 / 0.5563 GB, free: 6.574 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.6009, allocations: 65.75 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6009, allocations: 4 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6009, allocations: 4 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6009, allocations: 0 / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.6011, allocations: 27.97 kB / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6012, allocations: 3.953 kB / 0.5564 GB, free: 6.465 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.6013, allocations: 12 kB / 0.5564 GB, free: 6.453 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.6014, allocations: 4 kB / 0.5564 GB, free: 6.449 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 8.395e-05/0.6014, allocations: 109 kB / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001815/0.6016, allocations: 73.45 kB / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.6017, allocations: 7.906 kB / 0.5566 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.602, allocations: 103.8 kB / 0.5567 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.602, allocations: 0 / 0.5567 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.602, allocations: 0 / 0.5567 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.602, allocations: 4 kB / 0.5567 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.6026, allocations: 347 kB / 0.557 GB, free: 5.762 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6026, allocations: 3.938 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.6027, allocations: 19.98 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6028, allocations: 15.95 kB / 0.557 GB, free: 5.723 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6028, allocations: 0 / 0.557 GB, free: 5.723 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6028, allocations: 0 / 0.557 GB, free: 5.723 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6028, allocations: 0 / 0.557 GB, free: 5.723 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.603, allocations: 171.4 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.6031, allocations: 97 kB / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.6032, allocations: 3.953 kB / 0.5573 GB, free: 5.422 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.6034, allocations: 19.98 kB / 0.5573 GB, free: 5.402 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.6034, allocations: 3.984 kB / 0.5573 GB, free: 5.398 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6035, allocations: 8.078 kB / 0.5573 GB, free: 5.391 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.6036, allocations: 148.9 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6037, allocations: 4 kB / 0.5575 GB, free: 5.242 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.604, allocations: 23.94 kB / 0.5575 GB, free: 5.219 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 (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.001486/0.6055, allocations: 0.9333 MB / 0.5584 GB, free: 4.297 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.6057, allocations: 39.98 kB / 0.5584 GB, free: 4.258 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6057, allocations: 0 / 0.5584 GB, free: 4.258 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.6058, allocations: 20 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.6062, allocations: 23.81 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.607, allocations: 263.7 kB / 0.5587 GB, free: 3.914 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.6073, allocations: 0.7119 MB / 0.5594 GB, free: 3.176 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6074, allocations: 31.42 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6074, allocations: 0 / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/3.382, allocations: 2.316 MB / 0.5617 GB, free: 0.8359 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat does not exist to compare? outputFormat=mat