Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002407/0.002406, allocations: 185.3 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001186/0.001185, allocations: 93.84 kB / 270.9 MB, free: 8.375 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.5458/0.5458, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004922, allocations: 16 kB / 431.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.6101, allocations: 87.28 MB / 0.5641 GB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.6104, allocations: 75.16 kB / 0.5641 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03048/0.6409, allocations: 8.116 MB / 0.5721 GB, free: 7.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.641, allocations: 0 / 0.5721 GB, free: 7.082 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.354e-05/0.641, allocations: 4 kB / 0.5721 GB, free: 7.078 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.0009466/0.642, allocations: 0.6287 MB / 0.5727 GB, free: 6.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.642, allocations: 8.031 kB / 0.5727 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.6421, allocations: 39.11 kB / 0.5727 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.6422, allocations: 39.44 kB / 0.5728 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.6428, allocations: 327.4 kB / 0.5731 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.6429, allocations: 8.547 kB / 0.5731 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.6429, allocations: 11.83 kB / 0.5731 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.6431, allocations: 58.7 kB / 0.5731 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6431, allocations: 0 / 0.5731 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6432, allocations: 4 kB / 0.5732 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6432, allocations: 7.891 kB / 0.5732 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.6434, allocations: 35.97 kB / 0.5732 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.6442, allocations: 444.7 kB / 0.5736 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.6445, allocations: 50.55 kB / 0.5737 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.6446, allocations: 0 / 0.5737 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.6446, allocations: 38.58 kB / 0.5737 GB, free: 5.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.6446, allocations: 0.6562 kB / 0.5737 GB, free: 5.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001024/0.6456, allocations: 267.9 kB / 0.574 GB, free: 4.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.6457, allocations: 51.41 kB / 0.574 GB, free: 4.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.6476, allocations: 0.7902 MB / 0.5748 GB, free: 4.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6476, allocations: 25.7 kB / 0.5748 GB, free: 4.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.6478, allocations: 238.6 kB / 0.575 GB, free: 3.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.6479, allocations: 15.75 kB / 0.575 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.6479, allocations: 7.938 kB / 0.5751 GB, free: 3.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.648, allocations: 314.8 kB / 0.5754 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.6482, allocations: 23.98 kB / 0.5754 GB, free: 3.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.6483, allocations: 27.97 kB / 0.5754 GB, free: 3.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.6485, allocations: 31.92 kB / 0.5754 GB, free: 3.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6485, allocations: 4 kB / 0.5754 GB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003459/0.6488, allocations: 85.67 kB / 0.5755 GB, free: 3.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6489, allocations: 7.953 kB / 0.5755 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6489, allocations: 0 / 0.5755 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6489, allocations: 0 / 0.5755 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6491, allocations: 16.23 kB / 0.5755 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6491, allocations: 4 kB / 0.5755 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.6493, allocations: 15.98 kB / 0.5756 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.6493, allocations: 0 / 0.5756 GB, free: 3.277 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002947/0.6496, allocations: 213.8 kB / 0.5758 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6497, allocations: 43.44 kB / 0.5758 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.6502, allocations: 157 kB / 0.576 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6502, allocations: 4 kB / 0.576 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6502, allocations: 3.984 kB / 0.576 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6502, allocations: 0 / 0.576 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.6515, allocations: 0.5921 MB / 0.5765 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.6515, allocations: 3.953 kB / 0.5765 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.6516, allocations: 19.92 kB / 0.5766 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.6517, allocations: 0 / 0.5766 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6517, allocations: 4 kB / 0.5766 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6517, allocations: 0 / 0.5766 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6517, allocations: 4 kB / 0.5766 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.6522, allocations: 223 kB / 0.5768 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.6525, allocations: 168.5 kB / 0.5769 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.6525, allocations: 4 kB / 0.577 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.6527, allocations: 7.984 kB / 0.577 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.6528, allocations: 8 kB / 0.577 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.6528, allocations: 0 / 0.577 GB, free: 1.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001223/0.654, allocations: 0.6471 MB / 0.5776 GB, free: 1.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.654, allocations: 0 / 0.5776 GB, free: 1.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004391/0.6545, allocations: 56 kB / 0.5777 GB, free: 1.031 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001862/0.6564, allocations: 1.072 MB / 0.5787 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.6567, allocations: 63.91 kB / 0.5788 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6568, allocations: 4 kB / 0.5788 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6569, allocations: 27.98 kB / 0.5788 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.6573, allocations: 30.23 kB / 0.5788 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.6624, allocations: 2.381 MB / 0.5811 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.6631, allocations: 0.8301 MB / 0.582 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.6634, allocations: 119.4 kB / 0.5821 GB, free: 12.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6634, allocations: 0 / 0.5821 GB, free: 12.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.682/3.346, allocations: 7.301 MB / 0.5892 GB, free: 5.172 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat