Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.0009111/0.0009111, allocations: 170.4 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.435/1.435, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.001013/0.001013, allocations: 93.84 kB / 281.6 MB, free: 5.332 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.2439/0.2439, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.033e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.6093, allocations: 87.66 MB / 0.5804 GB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.6096, allocations: 75.95 kB / 0.5804 GB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.6213, allocations: 4.468 MB / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6213, allocations: 0 / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.6213, allocations: 11.94 kB / 0.5848 GB, free: 4.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003838/0.6217, allocations: 378.2 kB / 0.5852 GB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6218, allocations: 15.98 kB / 0.5852 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.6218, allocations: 11.84 kB / 0.5852 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.6221, allocations: 179 kB / 0.5854 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6221, allocations: 4 kB / 0.5854 GB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.6221, allocations: 0 / 0.5854 GB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.312e-05/0.6222, allocations: 35.88 kB / 0.5854 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.6223, allocations: 67.41 kB / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6223, allocations: 4 kB / 0.5855 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.6224, allocations: 0 / 0.5855 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6224, allocations: 4 kB / 0.5855 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.6228, allocations: 289.2 kB / 0.5858 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.6229, allocations: 46.56 kB / 0.5858 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.6229, allocations: 16.98 kB / 0.5858 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.6229, allocations: 0 / 0.5858 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.623, allocations: 34.56 kB / 0.5859 GB, free: 2.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.623, allocations: 0 / 0.5859 GB, free: 2.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004615/0.6234, allocations: 149.3 kB / 0.586 GB, free: 2.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6235, allocations: 77.11 kB / 0.5861 GB, free: 2.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.6236, allocations: 121 kB / 0.5862 GB, free: 2.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.6236, allocations: 25.7 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.6237, allocations: 96.03 kB / 0.5863 GB, free: 2.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.6237, allocations: 23.66 kB / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.6237, allocations: 0 / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.6238, allocations: 322.8 kB / 0.5866 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.6239, allocations: 20 kB / 0.5867 GB, free: 2.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.6239, allocations: 41.64 kB / 0.5867 GB, free: 2.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.624, allocations: 19.98 kB / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.624, allocations: 0 / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001386/0.6241, allocations: 89.8 kB / 0.5868 GB, free: 1.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6241, allocations: 13.39 kB / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6242, allocations: 0 / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6242, allocations: 0 / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.6243, allocations: 19.98 kB / 0.5868 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6243, allocations: 7.969 kB / 0.5868 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.6244, allocations: 4 kB / 0.5868 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.6244, allocations: 7.938 kB / 0.5869 GB, free: 1.883 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 (8): * Single equations (assignments): 8 * 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 6.556e-05/0.6244, allocations: 110.2 kB / 0.587 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001312/0.6246, allocations: 85.58 kB / 0.587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.6246, allocations: 11.89 kB / 0.5871 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.6248, allocations: 98.28 kB / 0.5871 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6248, allocations: 4 kB / 0.5871 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6248, allocations: 0 / 0.5871 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6248, allocations: 3.938 kB / 0.5872 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.6252, allocations: 351 kB / 0.5875 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6252, allocations: 3.984 kB / 0.5875 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.6253, allocations: 20 kB / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6253, allocations: 0 / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.6253, allocations: 0 / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6253, allocations: 7.984 kB / 0.5875 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6254, allocations: 3.938 kB / 0.5875 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.6255, allocations: 187.7 kB / 0.5877 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.6256, allocations: 89 kB / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.6256, allocations: 192 / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.6257, allocations: 11.98 kB / 0.5878 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.6258, allocations: 8 kB / 0.5878 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.6258, allocations: 4 kB / 0.5878 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.6258, allocations: 109.3 kB / 0.5879 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6259, allocations: 4 kB / 0.5879 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.6261, allocations: 27.98 kB / 0.5879 GB, free: 0.6719 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 (8): * Single equations (assignments): 8 * 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.001185/0.6273, allocations: 0.9922 MB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.6275, allocations: 55.98 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6275, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.6275, allocations: 31.92 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.6278, allocations: 15.98 kB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.6283, allocations: 169.8 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.6285, allocations: 0.7002 MB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.6286, allocations: 24.95 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.6287, allocations: 27.42 kB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.6287, allocations: 3.938 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.6501, allocations: 2.173 MB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.6503, allocations: 172.7 kB / 0.5922 GB, free: 12.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.126, allocations: 0 / 0.5922 GB, free: 12.29 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat does not exist to compare? outputFormat=mat