Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",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.002171/0.002171, allocations: 179.6 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.246/2.246, 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.001121/0.00112, allocations: 93.94 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.2945/0.2945, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.037e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4342, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5923, allocations: 85.59 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5926, allocations: 67.97 kB / 0.5496 GB, free: 13.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.6079, allocations: 3.507 MB / 0.5531 GB, free: 10.05 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6079, allocations: 0 / 0.5531 GB, free: 10.05 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.6079, allocations: 4.547 kB / 0.5531 GB, free: 10.04 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.000501/0.6085, allocations: 367 kB / 0.5534 GB, free: 9.641 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6085, allocations: 8.031 kB / 0.5534 GB, free: 9.633 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.6086, allocations: 7.906 kB / 0.5534 GB, free: 9.625 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.6089, allocations: 194.8 kB / 0.5536 GB, free: 9.395 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6089, allocations: 4 kB / 0.5536 GB, free: 9.391 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.6089, allocations: 0 / 0.5536 GB, free: 9.391 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.748e-05/0.609, allocations: 19.98 kB / 0.5537 GB, free: 9.371 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.6091, allocations: 37.7 kB / 0.5537 GB, free: 9.328 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6092, allocations: 0 / 0.5537 GB, free: 9.328 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6092, allocations: 0 / 0.5537 GB, free: 9.328 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.6092, allocations: 3.984 kB / 0.5537 GB, free: 9.324 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.6096, allocations: 249.4 kB / 0.5539 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.6098, allocations: 42.52 kB / 0.554 GB, free: 8.992 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.6099, allocations: 16.94 kB / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.6099, allocations: 4 kB / 0.554 GB, free: 8.969 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.61, allocations: 30.56 kB / 0.554 GB, free: 8.93 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.61, allocations: 0 / 0.554 GB, free: 8.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005019/0.6105, allocations: 97.33 kB / 0.5541 GB, free: 8.828 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.6105, allocations: 55.41 kB / 0.5542 GB, free: 8.762 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.6107, allocations: 129.2 kB / 0.5543 GB, free: 8.625 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.6108, allocations: 25.7 kB / 0.5543 GB, free: 8.594 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.6108, allocations: 154.6 kB / 0.5545 GB, free: 8.441 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.6109, allocations: 23.7 kB / 0.5545 GB, free: 8.418 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.6109, allocations: 3.938 kB / 0.5545 GB, free: 8.414 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.611, allocations: 314.8 kB / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.6111, allocations: 8 kB / 0.5548 GB, free: 8.09 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.6111, allocations: 8 kB / 0.5548 GB, free: 8.082 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.6112, allocations: 12 kB / 0.5548 GB, free: 8.07 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6112, allocations: 0 / 0.5548 GB, free: 8.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001305/0.6113, allocations: 57.62 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6113, allocations: 4 kB / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6114, allocations: 4 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6114, allocations: 0 / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.6115, allocations: 15.98 kB / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6115, allocations: 0 / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.6116, allocations: 8 kB / 0.5549 GB, free: 7.977 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.6116, allocations: 3.984 kB / 0.5549 GB, free: 7.973 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.395e-05/0.6117, allocations: 109.1 kB / 0.555 GB, free: 7.859 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001365/0.6119, allocations: 53.61 kB / 0.5551 GB, free: 7.801 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.6119, allocations: 7.906 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.6121, allocations: 74.02 kB / 0.5551 GB, free: 7.719 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6122, allocations: 0 / 0.5551 GB, free: 7.719 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6122, allocations: 0 / 0.5551 GB, free: 7.719 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6122, allocations: 3.953 kB / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.6126, allocations: 303.5 kB / 0.5554 GB, free: 7.375 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6126, allocations: 64 / 0.5554 GB, free: 7.375 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6128, allocations: 19.94 kB / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.6128, allocations: 0 / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.6128, allocations: 0 / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.6128, allocations: 7.984 kB / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6128, allocations: 3.953 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.613, allocations: 155.5 kB / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.6131, allocations: 85 kB / 0.5557 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.6131, allocations: 7.938 kB / 0.5557 GB, free: 7.066 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.6132, allocations: 8 kB / 0.5557 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.6133, allocations: 7.938 kB / 0.5557 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.6133, allocations: 4 kB / 0.5557 GB, free: 7.047 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.6134, allocations: 111.1 kB / 0.5558 GB, free: 6.941 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.065e-06/0.6135, allocations: 0 / 0.5558 GB, free: 6.941 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.6138, allocations: 23.88 kB / 0.5558 GB, free: 6.918 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.001383/0.6152, allocations: 0.9155 MB / 0.5567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.6154, allocations: 24 kB / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6154, allocations: 0 / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.6155, allocations: 19.94 kB / 0.5568 GB, free: 5.973 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.6158, allocations: 23.69 kB / 0.5568 GB, free: 5.949 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.6164, allocations: 175.1 kB / 0.557 GB, free: 5.734 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.6167, allocations: 0.7001 MB / 0.5577 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.6168, allocations: 27.44 kB / 0.5577 GB, free: 4.98 MB / 395.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6168, allocations: 0 / 0.5577 GB, free: 4.98 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.869/3.486, allocations: 1.756 MB / 0.5594 GB, free: 3.234 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat