Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.00117/0.00117, allocations: 180.5 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.694/1.694, allocations: 221.3 MB / 236 MB, free: 2.934 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.001005/0.001005, allocations: 91.86 kB / 287 MB, free: 192 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.2226/0.2226, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.632e-05/5.642e-05, allocations: 224 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1686, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6423, allocations: 87.87 MB / 0.5876 GB, free: 1.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.6425, allocations: 71.97 kB / 0.5877 GB, free: 1.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.6526, allocations: 3.679 MB / 0.5913 GB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6526, allocations: 0 / 0.5913 GB, free: 13.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.6526, allocations: 0 / 0.5913 GB, free: 13.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004024/0.6531, allocations: 354.5 kB / 0.5916 GB, free: 13.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.6531, allocations: 8.031 kB / 0.5916 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.6532, allocations: 42.55 kB / 0.5917 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.6532, allocations: 3.906 kB / 0.5917 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.6535, allocations: 202.8 kB / 0.5919 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6535, allocations: 3.984 kB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.6535, allocations: 7.953 kB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.6536, allocations: 37.7 kB / 0.5919 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6537, allocations: 0 / 0.5919 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.6537, allocations: 0 / 0.5919 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6537, allocations: 0 / 0.5919 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.6537, allocations: 15.98 kB / 0.5919 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.6541, allocations: 284.7 kB / 0.5922 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.6543, allocations: 34.56 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.6543, allocations: 16.86 kB / 0.5922 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.6544, allocations: 0 / 0.5922 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.6544, allocations: 30.56 kB / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6544, allocations: 0 / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003998/0.6548, allocations: 109.4 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.6549, allocations: 51.41 kB / 0.5924 GB, free: 12.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.655, allocations: 132.3 kB / 0.5925 GB, free: 12.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.655, allocations: 29.7 kB / 0.5926 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.6551, allocations: 88.14 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.6551, allocations: 23.7 kB / 0.5927 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.6552, allocations: 0 / 0.5927 GB, free: 11.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6553, allocations: 326.8 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.6553, allocations: 8 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.6553, allocations: 4 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.6554, allocations: 19.92 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6554, allocations: 0 / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.309e-05/0.6555, allocations: 53.7 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.6555, allocations: 9.078 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6555, allocations: 144 / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6556, allocations: 4 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.6556, allocations: 11.98 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6557, allocations: 8 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.6557, allocations: 11.98 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.6557, allocations: 0 / 0.5931 GB, free: 11.52 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 (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 6.815e-05/0.6558, allocations: 108.9 kB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.6558, allocations: 3.906 kB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.656, allocations: 85.86 kB / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.656, allocations: 0 / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.656, allocations: 4 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.656, allocations: 0 / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.6564, allocations: 330.5 kB / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6564, allocations: 3.984 kB / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.6564, allocations: 12 kB / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6565, allocations: 3.938 kB / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.6565, allocations: 0 / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6565, allocations: 0 / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6565, allocations: 0 / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.6566, allocations: 167.4 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.6567, allocations: 81.09 kB / 0.5939 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.6567, allocations: 4 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.6568, allocations: 4 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.6568, allocations: 3.984 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.6568, allocations: 8 kB / 0.5939 GB, free: 10.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.431e-05/0.6569, allocations: 115.2 kB / 0.594 GB, free: 10.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6569, allocations: 0 / 0.594 GB, free: 10.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.6572, allocations: 15.94 kB / 0.594 GB, free: 10.48 MB / 410.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.001145/0.6583, allocations: 0.9657 MB / 0.595 GB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.6584, allocations: 31.94 kB / 0.595 GB, free: 9.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6584, allocations: 4 kB / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.6585, allocations: 16.12 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.6587, allocations: 11.98 kB / 0.595 GB, free: 9.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.6592, allocations: 166.5 kB / 0.5952 GB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.6595, allocations: 0.6926 MB / 0.5959 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.6596, allocations: 8.188 kB / 0.5959 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.6596, allocations: 23.42 kB / 0.5959 GB, free: 8.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6596, allocations: 7.938 kB / 0.5959 GB, free: 8.582 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.6765, allocations: 2.01 MB / 0.5979 GB, free: 6.656 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004825/0.6771, allocations: 201.8 kB / 0.5981 GB, free: 6.414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.298, allocations: 0 / 0.5981 GB, free: 6.414 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat