Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",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.002398/0.002398, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.069/2.069, 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.001128/0.001127, allocations: 104.3 kB / 270.9 MB, free: 8.367 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.6133/0.6133, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004715, allocations: 16 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1381, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5566/0.6947, allocations: 86.49 MB / 0.5633 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004639/0.6953, allocations: 71.23 kB / 0.5634 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.7243, allocations: 3.949 MB / 0.5672 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.838e-06/0.7243, allocations: 0 / 0.5672 GB, free: 12.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.7244, allocations: 0 / 0.5672 GB, free: 12.03 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.0008907/0.7253, allocations: 412.1 kB / 0.5676 GB, free: 11.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.7254, allocations: 8.031 kB / 0.5676 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.7255, allocations: 38.56 kB / 0.5677 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.7256, allocations: 11.34 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.7261, allocations: 194.9 kB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.7261, allocations: 0 / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.7262, allocations: 7.969 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.7265, allocations: 57.69 kB / 0.5679 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7265, allocations: 3.938 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.7266, allocations: 0 / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.7266, allocations: 0 / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.7269, allocations: 25.02 kB / 0.5679 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.7277, allocations: 296.8 kB / 0.5682 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.7282, allocations: 50.59 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.7282, allocations: 3.984 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.7283, allocations: 34.56 kB / 0.5683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.998e-06/0.7283, allocations: 0 / 0.5683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001412/0.7297, allocations: 174.3 kB / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.7298, allocations: 55.36 kB / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.7303, allocations: 181.4 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.7304, allocations: 30.36 kB / 0.5687 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.7306, allocations: 170.5 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7306, allocations: 15.73 kB / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.7307, allocations: 0 / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.7309, allocations: 319.1 kB / 0.5692 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.7311, allocations: 23.98 kB / 0.5692 GB, free: 9.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.7314, allocations: 27.98 kB / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.7316, allocations: 27.92 kB / 0.5693 GB, free: 9.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.7316, allocations: 3.984 kB / 0.5693 GB, free: 9.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005627/0.7322, allocations: 90.17 kB / 0.5694 GB, free: 9.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.7323, allocations: 8 kB / 0.5694 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7323, allocations: 0 / 0.5694 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.7323, allocations: 0 / 0.5694 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.7325, allocations: 15.98 kB / 0.5694 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7326, allocations: 1.688 kB / 0.5694 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.7328, allocations: 7.953 kB / 0.5694 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.7328, allocations: 4 kB / 0.5694 GB, free: 9.57 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.0002296/0.733, allocations: 137.8 kB / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.7331, allocations: 7.906 kB / 0.5696 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006696/0.7338, allocations: 113.8 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7339, allocations: 0 / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7339, allocations: 0 / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.7339, allocations: 8 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7351, allocations: 379.4 kB / 0.57 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7351, allocations: 0 / 0.57 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.7353, allocations: 15.98 kB / 0.57 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.7354, allocations: 0 / 0.57 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.7354, allocations: 4 kB / 0.57 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.7354, allocations: 0 / 0.57 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.7354, allocations: 4.328 kB / 0.5701 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.7361, allocations: 199.4 kB / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.7362, allocations: 97.02 kB / 0.5703 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.7363, allocations: 3.984 kB / 0.5703 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.7365, allocations: 4 kB / 0.5703 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.7366, allocations: 4 kB / 0.5703 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.7366, allocations: 7.953 kB / 0.5704 GB, free: 8.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.737, allocations: 155.8 kB / 0.5705 GB, free: 8.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.3e-06/0.737, allocations: 4 kB / 0.5705 GB, free: 8.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.7376, allocations: 23.94 kB / 0.5705 GB, free: 8.324 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.002988/0.7406, allocations: 1.038 MB / 0.5715 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.7413, allocations: 63.97 kB / 0.5716 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7413, allocations: 0 / 0.5716 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.7416, allocations: 31.92 kB / 0.5716 GB, free: 7.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.7421, allocations: 15.98 kB / 0.5717 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.745, allocations: 0.738 MB / 0.5724 GB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.7456, allocations: 0.7043 MB / 0.5731 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.7458, allocations: 31.42 kB / 0.5731 GB, free: 5.707 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7458, allocations: 0 / 0.5731 GB, free: 5.707 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.783/3.529, allocations: 2.113 MB / 0.5752 GB, free: 3.594 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat does not exist to compare? outputFormat=mat