Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.0009332/0.0009333, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009057/0.0009057, allocations: 101.3 kB / 281.6 MB, free: 5.312 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.2315/0.2315, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.323e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.6659, allocations: 87.61 MB / 0.5803 GB, free: 8.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.6664, allocations: 71.95 kB / 0.5804 GB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02012/0.6865, allocations: 4.175 MB / 0.5845 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6866, allocations: 0 / 0.5845 GB, free: 4.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.6866, allocations: 4 kB / 0.5845 GB, free: 4.516 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.0004985/0.6871, allocations: 374.5 kB / 0.5848 GB, free: 4.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.6872, allocations: 11.98 kB / 0.5848 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.6872, allocations: 7.906 kB / 0.5848 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.6876, allocations: 186.9 kB / 0.585 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.6876, allocations: 0 / 0.585 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.6876, allocations: 4 kB / 0.585 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.67e-05/0.6877, allocations: 15.95 kB / 0.585 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.6879, allocations: 51.41 kB / 0.5851 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6879, allocations: 0 / 0.5851 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6879, allocations: 4 kB / 0.5851 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6879, allocations: 4 kB / 0.5851 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.6885, allocations: 265.3 kB / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.6888, allocations: 38.53 kB / 0.5854 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.6889, allocations: 12.95 kB / 0.5854 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.6889, allocations: 3.984 kB / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.689, allocations: 34.56 kB / 0.5854 GB, free: 3.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.689, allocations: 4 kB / 0.5854 GB, free: 3.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006052/0.6896, allocations: 105.3 kB / 0.5855 GB, free: 3.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.6897, allocations: 77.11 kB / 0.5856 GB, free: 3.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.6899, allocations: 117 kB / 0.5857 GB, free: 3.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.6899, allocations: 33.7 kB / 0.5858 GB, free: 3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.69, allocations: 84.14 kB / 0.5858 GB, free: 2.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.69, allocations: 19.75 kB / 0.5859 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.69, allocations: 0 / 0.5859 GB, free: 2.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6902, allocations: 314.8 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.6902, allocations: 12 kB / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.6903, allocations: 29.7 kB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.6904, allocations: 20.22 kB / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6904, allocations: 0 / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001757/0.6906, allocations: 69.48 kB / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6906, allocations: 8 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6906, allocations: 0 / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6907, allocations: 0 / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.6908, allocations: 15.98 kB / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6908, allocations: 0 / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.6909, allocations: 7.984 kB / 0.5863 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.6909, allocations: 4 kB / 0.5863 GB, free: 2.402 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 () * 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.237e-05/0.691, allocations: 108.9 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001797/0.6912, allocations: 73.48 kB / 0.5865 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.6913, allocations: 8.047 kB / 0.5865 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.6915, allocations: 78.06 kB / 0.5866 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6916, allocations: 0 / 0.5866 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6916, allocations: 0 / 0.5866 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6916, allocations: 0 / 0.5866 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.6921, allocations: 319 kB / 0.5869 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6921, allocations: 0 / 0.5869 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.6923, allocations: 19.92 kB / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6923, allocations: 0 / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.6923, allocations: 0 / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6923, allocations: 256 / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6923, allocations: 0 / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.6926, allocations: 175.4 kB / 0.5871 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.6927, allocations: 77.11 kB / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.6927, allocations: 4 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.6929, allocations: 7.984 kB / 0.5872 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.6929, allocations: 0 / 0.5872 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.693, allocations: 4 kB / 0.5872 GB, free: 1.445 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.6931, allocations: 105 kB / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6931, allocations: 0 / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004784/0.6936, allocations: 20 kB / 0.5873 GB, free: 1.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 () * 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.001853/0.6955, allocations: 0.9848 MB / 0.5882 GB, free: 400 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.6957, allocations: 35.94 kB / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6957, allocations: 0 / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.6957, allocations: 16 kB / 0.5883 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.6961, allocations: 7.984 kB / 0.5883 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.6968, allocations: 161.5 kB / 0.5884 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6972, allocations: 0.6885 MB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.6973, allocations: 15.77 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.6974, allocations: 31.36 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6974, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.7224, allocations: 1.974 MB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.7228, allocations: 169.2 kB / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.244, allocations: 0 / 0.5913 GB, free: 13.21 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat does not exist to compare? outputFormat=mat