Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.00131/0.00131, allocations: 173.2 kB / 8.742 MB, free: 344 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.458/1.458, 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.001018/0.001018, allocations: 96.58 kB / 281.6 MB, free: 5.328 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.2451/0.2451, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.49e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.6068, allocations: 87.5 MB / 0.5802 GB, free: 8.855 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.607, allocations: 71.97 kB / 0.5803 GB, free: 8.785 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.6176, allocations: 4.161 MB / 0.5843 GB, free: 4.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6177, allocations: 0 / 0.5843 GB, free: 4.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.6177, allocations: 0 / 0.5843 GB, free: 4.645 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.0003705/0.6181, allocations: 358.5 kB / 0.5847 GB, free: 4.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6181, allocations: 11.98 kB / 0.5847 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.6182, allocations: 7.906 kB / 0.5847 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.6184, allocations: 191.4 kB / 0.5849 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.6184, allocations: 4 kB / 0.5849 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.6184, allocations: 4 kB / 0.5849 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.012e-05/0.6185, allocations: 15.95 kB / 0.5849 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.6186, allocations: 55.41 kB / 0.585 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6187, allocations: 0 / 0.585 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6187, allocations: 3.938 kB / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6187, allocations: 0 / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.619, allocations: 257.5 kB / 0.5852 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.6192, allocations: 50.38 kB / 0.5853 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.6192, allocations: 8.859 kB / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.6193, allocations: 0 / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.6193, allocations: 30.56 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.6193, allocations: 0 / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003689/0.6197, allocations: 101.4 kB / 0.5854 GB, free: 3.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6197, allocations: 77.11 kB / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.6199, allocations: 121 kB / 0.5856 GB, free: 3.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.6199, allocations: 25.7 kB / 0.5856 GB, free: 3.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.62, allocations: 92.12 kB / 0.5857 GB, free: 3.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.62, allocations: 15.75 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.62, allocations: 4 kB / 0.5857 GB, free: 3.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6201, allocations: 318.8 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.6201, allocations: 8 kB / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.6202, allocations: 25.72 kB / 0.5861 GB, free: 2.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.6202, allocations: 4 kB / 0.5861 GB, free: 2.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6202, allocations: 0 / 0.5861 GB, free: 2.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.699e-05/0.6203, allocations: 69.48 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6203, allocations: 4 kB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6203, allocations: 0 / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6203, allocations: 0 / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.6204, allocations: 20.02 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6204, allocations: 4 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.6205, allocations: 4 kB / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.6205, allocations: 4 kB / 0.5862 GB, free: 2.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 () * 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 7.78e-05/0.6206, allocations: 101 kB / 0.5863 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.352e-05/0.6207, allocations: 61.55 kB / 0.5863 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.6207, allocations: 11.84 kB / 0.5863 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.6209, allocations: 74.45 kB / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.6209, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6209, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6209, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.6212, allocations: 307.1 kB / 0.5867 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6212, allocations: 3.938 kB / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.6213, allocations: 8 kB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6213, allocations: 7.938 kB / 0.5867 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.6213, allocations: 0 / 0.5867 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6213, allocations: 7.984 kB / 0.5867 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6213, allocations: 0 / 0.5867 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.6215, allocations: 159.3 kB / 0.5869 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.6215, allocations: 85.11 kB / 0.5869 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.6215, allocations: 0 / 0.5869 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.6216, allocations: 7.984 kB / 0.587 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.6217, allocations: 4 kB / 0.587 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.6217, allocations: 4 kB / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.6217, allocations: 101.5 kB / 0.5871 GB, free: 1.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6218, allocations: 0 / 0.5871 GB, free: 1.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.622, allocations: 24 kB / 0.5871 GB, free: 1.523 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.001082/0.6231, allocations: 0.9615 MB / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.6232, allocations: 31.94 kB / 0.5881 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6232, allocations: 4 kB / 0.5881 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.6233, allocations: 15.98 kB / 0.5881 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.6235, allocations: 12 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.6239, allocations: 149.5 kB / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.6242, allocations: 0.6924 MB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.6243, allocations: 20.03 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.6244, allocations: 23.42 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6244, allocations: 3.938 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.6454, allocations: 1.944 MB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.6457, allocations: 165.3 kB / 0.591 GB, free: 13.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.068, allocations: 0 / 0.591 GB, free: 13.47 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat