Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",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.001496/0.001496, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3053/0.3053, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.161e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4014, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.5725, allocations: 87.98 MB / 0.5519 GB, free: 11.21 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5728, allocations: 71.97 kB / 0.552 GB, free: 11.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0441/0.6169, allocations: 8.823 MB / 0.5606 GB, free: 2.309 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.617, allocations: 0 / 0.5606 GB, free: 2.309 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.617, allocations: 11.88 kB / 0.5606 GB, free: 2.297 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009078/0.618, allocations: 0.5491 MB / 0.5612 GB, free: 1.703 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.618, allocations: 8.031 kB / 0.5612 GB, free: 1.695 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.6182, allocations: 43.48 kB / 0.5612 GB, free: 1.652 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.619, allocations: 351.3 kB / 0.5615 GB, free: 1.27 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6191, allocations: 4 kB / 0.5615 GB, free: 1.266 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.6191, allocations: 8 kB / 0.5616 GB, free: 1.258 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002057/0.6193, allocations: 51.98 kB / 0.5616 GB, free: 1.207 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.6196, allocations: 84.52 kB / 0.5617 GB, free: 1.121 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6196, allocations: 3.906 kB / 0.5617 GB, free: 1.117 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.6196, allocations: 4 kB / 0.5617 GB, free: 1.113 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6196, allocations: 7.891 kB / 0.5617 GB, free: 1.105 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.6207, allocations: 476.9 kB / 0.5622 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.6209, allocations: 82.48 kB / 0.5622 GB, free: 0.5117 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.621, allocations: 29.06 kB / 0.5623 GB, free: 492 kB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.621, allocations: 7.938 kB / 0.5623 GB, free: 484 kB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.6211, allocations: 38.56 kB / 0.5623 GB, free: 436 kB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 3.136e-06/0.6211, allocations: 0 / 0.5623 GB, free: 436 kB / 395.1 MB Notification: Performance of matching and sorting (n=17): time 0.001125/0.6222, allocations: 311.9 kB / 0.5626 GB, free: 116 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.6223, allocations: 51.41 kB / 0.5626 GB, free: 52 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009721/0.6233, allocations: 473.2 kB / 0.5631 GB, free: 15.59 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.6233, allocations: 25.7 kB / 0.5631 GB, free: 15.55 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.6235, allocations: 238.8 kB / 0.5634 GB, free: 15.32 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.6236, allocations: 55.19 kB / 0.5634 GB, free: 15.27 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.6237, allocations: 0 / 0.5634 GB, free: 15.27 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6238, allocations: 322.8 kB / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.6239, allocations: 32 kB / 0.5637 GB, free: 14.91 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.6241, allocations: 38.97 kB / 0.5638 GB, free: 14.88 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.6243, allocations: 55.81 kB / 0.5638 GB, free: 14.82 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6243, allocations: 0 / 0.5638 GB, free: 14.82 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003943/0.6247, allocations: 129.6 kB / 0.564 GB, free: 14.69 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6247, allocations: 11.94 kB / 0.564 GB, free: 14.68 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6247, allocations: 0 / 0.564 GB, free: 14.68 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.6248, allocations: 0 / 0.564 GB, free: 14.68 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.6251, allocations: 35.98 kB / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6251, allocations: 0 / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.6253, allocations: 11.98 kB / 0.564 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.6254, allocations: 4 kB / 0.564 GB, free: 14.62 MB / 411.1 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 (17): * Single equations (assignments): 17 * 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.000108/0.6255, allocations: 112.9 kB / 0.5641 GB, free: 14.51 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000421/0.6259, allocations: 166.4 kB / 0.5643 GB, free: 14.34 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.626, allocations: 39.53 kB / 0.5643 GB, free: 14.3 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.6266, allocations: 210.5 kB / 0.5645 GB, free: 14.09 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.6267, allocations: 0 / 0.5645 GB, free: 14.09 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.6267, allocations: 4 kB / 0.5645 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6267, allocations: 0 / 0.5645 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.628, allocations: 0.6158 MB / 0.5651 GB, free: 13.42 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6281, allocations: 0 / 0.5651 GB, free: 13.42 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.6283, allocations: 39.98 kB / 0.5652 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6284, allocations: 0 / 0.5652 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.6284, allocations: 0 / 0.5652 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.6284, allocations: 11.94 kB / 0.5652 GB, free: 13.37 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6284, allocations: 3.938 kB / 0.5652 GB, free: 13.37 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.629, allocations: 270.3 kB / 0.5654 GB, free: 13.09 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.6292, allocations: 144.6 kB / 0.5656 GB, free: 12.93 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.6293, allocations: 4 kB / 0.5656 GB, free: 12.93 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.6295, allocations: 8 kB / 0.5656 GB, free: 12.92 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.6296, allocations: 19.92 kB / 0.5656 GB, free: 12.9 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.6296, allocations: 11.98 kB / 0.5656 GB, free: 12.89 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.6303, allocations: 370.9 kB / 0.566 GB, free: 12.53 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6303, allocations: 0 / 0.566 GB, free: 12.53 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.6308, allocations: 71.77 kB / 0.566 GB, free: 12.46 MB / 411.1 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 (17): * Single equations (assignments): 17 * 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.002499/0.6334, allocations: 1.267 MB / 0.5673 GB, free: 11.22 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.6338, allocations: 99.94 kB / 0.5674 GB, free: 11.12 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6338, allocations: 4 kB / 0.5674 GB, free: 11.12 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.6339, allocations: 59.92 kB / 0.5674 GB, free: 11.06 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.6347, allocations: 73.61 kB / 0.5675 GB, free: 10.99 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.6367, allocations: 0.6474 MB / 0.5681 GB, free: 10.3 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.6373, allocations: 0.814 MB / 0.5689 GB, free: 9.461 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.6377, allocations: 119.4 kB / 0.569 GB, free: 9.344 MB / 411.1 MB Notification: Performance of SimCode: time 1.372e-06/0.6377, allocations: 0 / 0.569 GB, free: 9.344 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.841/3.479, allocations: 6.296 MB / 0.5752 GB, free: 3.039 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat