Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",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.002782/0.002782, allocations: 178.4 kB / 8.362 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.275/2.275, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001145/0.001144, allocations: 89.73 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.3167/0.3167, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.27e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4108, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5721, allocations: 85.63 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5725, allocations: 67.97 kB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.5891, allocations: 3.889 MB / 0.5535 GB, free: 9.621 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5891, allocations: 4 kB / 0.5535 GB, free: 9.617 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.5892, allocations: 0 / 0.5535 GB, free: 9.617 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.0005348/0.5897, allocations: 390.8 kB / 0.5539 GB, free: 9.191 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5898, allocations: 8.031 kB / 0.5539 GB, free: 9.184 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.5898, allocations: 7.906 kB / 0.5539 GB, free: 9.176 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.5902, allocations: 213.6 kB / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.5902, allocations: 0 / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.5903, allocations: 4 kB / 0.5541 GB, free: 8.926 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.615e-05/0.5904, allocations: 8 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.5905, allocations: 41.69 kB / 0.5541 GB, free: 8.871 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5905, allocations: 4 kB / 0.5541 GB, free: 8.867 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5905, allocations: 0 / 0.5541 GB, free: 8.867 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5905, allocations: 0 / 0.5541 GB, free: 8.867 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.591, allocations: 269.3 kB / 0.5544 GB, free: 8.566 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.5912, allocations: 30.58 kB / 0.5544 GB, free: 8.527 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.5913, allocations: 12.86 kB / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.5913, allocations: 96 / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5914, allocations: 42.55 kB / 0.5545 GB, free: 8.461 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.5914, allocations: 0 / 0.5545 GB, free: 8.461 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005419/0.5919, allocations: 101.3 kB / 0.5546 GB, free: 8.355 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.592, allocations: 51.41 kB / 0.5546 GB, free: 8.293 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.5923, allocations: 181.4 kB / 0.5548 GB, free: 8.109 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5923, allocations: 25.7 kB / 0.5548 GB, free: 8.078 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.5924, allocations: 174.4 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.5925, allocations: 11.75 kB / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.5925, allocations: 0 / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5927, allocations: 318.8 kB / 0.5553 GB, free: 7.574 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.5927, allocations: 11.98 kB / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.5927, allocations: 8 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.5928, allocations: 8.156 kB / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5928, allocations: 4 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001453/0.593, allocations: 61.62 kB / 0.5554 GB, free: 7.477 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.593, allocations: 4 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.593, allocations: 0 / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.593, allocations: 0 / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5932, allocations: 12 kB / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5932, allocations: 0 / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.5933, allocations: 7.984 kB / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5933, allocations: 4 kB / 0.5554 GB, free: 7.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 (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 8.747e-05/0.5934, allocations: 112.9 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001484/0.5936, allocations: 61.59 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.5936, allocations: 11.81 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.5939, allocations: 74.03 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5939, allocations: 3.984 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5939, allocations: 0 / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.5939, allocations: 3.953 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.5944, allocations: 315.5 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5944, allocations: 0 / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5946, allocations: 23.98 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5946, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5946, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5946, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.5946, allocations: 3.953 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.5948, allocations: 163.5 kB / 0.5562 GB, free: 6.609 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.5949, allocations: 96.91 kB / 0.5562 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.595, allocations: 0 / 0.5562 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5951, allocations: 8 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.5952, allocations: 3.984 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5952, allocations: 11.89 kB / 0.5563 GB, free: 6.473 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.5954, allocations: 152.1 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5954, allocations: 0 / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.5958, allocations: 16 kB / 0.5564 GB, free: 6.309 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.001457/0.5973, allocations: 0.9264 MB / 0.5573 GB, free: 5.398 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.5974, allocations: 20 kB / 0.5574 GB, free: 5.379 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5975, allocations: 8 kB / 0.5574 GB, free: 5.371 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.5975, allocations: 15.94 kB / 0.5574 GB, free: 5.355 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.5978, allocations: 23.27 kB / 0.5574 GB, free: 5.336 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.5986, allocations: 243.4 kB / 0.5576 GB, free: 5.055 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.5989, allocations: 0.7041 MB / 0.5583 GB, free: 4.324 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.5991, allocations: 31.42 kB / 0.5583 GB, free: 4.293 MB / 395.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5991, allocations: 4 kB / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/3.316, allocations: 2.057 MB / 0.5604 GB, free: 2.238 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat