Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",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.002081/0.002081, allocations: 183.6 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.977/1.977, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009285/0.0009285, allocations: 85.58 kB / 267.1 MB, free: 9.27 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.5024/0.5024, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.38e-05/4.382e-05, allocations: 0 / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1539, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.6305, allocations: 87 MB / 0.5579 GB, free: 16.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.6308, allocations: 77.17 kB / 0.5579 GB, free: 16.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.6414, allocations: 4.302 MB / 0.5621 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6414, allocations: 0 / 0.5621 GB, free: 14.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.6414, allocations: 3.062 kB / 0.5621 GB, free: 14.54 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.0003186/0.6417, allocations: 383.3 kB / 0.5625 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6418, allocations: 12.03 kB / 0.5625 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.6418, allocations: 39 kB / 0.5625 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.6419, allocations: 7.844 kB / 0.5626 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.6421, allocations: 198.6 kB / 0.5627 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.6421, allocations: 3.375 kB / 0.5628 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.6421, allocations: 4 kB / 0.5628 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.6422, allocations: 64.36 kB / 0.5628 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6422, allocations: 0 / 0.5628 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.6422, allocations: 4 kB / 0.5628 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6423, allocations: 4 kB / 0.5628 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.6423, allocations: 13.56 kB / 0.5628 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.6426, allocations: 299.8 kB / 0.5631 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.6427, allocations: 35.36 kB / 0.5632 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.6427, allocations: 12.42 kB / 0.5632 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.6428, allocations: 8 kB / 0.5632 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.6428, allocations: 30.56 kB / 0.5632 GB, free: 13.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6428, allocations: 0 / 0.5632 GB, free: 13.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.6432, allocations: 145.3 kB / 0.5633 GB, free: 13.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6432, allocations: 78.42 kB / 0.5634 GB, free: 13.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6434, allocations: 136.7 kB / 0.5635 GB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6434, allocations: 29.7 kB / 0.5636 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.6434, allocations: 90.89 kB / 0.5637 GB, free: 12.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.6434, allocations: 21 kB / 0.5637 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.6434, allocations: 0 / 0.5637 GB, free: 12.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.6435, allocations: 321.4 kB / 0.564 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-05/0.6435, allocations: 15.56 kB / 0.564 GB, free: 12.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.6436, allocations: 30.67 kB / 0.564 GB, free: 12.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.6436, allocations: 24.39 kB / 0.5641 GB, free: 12.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6436, allocations: 0 / 0.5641 GB, free: 12.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001286/0.6438, allocations: 71.84 kB / 0.5641 GB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6438, allocations: 7.953 kB / 0.5641 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6438, allocations: 0 / 0.5641 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.6438, allocations: 4 kB / 0.5641 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.6439, allocations: 20.69 kB / 0.5642 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6439, allocations: 0 / 0.5642 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.644, allocations: 27.11 kB / 0.5642 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.644, allocations: 3.688 kB / 0.5642 GB, free: 12.44 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 4.374e-05/0.6441, allocations: 109.8 kB / 0.5643 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.6441, allocations: 7.906 kB / 0.5643 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.6443, allocations: 96.38 kB / 0.5644 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6443, allocations: 0 / 0.5644 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6443, allocations: 4.141 kB / 0.5644 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6443, allocations: 3.984 kB / 0.5644 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.6446, allocations: 361.5 kB / 0.5647 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6446, allocations: 0 / 0.5647 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.772e-05/0.6447, allocations: 24.83 kB / 0.5648 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6447, allocations: 0 / 0.5648 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6447, allocations: 4 kB / 0.5648 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6447, allocations: 0 / 0.5648 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6447, allocations: 4 kB / 0.5648 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.6448, allocations: 170.7 kB / 0.5649 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.6449, allocations: 92.25 kB / 0.565 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.6449, allocations: 3.953 kB / 0.565 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.645, allocations: 15.83 kB / 0.565 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.6451, allocations: 11 kB / 0.5651 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.6451, allocations: 3.625 kB / 0.5651 GB, free: 11.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.6451, allocations: 108.5 kB / 0.5652 GB, free: 11.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.122e-06/0.6451, allocations: 0 / 0.5652 GB, free: 11.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.6454, allocations: 30.25 kB / 0.5652 GB, free: 11.46 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.001064/0.6465, allocations: 1.007 MB / 0.5662 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.6466, allocations: 43.72 kB / 0.5662 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6466, allocations: 0 / 0.5662 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.6466, allocations: 27.12 kB / 0.5662 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.6469, allocations: 23.44 kB / 0.5663 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.6473, allocations: 179.9 kB / 0.5664 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.6475, allocations: 0.6955 MB / 0.5671 GB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.6475, allocations: 8.047 kB / 0.5671 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.6476, allocations: 29.7 kB / 0.5671 GB, free: 9.562 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6476, allocations: 4 kB / 0.5672 GB, free: 9.559 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.6618, allocations: 2.523 MB / 0.5696 GB, free: 7.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.6622, allocations: 190 kB / 0.5698 GB, free: 7.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.122, allocations: 4 kB / 0.5698 GB, free: 7.266 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat does not exist to compare? outputFormat=mat