Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001046/0.001046, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.298/1.298, allocations: 223.2 MB / 241 MB, free: 10.17 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.0008884/0.0008885, allocations: 86.72 kB / 292.1 MB, free: 10.7 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.3471/0.3471, allocations: 44.21 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003926, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3381, allocations: 61.91 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.4547, allocations: 91.21 MB / 0.5987 GB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.455, allocations: 75.92 kB / 0.5988 GB, free: 3.828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/0.4798, allocations: 9.732 MB / 0.6083 GB, free: 10.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4798, allocations: 0 / 0.6083 GB, free: 10.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.776e-05/0.4799, allocations: 12 kB / 0.6083 GB, free: 10.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000982/0.4809, allocations: 0.6458 MB / 0.6089 GB, free: 9.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4809, allocations: 16.03 kB / 0.6089 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.481, allocations: 46.55 kB / 0.609 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4811, allocations: 35.53 kB / 0.609 GB, free: 9.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.4818, allocations: 349.1 kB / 0.6094 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.4818, allocations: 11.94 kB / 0.6094 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.4819, allocations: 15.91 kB / 0.6094 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.4821, allocations: 114.7 kB / 0.6095 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4822, allocations: 7.984 kB / 0.6095 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4822, allocations: 4 kB / 0.6095 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4822, allocations: 4 kB / 0.6095 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.4824, allocations: 95.92 kB / 0.6096 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.4834, allocations: 0.5315 MB / 0.6101 GB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.4836, allocations: 114.5 kB / 0.6102 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.4836, allocations: 3.953 kB / 0.6102 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4837, allocations: 34.56 kB / 0.6103 GB, free: 7.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.4837, allocations: 0 / 0.6103 GB, free: 7.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001062/0.4847, allocations: 456.3 kB / 0.6107 GB, free: 7.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4848, allocations: 55.41 kB / 0.6108 GB, free: 7.363 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.4854, allocations: 0.4931 MB / 0.6112 GB, free: 6.855 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4854, allocations: 33.7 kB / 0.6113 GB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4856, allocations: 204.4 kB / 0.6115 GB, free: 6.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.4856, allocations: 59.11 kB / 0.6115 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.4856, allocations: 0 / 0.6115 GB, free: 6.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4858, allocations: 358.7 kB / 0.6119 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4859, allocations: 71.95 kB / 0.6119 GB, free: 6.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4861, allocations: 71.95 kB / 0.612 GB, free: 6.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4862, allocations: 73.22 kB / 0.6121 GB, free: 5.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4862, allocations: 7.953 kB / 0.6121 GB, free: 5.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003947/0.4866, allocations: 233.1 kB / 0.6123 GB, free: 5.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4866, allocations: 8.922 kB / 0.6123 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4867, allocations: 0 / 0.6123 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4867, allocations: 4 kB / 0.6123 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.4869, allocations: 35.92 kB / 0.6123 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4869, allocations: 0 / 0.6123 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.487, allocations: 15.98 kB / 0.6124 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.487, allocations: 4 kB / 0.6124 GB, free: 5.676 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 (17): * Single equations (assignments): 17 * 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.0001866/0.4872, allocations: 183.5 kB / 0.6125 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.4873, allocations: 47.39 kB / 0.6126 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.4878, allocations: 283.2 kB / 0.6129 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4878, allocations: 3.938 kB / 0.6129 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4878, allocations: 4 kB / 0.6129 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4878, allocations: 3.984 kB / 0.6129 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.4888, allocations: 0.7401 MB / 0.6136 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4888, allocations: 0 / 0.6136 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.489, allocations: 31.98 kB / 0.6136 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.489, allocations: 0 / 0.6136 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.489, allocations: 8 kB / 0.6136 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.489, allocations: 3.984 kB / 0.6136 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.489, allocations: 0 / 0.6136 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.4894, allocations: 340.7 kB / 0.614 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4896, allocations: 144.6 kB / 0.6141 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4897, allocations: 0 / 0.6141 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4898, allocations: 15.98 kB / 0.6141 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.4898, allocations: 11.98 kB / 0.6141 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4899, allocations: 8 kB / 0.6141 GB, free: 3.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004689/0.4903, allocations: 403.1 kB / 0.6145 GB, free: 3.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4903, allocations: 0 / 0.6145 GB, free: 3.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.4907, allocations: 75.88 kB / 0.6146 GB, free: 3.301 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002265/0.493, allocations: 1.486 MB / 0.616 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4933, allocations: 167.8 kB / 0.6162 GB, free: 1.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4934, allocations: 4 kB / 0.6162 GB, free: 1.941 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.4935, allocations: 97.14 kB / 0.6163 GB, free: 1.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4939, allocations: 64.61 kB / 0.6164 GB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.4972, allocations: 2.094 MB / 0.6184 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.4977, allocations: 0.834 MB / 0.6192 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.4979, allocations: 65.89 kB / 0.6193 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.4981, allocations: 123.4 kB / 0.6194 GB, free: 14.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4981, allocations: 3.938 kB / 0.6194 GB, free: 14.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.5183, allocations: 7.175 MB / 0.6264 GB, free: 7.555 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.5186, allocations: 209.1 kB / 0.6266 GB, free: 7.316 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.556, allocations: 4 kB / 0.6266 GB, free: 7.312 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat