Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.002124/0.002124, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.318/1.318, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009803, allocations: 86.16 kB / 292.1 MB, free: 10.92 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.361/0.361, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 15.98 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3551, allocations: 61.91 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.4755, allocations: 88.61 MB / 0.5962 GB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.4759, allocations: 83.91 kB / 0.5963 GB, free: 6.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01826/0.4942, allocations: 8.368 MB / 0.6044 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4942, allocations: 0 / 0.6044 GB, free: 14.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.4942, allocations: 7.938 kB / 0.6044 GB, free: 14.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006896/0.4949, allocations: 0.6492 MB / 0.6051 GB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.495, allocations: 8.031 kB / 0.6051 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.495, allocations: 38.55 kB / 0.6051 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.4951, allocations: 43.44 kB / 0.6052 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.4956, allocations: 327.3 kB / 0.6055 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.4956, allocations: 0 / 0.6055 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.4956, allocations: 4 kB / 0.6055 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4958, allocations: 57.62 kB / 0.6055 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4958, allocations: 8 kB / 0.6055 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4958, allocations: 4 kB / 0.6055 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4958, allocations: 0 / 0.6055 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.4959, allocations: 31.97 kB / 0.6056 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.4965, allocations: 448.6 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4967, allocations: 54.55 kB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.4967, allocations: 0 / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4967, allocations: 34.56 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4967, allocations: 3.938 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009446/0.4977, allocations: 349.4 kB / 0.6064 GB, free: 11.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.4977, allocations: 51.41 kB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.4988, allocations: 0.7824 MB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4989, allocations: 25.7 kB / 0.6073 GB, free: 10.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.499, allocations: 224.1 kB / 0.6075 GB, free: 10.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.4991, allocations: 23.56 kB / 0.6075 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.4991, allocations: 0 / 0.6075 GB, free: 10.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4992, allocations: 370.8 kB / 0.6078 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.4993, allocations: 23.98 kB / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.4994, allocations: 35.97 kB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.06e-05/0.4995, allocations: 31.98 kB / 0.6079 GB, free: 10.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4995, allocations: 0 / 0.6079 GB, free: 10.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.4997, allocations: 141.1 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.4997, allocations: 9.562 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4998, allocations: 3.938 kB / 0.6081 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4998, allocations: 3.953 kB / 0.6081 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4999, allocations: 23.98 kB / 0.6081 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4999, allocations: 0 / 0.6081 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.5, allocations: 11.94 kB / 0.6081 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.5, allocations: 0 / 0.6081 GB, free: 10.02 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001819/0.5002, allocations: 214.3 kB / 0.6083 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.5003, allocations: 43.44 kB / 0.6084 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.5006, allocations: 169.7 kB / 0.6085 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5006, allocations: 4 kB / 0.6085 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5006, allocations: 3.953 kB / 0.6085 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5006, allocations: 0 / 0.6085 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5017, allocations: 0.6398 MB / 0.6092 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5017, allocations: 3.984 kB / 0.6092 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.5018, allocations: 16 kB / 0.6092 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5018, allocations: 3.953 kB / 0.6092 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5018, allocations: 0 / 0.6092 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5018, allocations: 12.02 kB / 0.6092 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5018, allocations: 0 / 0.6092 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.5021, allocations: 257.5 kB / 0.6094 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.5024, allocations: 172.4 kB / 0.6096 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.5024, allocations: 3.984 kB / 0.6096 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.5025, allocations: 8 kB / 0.6096 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.5026, allocations: 11.98 kB / 0.6096 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.5026, allocations: 4 kB / 0.6096 GB, free: 8.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006651/0.5033, allocations: 0.6394 MB / 0.6103 GB, free: 7.715 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5033, allocations: 0 / 0.6103 GB, free: 7.715 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000317/0.5036, allocations: 67.94 kB / 0.6103 GB, free: 7.648 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001655/0.5053, allocations: 1.215 MB / 0.6115 GB, free: 6.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.5055, allocations: 71.95 kB / 0.6116 GB, free: 6.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5055, allocations: 3.938 kB / 0.6116 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.5056, allocations: 43.92 kB / 0.6116 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.5059, allocations: 21.95 kB / 0.6116 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.509, allocations: 2.381 MB / 0.614 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.5094, allocations: 0.834 MB / 0.6148 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.5095, allocations: 43.11 kB / 0.6148 GB, free: 3.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.5097, allocations: 115.4 kB / 0.6149 GB, free: 2.984 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5097, allocations: 4 kB / 0.6149 GB, free: 2.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.5303, allocations: 6.717 MB / 0.6215 GB, free: 12.38 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.5306, allocations: 220.1 kB / 0.6217 GB, free: 12.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.599, allocations: 0 / 0.6217 GB, free: 12.13 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat