Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.001074/0.001074, allocations: 185.1 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.343/1.343, 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.0008567/0.0008568, allocations: 90.17 kB / 292.1 MB, free: 10.93 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.3622/0.3622, allocations: 44.23 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004274, allocations: 8 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3521, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.465, allocations: 89.53 MB / 0.5971 GB, free: 5.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.4652, allocations: 79.92 kB / 0.5971 GB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02403/0.4893, allocations: 9.3 MB / 0.6062 GB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4893, allocations: 0 / 0.6062 GB, free: 12.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.088e-05/0.4894, allocations: 12 kB / 0.6062 GB, free: 12.17 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001186/0.4906, allocations: 0.7814 MB / 0.607 GB, free: 11.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4906, allocations: 8.031 kB / 0.607 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.4907, allocations: 42.55 kB / 0.607 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.4908, allocations: 55.34 kB / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/0.4915, allocations: 478.9 kB / 0.6076 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4916, allocations: 8 kB / 0.6076 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.4916, allocations: 15.91 kB / 0.6076 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.4919, allocations: 155.2 kB / 0.6077 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.492, allocations: 0 / 0.6077 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.492, allocations: 4 kB / 0.6077 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.492, allocations: 4 kB / 0.6077 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.4923, allocations: 119.9 kB / 0.6079 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4935, allocations: 0.7307 MB / 0.6086 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.4938, allocations: 129.2 kB / 0.6087 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4938, allocations: 8.109 kB / 0.6087 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.4938, allocations: 42.5 kB / 0.6087 GB, free: 9.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 9.358e-06/0.4939, allocations: 4 kB / 0.6087 GB, free: 9.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002071/0.4959, allocations: 0.7361 MB / 0.6095 GB, free: 8.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.496, allocations: 85.03 kB / 0.6095 GB, free: 8.559 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009515/0.497, allocations: 0.7873 MB / 0.6103 GB, free: 7.762 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.497, allocations: 25.7 kB / 0.6103 GB, free: 7.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.4972, allocations: 264.3 kB / 0.6106 GB, free: 7.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.4973, allocations: 62.95 kB / 0.6106 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.4973, allocations: 8 kB / 0.6107 GB, free: 7.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4975, allocations: 370.7 kB / 0.611 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.4977, allocations: 107.9 kB / 0.6111 GB, free: 6.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.498, allocations: 131 kB / 0.6112 GB, free: 6.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.4983, allocations: 116.1 kB / 0.6113 GB, free: 6.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4983, allocations: 0 / 0.6113 GB, free: 6.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006551/0.4989, allocations: 332.8 kB / 0.6117 GB, free: 6.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.499, allocations: 8 kB / 0.6117 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.499, allocations: 3.984 kB / 0.6117 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.499, allocations: 4 kB / 0.6117 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.4993, allocations: 63.89 kB / 0.6117 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4993, allocations: 0 / 0.6117 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4996, allocations: 39.92 kB / 0.6118 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.4996, allocations: 8 kB / 0.6118 GB, free: 6.219 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002186/0.4998, allocations: 206.3 kB / 0.612 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4999, allocations: 59.25 kB / 0.612 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.5007, allocations: 386.5 kB / 0.6124 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5007, allocations: 8.078 kB / 0.6124 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5007, allocations: 7.875 kB / 0.6124 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5008, allocations: 0 / 0.6124 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.5023, allocations: 0.9932 MB / 0.6134 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5023, allocations: 0 / 0.6134 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.5026, allocations: 63.89 kB / 0.6135 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.5026, allocations: 0 / 0.6135 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.5026, allocations: 11.98 kB / 0.6135 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5027, allocations: 3.953 kB / 0.6135 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5027, allocations: 4 kB / 0.6135 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.5034, allocations: 0.5137 MB / 0.614 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.5038, allocations: 181.1 kB / 0.6141 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.5038, allocations: 7.984 kB / 0.6142 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.5041, allocations: 31.98 kB / 0.6142 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.5042, allocations: 19.92 kB / 0.6142 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.5042, allocations: 11.98 kB / 0.6142 GB, free: 3.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007389/0.505, allocations: 0.6198 MB / 0.6148 GB, free: 3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.505, allocations: 4 kB / 0.6148 GB, free: 2.996 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.5054, allocations: 79.94 kB / 0.6149 GB, free: 2.918 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 (20): * Single equations (assignments): 20 * 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.001893/0.5073, allocations: 1.443 MB / 0.6163 GB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.5079, allocations: 259.7 kB / 0.6166 GB, free: 1.352 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5079, allocations: 0 / 0.6166 GB, free: 1.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.5082, allocations: 144.4 kB / 0.6167 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.5086, allocations: 67.98 kB / 0.6168 GB, free: 1.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.5133, allocations: 3.446 MB / 0.6201 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.5138, allocations: 0.8733 MB / 0.621 GB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000237/0.514, allocations: 90.84 kB / 0.6211 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.5143, allocations: 179.4 kB / 0.6212 GB, free: 12.46 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5143, allocations: 0 / 0.6212 GB, free: 12.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.5346, allocations: 9.506 MB / 0.6305 GB, free: 3.102 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.5349, allocations: 205.1 kB / 0.6307 GB, free: 2.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.613, allocations: 0 / 0.6307 GB, free: 2.867 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat