Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.00188/0.00188, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.476/1.476, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009023/0.0009023, allocations: 94.28 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.752e-05, allocations: 224 / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5813, allocations: 88.09 MB / 0.5878 GB, free: 1.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.5816, allocations: 71.97 kB / 0.5879 GB, free: 1.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.5937, allocations: 4.668 MB / 0.5925 GB, free: 12.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5938, allocations: 0 / 0.5925 GB, free: 12.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.5938, allocations: 4 kB / 0.5925 GB, free: 12.42 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004303/0.5942, allocations: 406.2 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.5943, allocations: 8.031 kB / 0.5929 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.5944, allocations: 42.5 kB / 0.5929 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.5944, allocations: 15.81 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.5947, allocations: 207.4 kB / 0.5931 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5947, allocations: 4 kB / 0.5931 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.5947, allocations: 15.84 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5949, allocations: 57.69 kB / 0.5932 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5949, allocations: 3.938 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5949, allocations: 4 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5949, allocations: 4 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.595, allocations: 31.92 kB / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.5954, allocations: 332.7 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.5956, allocations: 66.48 kB / 0.5936 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.5956, allocations: 16.86 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.5956, allocations: 0 / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.5957, allocations: 38.56 kB / 0.5937 GB, free: 11.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.5957, allocations: 0 / 0.5937 GB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005907/0.5963, allocations: 210.3 kB / 0.5939 GB, free: 10.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.5963, allocations: 55.36 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5965, allocations: 214.4 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.5966, allocations: 33.69 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.5966, allocations: 108 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.5967, allocations: 51.53 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.5967, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5968, allocations: 326.8 kB / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.5969, allocations: 28 kB / 0.5946 GB, free: 9.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.5969, allocations: 27.94 kB / 0.5947 GB, free: 9.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.597, allocations: 33.36 kB / 0.5947 GB, free: 9.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.597, allocations: 0 / 0.5947 GB, free: 9.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001629/0.5972, allocations: 117.2 kB / 0.5948 GB, free: 9.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5972, allocations: 5.406 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5972, allocations: 4.234 kB / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.5972, allocations: 0 / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5973, allocations: 31.98 kB / 0.5948 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5974, allocations: 3.984 kB / 0.5948 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.5974, allocations: 15.94 kB / 0.5949 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5974, allocations: 0 / 0.5949 GB, free: 9.734 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.455e-05/0.5975, allocations: 112.9 kB / 0.595 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.5976, allocations: 19.92 kB / 0.595 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.5978, allocations: 139.2 kB / 0.5951 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5978, allocations: 4 kB / 0.5951 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5978, allocations: 0 / 0.5951 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5978, allocations: 0 / 0.5951 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.5984, allocations: 481.7 kB / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5984, allocations: 4 kB / 0.5956 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-05/0.5985, allocations: 27.97 kB / 0.5956 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5985, allocations: 4 kB / 0.5956 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5985, allocations: 7.953 kB / 0.5956 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5985, allocations: 0 / 0.5956 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5985, allocations: 7.938 kB / 0.5956 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.5988, allocations: 233.9 kB / 0.5959 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.5988, allocations: 104.9 kB / 0.596 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.5989, allocations: 7.938 kB / 0.596 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.599, allocations: 4 kB / 0.596 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.599, allocations: 11.98 kB / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.599, allocations: 4 kB / 0.596 GB, free: 8.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.5992, allocations: 176.2 kB / 0.5962 GB, free: 8.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5992, allocations: 0 / 0.5962 GB, free: 8.301 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.5995, allocations: 31.94 kB / 0.5962 GB, free: 8.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001454/0.6009, allocations: 1.136 MB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.6011, allocations: 83.86 kB / 0.5974 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6011, allocations: 0 / 0.5974 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.6012, allocations: 43.94 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.6014, allocations: 25.98 kB / 0.5974 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.6021, allocations: 288.1 kB / 0.5977 GB, free: 6.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.6024, allocations: 0.7237 MB / 0.5984 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.947e-05/0.6025, allocations: 24.53 kB / 0.5984 GB, free: 5.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.6026, allocations: 39.42 kB / 0.5985 GB, free: 5.934 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.6026, allocations: 0 / 0.5985 GB, free: 5.934 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.6169, allocations: 3.094 MB / 0.6015 GB, free: 2.914 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.6171, allocations: 188.7 kB / 0.6017 GB, free: 2.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.322, allocations: 0 / 0.6017 GB, free: 2.688 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat