Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2",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.002214/0.002214, allocations: 180.5 kB / 8.365 MB, free: 0.707 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.098/2.098, 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.001062/0.001062, allocations: 86.2 kB / 262.1 MB, free: 13.88 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.3024/0.3024, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.129e-05, allocations: 8.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4256, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5924, allocations: 85.71 MB / 0.5497 GB, free: 13.49 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5927, allocations: 75.95 kB / 0.5498 GB, free: 13.42 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.6091, allocations: 3.499 MB / 0.5532 GB, free: 9.918 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6091, allocations: 0 / 0.5532 GB, free: 9.918 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.6092, allocations: 0.5469 kB / 0.5532 GB, free: 9.918 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.0004654/0.6097, allocations: 375 kB / 0.5535 GB, free: 9.508 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6097, allocations: 12.03 kB / 0.5536 GB, free: 9.496 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.6098, allocations: 11.89 kB / 0.5536 GB, free: 9.484 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.6101, allocations: 194.8 kB / 0.5538 GB, free: 9.254 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.6101, allocations: 4 kB / 0.5538 GB, free: 9.25 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.6102, allocations: 4 kB / 0.5538 GB, free: 9.246 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.214e-05/0.6103, allocations: 15.98 kB / 0.5538 GB, free: 9.23 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.6104, allocations: 41.69 kB / 0.5538 GB, free: 9.184 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6104, allocations: 4 kB / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6104, allocations: 0 / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6104, allocations: 0 / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.6109, allocations: 257.4 kB / 0.5541 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.6111, allocations: 34.58 kB / 0.5541 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.6112, allocations: 20.94 kB / 0.5541 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.6112, allocations: 0 / 0.5541 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.6112, allocations: 30.56 kB / 0.5541 GB, free: 8.785 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.6113, allocations: 0 / 0.5541 GB, free: 8.785 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004939/0.6118, allocations: 109.3 kB / 0.5542 GB, free: 8.672 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.6118, allocations: 51.41 kB / 0.5543 GB, free: 8.609 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.612, allocations: 137 kB / 0.5544 GB, free: 8.469 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.612, allocations: 25.7 kB / 0.5545 GB, free: 8.438 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.6121, allocations: 162.6 kB / 0.5546 GB, free: 8.277 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.6122, allocations: 11.72 kB / 0.5546 GB, free: 8.266 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.6122, allocations: 3.938 kB / 0.5546 GB, free: 8.262 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6123, allocations: 322.8 kB / 0.5549 GB, free: 7.938 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.6124, allocations: 8 kB / 0.5549 GB, free: 7.93 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.6124, allocations: 12 kB / 0.5549 GB, free: 7.918 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.6125, allocations: 15.92 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6125, allocations: 8 kB / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001442/0.6127, allocations: 57.69 kB / 0.555 GB, free: 7.832 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6127, allocations: 8 kB / 0.555 GB, free: 7.824 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6127, allocations: 0 / 0.555 GB, free: 7.824 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6127, allocations: 3.938 kB / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.6129, allocations: 15.98 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6129, allocations: 0 / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.613, allocations: 4 kB / 0.5551 GB, free: 7.801 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.613, allocations: 4 kB / 0.5551 GB, free: 7.797 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 9.199e-05/0.6131, allocations: 109.1 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001516/0.6133, allocations: 65.53 kB / 0.5552 GB, free: 7.613 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.6133, allocations: 7.906 kB / 0.5552 GB, free: 7.605 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.6135, allocations: 74.45 kB / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.6135, allocations: 4 kB / 0.5553 GB, free: 7.527 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6136, allocations: 0 / 0.5553 GB, free: 7.527 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6136, allocations: 3.953 kB / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.6141, allocations: 311.1 kB / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6141, allocations: 0 / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.6142, allocations: 15.98 kB / 0.5556 GB, free: 7.16 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6142, allocations: 0 / 0.5556 GB, free: 7.16 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6142, allocations: 0 / 0.5556 GB, free: 7.16 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.6142, allocations: 4 kB / 0.5556 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6143, allocations: 3.953 kB / 0.5556 GB, free: 7.152 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.6145, allocations: 163.4 kB / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.6145, allocations: 89.02 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.6146, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6147, allocations: 15.98 kB / 0.5559 GB, free: 6.855 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.6148, allocations: 7.891 kB / 0.5559 GB, free: 6.848 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.6148, allocations: 0 / 0.5559 GB, free: 6.848 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.6149, allocations: 107.3 kB / 0.556 GB, free: 6.742 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.504e-06/0.6149, allocations: 0 / 0.556 GB, free: 6.742 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.6153, allocations: 15.88 kB / 0.556 GB, free: 6.727 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.001419/0.6167, allocations: 0.933 MB / 0.5569 GB, free: 5.809 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.6169, allocations: 31.92 kB / 0.557 GB, free: 5.777 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6169, allocations: 8 kB / 0.557 GB, free: 5.77 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.956e-05/0.617, allocations: 12 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.6173, allocations: 27.19 kB / 0.557 GB, free: 5.734 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.6179, allocations: 183.1 kB / 0.5572 GB, free: 5.512 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.6183, allocations: 0.7001 MB / 0.5579 GB, free: 4.785 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.6184, allocations: 27.38 kB / 0.5579 GB, free: 4.758 MB / 395.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6184, allocations: 4 kB / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/3.352, allocations: 1.788 MB / 0.5596 GB, free: 2.973 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat