Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.0009351/0.0009351, allocations: 174.4 kB / 8.74 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.339/1.339, allocations: 221.5 MB / 230.7 MB, free: 7.508 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.001007/0.001007, allocations: 98.94 kB / 281.6 MB, free: 5.258 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.179/0.179, allocations: 44.14 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.679e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5491, allocations: 90.14 MB / 0.5828 GB, free: 6.191 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.5493, allocations: 67.97 kB / 0.5829 GB, free: 6.125 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02231/0.5717, allocations: 8.768 MB / 0.5914 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5717, allocations: 0 / 0.5914 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.736e-05/0.5717, allocations: 11.94 kB / 0.5914 GB, free: 13.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006393/0.5724, allocations: 0.5287 MB / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5724, allocations: 19.97 kB / 0.592 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.5725, allocations: 35.53 kB / 0.592 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.573, allocations: 347.4 kB / 0.5923 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5731, allocations: 4 kB / 0.5923 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.5731, allocations: 7.938 kB / 0.5923 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001461/0.5732, allocations: 51.97 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5734, allocations: 69.67 kB / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5734, allocations: 0 / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5734, allocations: 4 kB / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5734, allocations: 0 / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.5741, allocations: 464.9 kB / 0.5929 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.5742, allocations: 62.56 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.5742, allocations: 24.97 kB / 0.593 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.5743, allocations: 4 kB / 0.593 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.5743, allocations: 34.56 kB / 0.593 GB, free: 11.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.5743, allocations: 4 kB / 0.593 GB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002393/0.5746, allocations: 113.1 kB / 0.5931 GB, free: 11.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.5746, allocations: 55.36 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.5751, allocations: 489.1 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5752, allocations: 25.7 kB / 0.5937 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5753, allocations: 196.3 kB / 0.5939 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.5753, allocations: 15.81 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.5754, allocations: 0 / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5755, allocations: 354.8 kB / 0.5942 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.5756, allocations: 23.92 kB / 0.5942 GB, free: 10.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.5756, allocations: 16 kB / 0.5943 GB, free: 10.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.5757, allocations: 31.97 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5757, allocations: 0 / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001578/0.5758, allocations: 109.5 kB / 0.5944 GB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5758, allocations: 4 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5759, allocations: 0 / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5759, allocations: 4 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.576, allocations: 15.94 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.576, allocations: 8 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.5761, allocations: 15.88 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.5761, allocations: 0 / 0.5944 GB, free: 10.05 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 (6): * Single equations (assignments): 6 * 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.226e-05/0.5762, allocations: 105 kB / 0.5945 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000175/0.5764, allocations: 113.2 kB / 0.5946 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.5764, allocations: 39.53 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.5767, allocations: 140.9 kB / 0.5948 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5767, allocations: 4 kB / 0.5948 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5767, allocations: 3.953 kB / 0.5948 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5767, allocations: 3.984 kB / 0.5948 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.577, allocations: 282 kB / 0.5951 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.577, allocations: 0 / 0.5951 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.5771, allocations: 15.94 kB / 0.5951 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5771, allocations: 0 / 0.5951 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.5771, allocations: 0 / 0.5951 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5771, allocations: 3.984 kB / 0.5951 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5771, allocations: 0 / 0.5951 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.5773, allocations: 219 kB / 0.5953 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.5775, allocations: 144.6 kB / 0.5955 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.5775, allocations: 3.984 kB / 0.5955 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.5776, allocations: 4.188 kB / 0.5955 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.5777, allocations: 4 kB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.5777, allocations: 4 kB / 0.5955 GB, free: 8.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004045/0.5781, allocations: 382.9 kB / 0.5958 GB, free: 8.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5781, allocations: 4 kB / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.5784, allocations: 55.92 kB / 0.5959 GB, free: 8.461 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 (6): * Single equations (assignments): 6 * 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.001665/0.5801, allocations: 1.138 MB / 0.597 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.5803, allocations: 51.98 kB / 0.5971 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5803, allocations: 0 / 0.5971 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.5803, allocations: 31.92 kB / 0.5971 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.5808, allocations: 64.42 kB / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5819, allocations: 0.5631 MB / 0.5977 GB, free: 6.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.5824, allocations: 0.8138 MB / 0.5985 GB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.5825, allocations: 58 kB / 0.5986 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.5827, allocations: 103.4 kB / 0.5987 GB, free: 5.664 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5827, allocations: 0 / 0.5987 GB, free: 5.664 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.6095, allocations: 5.822 MB / 0.6043 GB, free: 15.86 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.6098, allocations: 160.1 kB / 0.6045 GB, free: 15.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.782, allocations: 0 / 0.6045 GB, free: 15.66 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat