Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.001035/0.001035, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.519/1.519, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007475/0.0007472, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1975/0.1975, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 58.86 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.5111, allocations: 86.43 MB / 0.5633 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5114, allocations: 74.78 kB / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007095/0.5185, allocations: 3.165 MB / 0.5664 GB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5186, allocations: 0 / 0.5664 GB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.5186, allocations: 0 / 0.5664 GB, free: 10.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003459/0.5189, allocations: 369.7 kB / 0.5668 GB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.519, allocations: 8.031 kB / 0.5668 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.519, allocations: 43.3 kB / 0.5668 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.5191, allocations: 12.2 kB / 0.5668 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.5192, allocations: 166.5 kB / 0.567 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5193, allocations: 8 kB / 0.567 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.5193, allocations: 11.48 kB / 0.567 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.5195, allocations: 185.6 kB / 0.5672 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5195, allocations: 4 kB / 0.5672 GB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5196, allocations: 7.922 kB / 0.5672 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.5196, allocations: 19.25 kB / 0.5672 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.5197, allocations: 57.09 kB / 0.5673 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009558/0.5206, allocations: 1.702 MB / 0.5689 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.5207, allocations: 172.8 kB / 0.5691 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5208, allocations: 75.28 kB / 0.5692 GB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.5208, allocations: 109.8 kB / 0.5693 GB, free: 7.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5208, allocations: 0 / 0.5693 GB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.9e-05/0.5209, allocations: 37.55 kB / 0.5693 GB, free: 7.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.521, allocations: 134.6 kB / 0.5694 GB, free: 7.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.5211, allocations: 171.4 kB / 0.5696 GB, free: 7.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5212, allocations: 25.7 kB / 0.5696 GB, free: 7.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.5213, allocations: 146 kB / 0.5698 GB, free: 7.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.5213, allocations: 7.984 kB / 0.5698 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/0.5213, allocations: 3.75 kB / 0.5698 GB, free: 7.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5214, allocations: 318.4 kB / 0.5701 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.5215, allocations: 31.22 kB / 0.5701 GB, free: 6.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.5216, allocations: 159.5 kB / 0.5703 GB, free: 6.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.5217, allocations: 66.45 kB / 0.5703 GB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5217, allocations: 0 / 0.5703 GB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002832/0.522, allocations: 201.2 kB / 0.5705 GB, free: 6.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.522, allocations: 8 kB / 0.5705 GB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.522, allocations: 7.938 kB / 0.5705 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.522, allocations: 4 kB / 0.5705 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.5222, allocations: 40.55 kB / 0.5706 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.5222, allocations: 7.938 kB / 0.5706 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.5223, allocations: 27.19 kB / 0.5706 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.5223, allocations: 15.98 kB / 0.5706 GB, free: 6.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001259/0.5224, allocations: 215.6 kB / 0.5708 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.5225, allocations: 116.8 kB / 0.5709 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.5226, allocations: 112.8 kB / 0.5711 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.454e-05/0.5227, allocations: 179 kB / 0.5712 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.372e-05/0.5227, allocations: 188.1 kB / 0.5714 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/0.5228, allocations: 184.2 kB / 0.5716 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.5231, allocations: 416.2 kB / 0.572 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/0.5231, allocations: 108.9 kB / 0.5721 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.5232, allocations: 101 kB / 0.5722 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.451e-05/0.5232, allocations: 188.2 kB / 0.5724 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.5233, allocations: 187.8 kB / 0.5725 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/0.5234, allocations: 176.3 kB / 0.5727 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.438e-05/0.5234, allocations: 184.1 kB / 0.5729 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.5236, allocations: 318.8 kB / 0.5732 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.5237, allocations: 186 kB / 0.5734 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.5238, allocations: 184.2 kB / 0.5735 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.5239, allocations: 108.9 kB / 0.5736 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.524, allocations: 183.6 kB / 0.5738 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.524, allocations: 104.9 kB / 0.5739 GB, free: 2.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.5242, allocations: 137.5 kB / 0.574 GB, free: 2.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5242, allocations: 0 / 0.574 GB, free: 2.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000308/0.5245, allocations: 12 kB / 0.5741 GB, free: 2.492 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0009582/0.5255, allocations: 0.92 MB / 0.575 GB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.5256, allocations: 70.7 kB / 0.575 GB, free: 1.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5256, allocations: 3.938 kB / 0.575 GB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.5256, allocations: 0 / 0.575 GB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.526, allocations: 0.535 MB / 0.5755 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5281, allocations: 3.623 MB / 0.5791 GB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.5284, allocations: 0.712 MB / 0.5798 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.5285, allocations: 45.03 kB / 0.5798 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5286, allocations: 29.98 kB / 0.5799 GB, free: 12.5 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5286, allocations: 0 / 0.5799 GB, free: 12.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.5425, allocations: 1.974 MB / 0.5818 GB, free: 10.55 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.5428, allocations: 215.7 kB / 0.582 GB, free: 10.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.092, allocations: 0 / 0.582 GB, free: 10.31 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat does not exist to compare? outputFormat=mat