Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001646/0.001646, allocations: 177.7 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.378/1.378, 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.0009128/0.0009128, allocations: 94.28 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.3373/0.3373, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 11.98 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3416, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4554, allocations: 88.56 MB / 0.5961 GB, free: 6.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4557, allocations: 83.91 kB / 0.5962 GB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01831/0.474, allocations: 8.422 MB / 0.6044 GB, free: 14.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.474, allocations: 0 / 0.6044 GB, free: 14.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.4741, allocations: 8 kB / 0.6044 GB, free: 14.04 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.0007406/0.4748, allocations: 0.6453 MB / 0.6051 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4749, allocations: 8.031 kB / 0.6051 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.4749, allocations: 34.56 kB / 0.6051 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.475, allocations: 43.44 kB / 0.6052 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.4755, allocations: 339.2 kB / 0.6055 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4755, allocations: 4 kB / 0.6055 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4755, allocations: 4 kB / 0.6055 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.4757, allocations: 69.59 kB / 0.6055 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4757, allocations: 3.984 kB / 0.6056 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4758, allocations: 4 kB / 0.6056 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4758, allocations: 8 kB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.4759, allocations: 39.97 kB / 0.6056 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.4765, allocations: 452.5 kB / 0.606 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.4768, allocations: 58.56 kB / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4768, allocations: 8.062 kB / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4768, allocations: 34.56 kB / 0.6061 GB, free: 12.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.4768, allocations: 0 / 0.6061 GB, free: 12.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001509/0.4784, allocations: 0.5348 MB / 0.6067 GB, free: 11.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4784, allocations: 52.69 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.4796, allocations: 0.7824 MB / 0.6075 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4796, allocations: 25.7 kB / 0.6075 GB, free: 10.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4798, allocations: 223.9 kB / 0.6077 GB, free: 10.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4798, allocations: 35.45 kB / 0.6077 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.4798, allocations: 0 / 0.6077 GB, free: 10.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.48, allocations: 362.8 kB / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4802, allocations: 47.97 kB / 0.6081 GB, free: 10.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4803, allocations: 51.97 kB / 0.6082 GB, free: 9.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4804, allocations: 59.91 kB / 0.6082 GB, free: 9.922 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4805, allocations: 0 / 0.6082 GB, free: 9.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003671/0.4808, allocations: 185.1 kB / 0.6084 GB, free: 9.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4809, allocations: 4 kB / 0.6084 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4809, allocations: 0 / 0.6084 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.4809, allocations: 7.953 kB / 0.6084 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.481, allocations: 39.91 kB / 0.6085 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.4811, allocations: 0 / 0.6085 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.4811, allocations: 11.98 kB / 0.6085 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4812, allocations: 8 kB / 0.6085 GB, free: 9.664 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 (11): * Single equations (assignments): 11 * 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.0002456/0.4814, allocations: 210.3 kB / 0.6087 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.4815, allocations: 47.44 kB / 0.6087 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.482, allocations: 229.8 kB / 0.6089 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.482, allocations: 0 / 0.6089 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.482, allocations: 3.953 kB / 0.609 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.482, allocations: 0 / 0.609 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.4833, allocations: 0.7069 MB / 0.6096 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4833, allocations: 4 kB / 0.6096 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4834, allocations: 39.98 kB / 0.6097 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4834, allocations: 0 / 0.6097 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4834, allocations: 4 kB / 0.6097 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4835, allocations: 96 / 0.6097 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4835, allocations: 3.938 kB / 0.6097 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.4839, allocations: 331.9 kB / 0.61 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.4842, allocations: 164.5 kB / 0.6102 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.4842, allocations: 4 kB / 0.6102 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4843, allocations: 12 kB / 0.6102 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4844, allocations: 11.98 kB / 0.6102 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4844, allocations: 4 kB / 0.6102 GB, free: 7.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006802/0.4851, allocations: 0.6393 MB / 0.6108 GB, free: 7.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4851, allocations: 4 kB / 0.6108 GB, free: 7.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.4854, allocations: 67.94 kB / 0.6109 GB, free: 7.066 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001913/0.4873, allocations: 1.352 MB / 0.6122 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.4877, allocations: 123.8 kB / 0.6123 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4877, allocations: 0 / 0.6123 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.4879, allocations: 64.03 kB / 0.6124 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4882, allocations: 36.88 kB / 0.6124 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.4913, allocations: 2.478 MB / 0.6148 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.4917, allocations: 0.8418 MB / 0.6157 GB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.451e-05/0.4918, allocations: 44.78 kB / 0.6157 GB, free: 2.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.4919, allocations: 123.4 kB / 0.6158 GB, free: 2.059 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4919, allocations: 0 / 0.6158 GB, free: 2.059 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.5107, allocations: 6.863 MB / 0.6225 GB, free: 11.31 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5109, allocations: 213 kB / 0.6227 GB, free: 11.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.657, allocations: 0 / 0.6227 GB, free: 11.07 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat does not exist to compare? outputFormat=mat