Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 95.84 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3112/0.3112, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3506, allocations: 61.9 MB / 0.5096 GB, free: 38.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.467, allocations: 87.95 MB / 0.5955 GB, free: 7.172 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4673, allocations: 83.91 kB / 0.5956 GB, free: 7.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.4774, allocations: 3.718 MB / 0.5992 GB, free: 3.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4775, allocations: 0 / 0.5992 GB, free: 3.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.4775, allocations: 4 kB / 0.5992 GB, free: 3.371 MB / 410.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.0003942/0.4779, allocations: 398.9 kB / 0.5996 GB, free: 2.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4779, allocations: 8.031 kB / 0.5996 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.478, allocations: 34.56 kB / 0.5997 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.478, allocations: 7.906 kB / 0.5997 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4782, allocations: 196.4 kB / 0.5999 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.4782, allocations: 3.938 kB / 0.5999 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.4783, allocations: 7.953 kB / 0.5999 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.4784, allocations: 49.69 kB / 0.5999 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4784, allocations: 4 kB / 0.5999 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4784, allocations: 3.984 kB / 0.5999 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4784, allocations: 0 / 0.5999 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.4785, allocations: 23.98 kB / 0.5999 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.4789, allocations: 280.8 kB / 0.6002 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.4791, allocations: 50.55 kB / 0.6003 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4791, allocations: 0 / 0.6003 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4792, allocations: 30.56 kB / 0.6003 GB, free: 2.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4792, allocations: 0 / 0.6003 GB, free: 2.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005219/0.4797, allocations: 153.4 kB / 0.6004 GB, free: 1.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4797, allocations: 59.41 kB / 0.6005 GB, free: 1.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4799, allocations: 134.7 kB / 0.6006 GB, free: 1.758 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4799, allocations: 29.7 kB / 0.6006 GB, free: 1.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.4799, allocations: 100.1 kB / 0.6007 GB, free: 1.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.48, allocations: 23.66 kB / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.48, allocations: 0 / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4801, allocations: 318.8 kB / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.4802, allocations: 19.98 kB / 0.6011 GB, free: 1.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.4802, allocations: 31.92 kB / 0.6011 GB, free: 1.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.608e-05/0.4803, allocations: 24.12 kB / 0.6011 GB, free: 1.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4803, allocations: 0 / 0.6011 GB, free: 1.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.4805, allocations: 89.67 kB / 0.6012 GB, free: 1.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4805, allocations: 8 kB / 0.6012 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4805, allocations: 0 / 0.6012 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4805, allocations: 0 / 0.6012 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.4806, allocations: 15.98 kB / 0.6012 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4806, allocations: 0 / 0.6012 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.4807, allocations: 8 kB / 0.6013 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.4807, allocations: 0 / 0.6013 GB, free: 1.078 MB / 410.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 8.877e-05/0.4808, allocations: 130.2 kB / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.4808, allocations: 7.906 kB / 0.6014 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.481, allocations: 101.9 kB / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.481, allocations: 0 / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4811, allocations: 0 / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4811, allocations: 0 / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.4815, allocations: 362.5 kB / 0.6018 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4815, allocations: 0 / 0.6018 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.4815, allocations: 16 kB / 0.6018 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4815, allocations: 0 / 0.6018 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.4816, allocations: 7.875 kB / 0.6019 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4816, allocations: 7.984 kB / 0.6019 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4816, allocations: 3.984 kB / 0.6019 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.4818, allocations: 183.4 kB / 0.602 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.4818, allocations: 85.02 kB / 0.6021 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4819, allocations: 8.234 kB / 0.6021 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4819, allocations: 8 kB / 0.6021 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.482, allocations: 15.92 kB / 0.6022 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.482, allocations: 0 / 0.6022 GB, free: 56 kB / 410.7 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.4821, allocations: 116.8 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4821, allocations: 0 / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.4823, allocations: 19.98 kB / 0.6023 GB, free: 15.92 MB / 426.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.001271/0.4836, allocations: 1.018 MB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4838, allocations: 67.84 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4838, allocations: 0 / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.4839, allocations: 27.98 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.4841, allocations: 11.98 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.485, allocations: 0.5804 MB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.4853, allocations: 0.6966 MB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.35e-05/0.4854, allocations: 8.188 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.4854, allocations: 23.42 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4854, allocations: 0 / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.4984, allocations: 2.111 MB / 0.6067 GB, free: 11.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.4986, allocations: 218 kB / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.043, allocations: 0 / 0.6069 GB, free: 11.32 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat