Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008877/0.000888, allocations: 88.83 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5206/0.5206, allocations: 43.48 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.626e-05/5.628e-05, allocations: 4 kB / 425.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1646, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/0.6787, allocations: 86.99 MB / 0.5579 GB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.679, allocations: 71.19 kB / 0.5579 GB, free: 1.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.6897, allocations: 4.303 MB / 0.5621 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6898, allocations: 0 / 0.5621 GB, free: 13.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.6898, allocations: 3.062 kB / 0.5621 GB, free: 13.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004247/0.6902, allocations: 385.6 kB / 0.5625 GB, free: 13.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.646e-05/0.6903, allocations: 12.03 kB / 0.5625 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.6904, allocations: 34.56 kB / 0.5625 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.6904, allocations: 7.906 kB / 0.5626 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.6907, allocations: 196.5 kB / 0.5627 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.6908, allocations: 4 kB / 0.5627 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6908, allocations: 4 kB / 0.5627 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.6909, allocations: 68.78 kB / 0.5628 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.691, allocations: 0 / 0.5628 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.691, allocations: 4 kB / 0.5628 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.691, allocations: 0 / 0.5628 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.6911, allocations: 19.98 kB / 0.5628 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.6915, allocations: 300.7 kB / 0.5631 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.6916, allocations: 30.58 kB / 0.5632 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.6917, allocations: 12.86 kB / 0.5632 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.6917, allocations: 4 kB / 0.5632 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6917, allocations: 34.56 kB / 0.5632 GB, free: 12.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6917, allocations: 0 / 0.5632 GB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005864/0.6923, allocations: 143.9 kB / 0.5633 GB, free: 12.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.6924, allocations: 77.11 kB / 0.5634 GB, free: 12.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.6926, allocations: 134.5 kB / 0.5635 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.6926, allocations: 29.7 kB / 0.5636 GB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.6927, allocations: 92.78 kB / 0.5637 GB, free: 11.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.6927, allocations: 23.78 kB / 0.5637 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.6927, allocations: 3.938 kB / 0.5637 GB, free: 11.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6929, allocations: 322.8 kB / 0.564 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.6929, allocations: 16 kB / 0.564 GB, free: 11.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.693, allocations: 27.41 kB / 0.564 GB, free: 11.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.6931, allocations: 23.53 kB / 0.5641 GB, free: 11.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6931, allocations: 0 / 0.5641 GB, free: 11.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.6932, allocations: 73.59 kB / 0.5641 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.6932, allocations: 7.953 kB / 0.5641 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6932, allocations: 0 / 0.5641 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6933, allocations: 0 / 0.5641 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.6934, allocations: 31.91 kB / 0.5642 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.6934, allocations: 0 / 0.5642 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.6935, allocations: 19.94 kB / 0.5642 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.6935, allocations: 3.984 kB / 0.5642 GB, free: 11.25 MB / 394.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 (7): * Single equations (assignments): 7 * 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.327e-05/0.6936, allocations: 110.2 kB / 0.5643 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.6937, allocations: 7.906 kB / 0.5643 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.6939, allocations: 94.53 kB / 0.5644 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6939, allocations: 0 / 0.5644 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6939, allocations: 8 kB / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6939, allocations: 0 / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.6943, allocations: 350.5 kB / 0.5647 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6943, allocations: 1.969 kB / 0.5647 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.6944, allocations: 31.92 kB / 0.5648 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6945, allocations: 0 / 0.5648 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.6945, allocations: 0 / 0.5648 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6945, allocations: 4 kB / 0.5648 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6945, allocations: 4 kB / 0.5648 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.6946, allocations: 175.4 kB / 0.5649 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.6947, allocations: 89 kB / 0.565 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.6947, allocations: 7.953 kB / 0.565 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6948, allocations: 15.98 kB / 0.565 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.6949, allocations: 0 / 0.565 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.6949, allocations: 8 kB / 0.5651 GB, free: 10.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.01e-05/0.695, allocations: 113.2 kB / 0.5652 GB, free: 10.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.695, allocations: 0 / 0.5652 GB, free: 10.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00028/0.6953, allocations: 27.92 kB / 0.5652 GB, free: 10.13 MB / 394.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 (7): * Single equations (assignments): 7 * 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.001207/0.6965, allocations: 1.011 MB / 0.5662 GB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.6966, allocations: 40 kB / 0.5662 GB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6967, allocations: 0 / 0.5662 GB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.56e-05/0.6967, allocations: 27.92 kB / 0.5662 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.6969, allocations: 25.2 kB / 0.5663 GB, free: 9.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.6974, allocations: 183.6 kB / 0.5664 GB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.6977, allocations: 0.6965 MB / 0.5671 GB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.604e-05/0.6978, allocations: 8.656 kB / 0.5671 GB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.6978, allocations: 31.36 kB / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6978, allocations: 4 kB / 0.5672 GB, free: 8.105 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.7128, allocations: 2.506 MB / 0.5696 GB, free: 5.637 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.7131, allocations: 194 kB / 0.5698 GB, free: 5.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.253, allocations: 0 / 0.5698 GB, free: 5.402 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat does not exist to compare? outputFormat=mat