Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",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.001478/0.001479, allocations: 179.2 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.134/2.134, 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.00118/0.00118, allocations: 95.09 kB / 262.1 MB, free: 13.86 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.3952/0.3952, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.831e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4634, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.6434, allocations: 87.66 MB / 0.5516 GB, free: 11.53 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.6438, allocations: 71.95 kB / 0.5517 GB, free: 11.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0345/0.6783, allocations: 8.185 MB / 0.5597 GB, free: 3.262 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6783, allocations: 0 / 0.5597 GB, free: 3.262 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.222e-05/0.6784, allocations: 8.547 kB / 0.5597 GB, free: 3.254 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007546/0.6792, allocations: 0.5255 MB / 0.5602 GB, free: 2.684 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.6792, allocations: 8.031 kB / 0.5602 GB, free: 2.676 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.6794, allocations: 39.48 kB / 0.5602 GB, free: 2.637 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.6801, allocations: 335.4 kB / 0.5606 GB, free: 2.27 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6801, allocations: 7.938 kB / 0.5606 GB, free: 2.262 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.6802, allocations: 4 kB / 0.5606 GB, free: 2.258 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001542/0.6803, allocations: 32 kB / 0.5606 GB, free: 2.227 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.6805, allocations: 65.67 kB / 0.5607 GB, free: 2.156 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6805, allocations: 4 kB / 0.5607 GB, free: 2.152 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6806, allocations: 0 / 0.5607 GB, free: 2.152 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6806, allocations: 3.953 kB / 0.5607 GB, free: 2.148 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.6814, allocations: 425 kB / 0.5611 GB, free: 1.695 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6815, allocations: 46.56 kB / 0.5611 GB, free: 1.641 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.6816, allocations: 28.94 kB / 0.5611 GB, free: 1.609 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.6817, allocations: 4 kB / 0.5612 GB, free: 1.605 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6817, allocations: 30.81 kB / 0.5612 GB, free: 1.566 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.6817, allocations: 3.938 kB / 0.5612 GB, free: 1.562 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002975/0.682, allocations: 97.25 kB / 0.5613 GB, free: 1.461 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.6821, allocations: 51.41 kB / 0.5613 GB, free: 1.398 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.6829, allocations: 477.1 kB / 0.5618 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.683, allocations: 25.7 kB / 0.5618 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.6832, allocations: 238.7 kB / 0.562 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.6832, allocations: 11.81 kB / 0.562 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.6833, allocations: 0 / 0.562 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.6834, allocations: 314.8 kB / 0.5623 GB, free: 340 kB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.6835, allocations: 19.92 kB / 0.5624 GB, free: 320 kB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.6835, allocations: 12 kB / 0.5624 GB, free: 308 kB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.6836, allocations: 12.19 kB / 0.5624 GB, free: 296 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6836, allocations: 4 kB / 0.5624 GB, free: 292 kB / 395.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001782/0.6838, allocations: 65.59 kB / 0.5625 GB, free: 220 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.6838, allocations: 15.95 kB / 0.5625 GB, free: 204 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6839, allocations: 3.938 kB / 0.5625 GB, free: 200 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6839, allocations: 0 / 0.5625 GB, free: 200 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.684, allocations: 15.98 kB / 0.5625 GB, free: 184 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6841, allocations: 0 / 0.5625 GB, free: 184 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.6842, allocations: 7.938 kB / 0.5625 GB, free: 176 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.6843, allocations: 4 kB / 0.5625 GB, free: 172 kB / 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 (6): * Single equations (assignments): 6 * 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.813e-05/0.6844, allocations: 105 kB / 0.5626 GB, free: 60 kB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002643/0.6846, allocations: 97.22 kB / 0.5627 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.6847, allocations: 43.48 kB / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.6851, allocations: 121 kB / 0.5628 GB, free: 15.79 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6851, allocations: 4 kB / 0.5629 GB, free: 15.79 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6851, allocations: 0 / 0.5629 GB, free: 15.79 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6852, allocations: 0 / 0.5629 GB, free: 15.79 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.6856, allocations: 266.1 kB / 0.5631 GB, free: 15.49 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6856, allocations: 0 / 0.5631 GB, free: 15.49 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6857, allocations: 15.98 kB / 0.5631 GB, free: 15.47 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6858, allocations: 0 / 0.5631 GB, free: 15.47 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6858, allocations: 7.953 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6858, allocations: 0 / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6858, allocations: 4 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.6861, allocations: 203.2 kB / 0.5633 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.6863, allocations: 136.6 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.6864, allocations: 4 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6866, allocations: 15.92 kB / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.6866, allocations: 12 kB / 0.5635 GB, free: 15.06 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.6867, allocations: 0 / 0.5635 GB, free: 15.06 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00069/0.6874, allocations: 378.9 kB / 0.5638 GB, free: 14.7 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6874, allocations: 7.875 kB / 0.5639 GB, free: 14.69 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.6878, allocations: 47.94 kB / 0.5639 GB, free: 14.64 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 (6): * Single equations (assignments): 6 * 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.00203/0.6899, allocations: 1.112 MB / 0.565 GB, free: 13.54 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.6901, allocations: 32 kB / 0.565 GB, free: 13.51 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6901, allocations: 4 kB / 0.565 GB, free: 13.51 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.6902, allocations: 23.94 kB / 0.565 GB, free: 13.48 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.6909, allocations: 72.72 kB / 0.5651 GB, free: 13.42 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.6925, allocations: 0.5687 MB / 0.5657 GB, free: 12.8 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.693, allocations: 0.802 MB / 0.5665 GB, free: 11.98 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.6933, allocations: 107.4 kB / 0.5666 GB, free: 11.87 MB / 411.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6933, allocations: 0 / 0.5666 GB, free: 11.87 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.763/3.457, allocations: 5.453 MB / 0.5719 GB, free: 6.406 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat does not exist to compare? outputFormat=mat