Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.0008863/0.0008862, allocations: 174.4 kB / 8.739 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.387/1.387, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009076/0.0009075, allocations: 87.97 kB / 281.6 MB, free: 5.32 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.2173/0.2173, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.086e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1651, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5225/0.6878, allocations: 87.32 MB / 0.58 GB, free: 9.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.6881, allocations: 71.95 kB / 0.5801 GB, free: 9.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009717/0.6978, allocations: 3.717 MB / 0.5837 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6979, allocations: 0 / 0.5837 GB, free: 5.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.6979, allocations: 0 / 0.5837 GB, free: 5.352 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.0004397/0.6983, allocations: 374.3 kB / 0.5841 GB, free: 4.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.6984, allocations: 15.98 kB / 0.5841 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.6984, allocations: 4 kB / 0.5841 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.6987, allocations: 195.4 kB / 0.5843 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.6987, allocations: 0 / 0.5843 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.6988, allocations: 3.906 kB / 0.5843 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.796e-05/0.6989, allocations: 19.95 kB / 0.5843 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.699, allocations: 37.69 kB / 0.5844 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.699, allocations: 4 kB / 0.5844 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.699, allocations: 3.938 kB / 0.5844 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.699, allocations: 0 / 0.5844 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.6994, allocations: 257.5 kB / 0.5846 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.6996, allocations: 50.39 kB / 0.5847 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.6997, allocations: 12.86 kB / 0.5847 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.6997, allocations: 0 / 0.5847 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.6997, allocations: 34.56 kB / 0.5847 GB, free: 4.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6997, allocations: 0 / 0.5847 GB, free: 4.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004157/0.7002, allocations: 109.3 kB / 0.5848 GB, free: 4.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.7002, allocations: 55.41 kB / 0.5849 GB, free: 4.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.7003, allocations: 135.7 kB / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.7004, allocations: 25.7 kB / 0.585 GB, free: 3.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.7004, allocations: 92.14 kB / 0.5851 GB, free: 3.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.7005, allocations: 27.73 kB / 0.5851 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.7005, allocations: 0 / 0.5851 GB, free: 3.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7007, allocations: 314.8 kB / 0.5854 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.7007, allocations: 12 kB / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.7007, allocations: 11.98 kB / 0.5855 GB, free: 3.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.7008, allocations: 16.19 kB / 0.5855 GB, free: 3.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.7008, allocations: 0 / 0.5855 GB, free: 3.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.7009, allocations: 69.55 kB / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7009, allocations: 4 kB / 0.5855 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7009, allocations: 7.938 kB / 0.5855 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.701, allocations: 0 / 0.5855 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.7011, allocations: 15.98 kB / 0.5856 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.7011, allocations: 0 / 0.5856 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.7011, allocations: 11.98 kB / 0.5856 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.7011, allocations: 144 / 0.5856 GB, free: 3.27 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 0.0001006/0.7013, allocations: 101 kB / 0.5857 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001223/0.7014, allocations: 77.55 kB / 0.5857 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.7014, allocations: 11.89 kB / 0.5858 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.7016, allocations: 74.02 kB / 0.5858 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7016, allocations: 4 kB / 0.5858 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7016, allocations: 0 / 0.5858 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7017, allocations: 0 / 0.5858 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.702, allocations: 311 kB / 0.5861 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.702, allocations: 0 / 0.5861 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.7021, allocations: 23.92 kB / 0.5861 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7021, allocations: 3.938 kB / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.7021, allocations: 4 kB / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7021, allocations: 256 / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7021, allocations: 0 / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.7023, allocations: 167.4 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.7024, allocations: 89 kB / 0.5864 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.7024, allocations: 0 / 0.5864 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.7025, allocations: 11.98 kB / 0.5864 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.7026, allocations: 4 kB / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.7026, allocations: 0 / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.7027, allocations: 116.3 kB / 0.5865 GB, free: 2.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7027, allocations: 0 / 0.5865 GB, free: 2.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.7029, allocations: 20 kB / 0.5865 GB, free: 2.176 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.001392/0.7043, allocations: 0.9349 MB / 0.5875 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.7045, allocations: 24 kB / 0.5875 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7045, allocations: 0 / 0.5875 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.7045, allocations: 23.88 kB / 0.5875 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.7048, allocations: 20.92 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.7053, allocations: 165.3 kB / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.7056, allocations: 0.7001 MB / 0.5884 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.7057, allocations: 16.16 kB / 0.5884 GB, free: 288 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.7058, allocations: 27.42 kB / 0.5884 GB, free: 260 kB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7058, allocations: 0 / 0.5884 GB, free: 260 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.7275, allocations: 1.8 MB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.7278, allocations: 164.1 kB / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.217, allocations: 0 / 0.5903 GB, free: 14.27 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat does not exist to compare? outputFormat=mat