Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001649/0.001649, allocations: 179.6 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.538/1.538, allocations: 221.3 MB / 236 MB, free: 2.945 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.0008581/0.0008581, allocations: 80.06 kB / 287 MB, free: 244 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.195/0.195, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.313e-05, allocations: 224 / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5873, allocations: 87.87 MB / 0.5876 GB, free: 1.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5876, allocations: 67.97 kB / 0.5877 GB, free: 1.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.5987, allocations: 3.752 MB / 0.5913 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5987, allocations: 4 kB / 0.5913 GB, free: 13.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.5987, allocations: 4 kB / 0.5914 GB, free: 13.55 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.0004307/0.5992, allocations: 382.2 kB / 0.5917 GB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5993, allocations: 8.031 kB / 0.5917 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.5993, allocations: 34.56 kB / 0.5918 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.5994, allocations: 7.906 kB / 0.5918 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.5996, allocations: 193 kB / 0.5919 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5996, allocations: 11.95 kB / 0.592 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.5997, allocations: 4 kB / 0.592 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5998, allocations: 37.7 kB / 0.592 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.5998, allocations: 3.938 kB / 0.592 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5998, allocations: 3.984 kB / 0.592 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5998, allocations: 0 / 0.592 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.5999, allocations: 16 kB / 0.592 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.6003, allocations: 272.9 kB / 0.5923 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.6005, allocations: 42.52 kB / 0.5923 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.6005, allocations: 16.8 kB / 0.5923 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.6006, allocations: 0 / 0.5923 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.6006, allocations: 34.64 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.6006, allocations: 0 / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003978/0.601, allocations: 105.5 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.6011, allocations: 55.41 kB / 0.5925 GB, free: 12.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.6012, allocations: 158.9 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.6012, allocations: 25.7 kB / 0.5927 GB, free: 11.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.6013, allocations: 100.1 kB / 0.5928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.6013, allocations: 19.7 kB / 0.5928 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.6013, allocations: 4 kB / 0.5928 GB, free: 11.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6015, allocations: 318.8 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.6015, allocations: 8 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.6015, allocations: 12 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.6016, allocations: 12 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6016, allocations: 0 / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.6017, allocations: 61.59 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6017, allocations: 4 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6017, allocations: 11.92 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6017, allocations: 0 / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.6018, allocations: 15.98 kB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6018, allocations: 0 / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.6019, allocations: 8 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.6019, allocations: 7.953 kB / 0.5933 GB, free: 11.38 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.146e-05/0.602, allocations: 105 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.602, allocations: 7.906 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.6022, allocations: 78 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6022, allocations: 0 / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6022, allocations: 7.875 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.6022, allocations: 4 kB / 0.5935 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.6026, allocations: 334.5 kB / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6026, allocations: 0 / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.6027, allocations: 15.98 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6027, allocations: 0 / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.6027, allocations: 4 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6027, allocations: 3.938 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6027, allocations: 0 / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.6029, allocations: 167.3 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.6029, allocations: 93 kB / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.603, allocations: 0 / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.6031, allocations: 8 kB / 0.5941 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.6031, allocations: 7.984 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.6031, allocations: 0 / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.828e-05/0.6032, allocations: 125.3 kB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6032, allocations: 0 / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.6035, allocations: 27.94 kB / 0.5942 GB, free: 10.31 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.001197/0.6047, allocations: 0.946 MB / 0.5951 GB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.6048, allocations: 28 kB / 0.5952 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6048, allocations: 0 / 0.5952 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.6049, allocations: 28.05 kB / 0.5952 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.6051, allocations: 19.89 kB / 0.5952 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.6056, allocations: 171.5 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.606, allocations: 0.6965 MB / 0.596 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.6061, allocations: 12.17 kB / 0.5961 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.6061, allocations: 27.44 kB / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6062, allocations: 0 / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.6203, allocations: 2.17 MB / 0.5982 GB, free: 6.312 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.6206, allocations: 187 kB / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.273, allocations: 4 kB / 0.5984 GB, free: 6.082 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat