Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",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.002312/0.002317, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 85.75 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7093/0.7093, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004868, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.6738, allocations: 86.34 MB / 0.5631 GB, free: 220 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.6742, allocations: 75.95 kB / 0.5632 GB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.6907, allocations: 3.612 MB / 0.5667 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6908, allocations: 0 / 0.5667 GB, free: 12.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.6908, allocations: 0 / 0.5667 GB, free: 12.57 MB / 394.7 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.0005782/0.6914, allocations: 399.6 kB / 0.5671 GB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6914, allocations: 8.031 kB / 0.5671 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.6915, allocations: 34.55 kB / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.6915, allocations: 11.34 kB / 0.5672 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.6919, allocations: 190.9 kB / 0.5674 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6919, allocations: 7.938 kB / 0.5674 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.692, allocations: 11.66 kB / 0.5674 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.6922, allocations: 45.69 kB / 0.5674 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6922, allocations: 0 / 0.5674 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.6922, allocations: 5.016 kB / 0.5674 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6922, allocations: 0 / 0.5674 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.6924, allocations: 23.98 kB / 0.5675 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.6929, allocations: 287.2 kB / 0.5677 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.6932, allocations: 46.48 kB / 0.5678 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.6932, allocations: 4 kB / 0.5678 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6933, allocations: 34.56 kB / 0.5678 GB, free: 11.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.6933, allocations: 4 kB / 0.5678 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008716/0.6942, allocations: 157.3 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.6942, allocations: 55.41 kB / 0.568 GB, free: 11.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.6945, allocations: 149 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.6945, allocations: 29.69 kB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.6946, allocations: 158.6 kB / 0.5683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.6947, allocations: 15.75 kB / 0.5684 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.6947, allocations: 0 / 0.5684 GB, free: 10.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6948, allocations: 314.8 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.695, allocations: 28.11 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.6951, allocations: 19.98 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.6953, allocations: 23.98 kB / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6953, allocations: 0 / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003334/0.6956, allocations: 89.61 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6956, allocations: 4 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6957, allocations: 0 / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.6957, allocations: 3.953 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.6959, allocations: 15.98 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.6959, allocations: 0 / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.696, allocations: 15.98 kB / 0.5688 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.696, allocations: 0.875 kB / 0.5688 GB, free: 10.22 MB / 394.7 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 () * Number of clocked 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 0.0001373/0.6961, allocations: 121.8 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.6962, allocations: 7.906 kB / 0.569 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.6966, allocations: 101.8 kB / 0.5691 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6966, allocations: 7.953 kB / 0.5691 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6967, allocations: 4 kB / 0.5691 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6967, allocations: 3.984 kB / 0.5691 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.6974, allocations: 358.9 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6974, allocations: 0 / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6975, allocations: 24.67 kB / 0.5694 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.6975, allocations: 3.953 kB / 0.5694 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.6976, allocations: 0 / 0.5694 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.6976, allocations: 0 / 0.5694 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6976, allocations: 0 / 0.5694 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.698, allocations: 191.4 kB / 0.5696 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.6981, allocations: 85.02 kB / 0.5697 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.6981, allocations: 3.953 kB / 0.5697 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6982, allocations: 19.92 kB / 0.5697 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.6983, allocations: 0 / 0.5697 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.6983, allocations: 4 kB / 0.5697 GB, free: 9.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.6985, allocations: 121.3 kB / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6985, allocations: 4 kB / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00034/0.6989, allocations: 23.98 kB / 0.5699 GB, free: 9.051 MB / 394.7 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 () * Number of clocked 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.001888/0.7008, allocations: 1.02 MB / 0.5709 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.7012, allocations: 51.91 kB / 0.5709 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7012, allocations: 4 kB / 0.5709 GB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7014, allocations: 27.98 kB / 0.571 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.7017, allocations: 19.92 kB / 0.571 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.7034, allocations: 0.6292 MB / 0.5716 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.7039, allocations: 0.7004 MB / 0.5723 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.704, allocations: 27.48 kB / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.704, allocations: 4 kB / 0.5723 GB, free: 6.566 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.612/3.316, allocations: 1.865 MB / 0.5741 GB, free: 4.703 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat