Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22",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.002115/0.002115, allocations: 181.3 kB / 8.366 MB, free: 0.7109 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.161/2.161, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001599/0.001599, allocations: 92.88 kB / 262.1 MB, free: 13.86 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.3087/0.3087, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.443e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4284, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5963, allocations: 87.29 MB / 0.5512 GB, free: 11.9 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5966, allocations: 71.97 kB / 0.5513 GB, free: 11.83 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03628/0.6329, allocations: 8.339 MB / 0.5595 GB, free: 3.473 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.633, allocations: 0 / 0.5595 GB, free: 3.473 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.55e-05/0.6331, allocations: 8 kB / 0.5595 GB, free: 3.465 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001112/0.6342, allocations: 0.6149 MB / 0.5601 GB, free: 2.805 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/0.6343, allocations: 12.03 kB / 0.5601 GB, free: 2.793 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.6345, allocations: 55.3 kB / 0.5601 GB, free: 2.738 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6358, allocations: 463 kB / 0.5606 GB, free: 2.246 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.6358, allocations: 4 kB / 0.5606 GB, free: 2.242 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.6359, allocations: 11.97 kB / 0.5606 GB, free: 2.23 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002034/0.6361, allocations: 48 kB / 0.5606 GB, free: 2.184 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.6364, allocations: 113 kB / 0.5607 GB, free: 2.062 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.6364, allocations: 0 / 0.5607 GB, free: 2.062 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.6364, allocations: 3.953 kB / 0.5607 GB, free: 2.059 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6365, allocations: 15.92 kB / 0.5608 GB, free: 2.043 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6381, allocations: 0.665 MB / 0.5614 GB, free: 1.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.6384, allocations: 93.2 kB / 0.5615 GB, free: 1.227 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.6385, allocations: 33.84 kB / 0.5615 GB, free: 1.188 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.6386, allocations: 0 / 0.5615 GB, free: 1.188 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6386, allocations: 34.55 kB / 0.5616 GB, free: 1.145 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.235e-06/0.6386, allocations: 4 kB / 0.5616 GB, free: 1.141 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001696/0.6403, allocations: 426.3 kB / 0.562 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.6404, allocations: 77.11 kB / 0.562 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.642, allocations: 0.7404 MB / 0.5628 GB, free: 15.88 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.6421, allocations: 25.7 kB / 0.5628 GB, free: 15.84 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.6424, allocations: 274.7 kB / 0.5631 GB, free: 15.57 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.6425, allocations: 47.27 kB / 0.5631 GB, free: 15.52 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.6425, allocations: 0 / 0.5631 GB, free: 15.52 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6427, allocations: 322.8 kB / 0.5634 GB, free: 15.2 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6428, allocations: 39.94 kB / 0.5634 GB, free: 15.16 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.643, allocations: 45.7 kB / 0.5635 GB, free: 15.11 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.6432, allocations: 43.97 kB / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6432, allocations: 0 / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004014/0.6436, allocations: 125.6 kB / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6436, allocations: 8 kB / 0.5637 GB, free: 14.93 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.6436, allocations: 4 kB / 0.5637 GB, free: 14.93 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6437, allocations: 0 / 0.5637 GB, free: 14.93 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.6441, allocations: 39.97 kB / 0.5637 GB, free: 14.89 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.6441, allocations: 3.984 kB / 0.5637 GB, free: 14.88 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.6444, allocations: 12 kB / 0.5637 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.6445, allocations: 11.98 kB / 0.5637 GB, free: 14.86 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001206/0.6446, allocations: 116.9 kB / 0.5638 GB, free: 14.74 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000511/0.6451, allocations: 169.4 kB / 0.564 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.6453, allocations: 55.34 kB / 0.5641 GB, free: 14.51 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.646, allocations: 222.1 kB / 0.5643 GB, free: 14.28 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.6461, allocations: 4 kB / 0.5643 GB, free: 14.28 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6461, allocations: 0 / 0.5643 GB, free: 14.28 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.6461, allocations: 7.953 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.6478, allocations: 0.7635 MB / 0.565 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6479, allocations: 4.109 kB / 0.565 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.6482, allocations: 47.89 kB / 0.5651 GB, free: 13.41 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6483, allocations: 4 kB / 0.5651 GB, free: 13.41 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.6483, allocations: 3.953 kB / 0.5651 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.6483, allocations: 4 kB / 0.5651 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6483, allocations: 0 / 0.5651 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.649, allocations: 371.7 kB / 0.5654 GB, free: 13.01 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.6494, allocations: 180.3 kB / 0.5656 GB, free: 12.82 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.6495, allocations: 3.953 kB / 0.5656 GB, free: 12.81 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.6498, allocations: 15.98 kB / 0.5656 GB, free: 12.8 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.6499, allocations: 19.97 kB / 0.5656 GB, free: 12.78 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.65, allocations: 4 kB / 0.5657 GB, free: 12.77 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.6512, allocations: 0.577 MB / 0.5662 GB, free: 12.2 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6512, allocations: 0 / 0.5662 GB, free: 12.2 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006582/0.6519, allocations: 71.92 kB / 0.5663 GB, free: 12.13 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002045/0.654, allocations: 1.203 MB / 0.5675 GB, free: 10.95 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.6544, allocations: 99.91 kB / 0.5676 GB, free: 10.85 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6544, allocations: 0 / 0.5676 GB, free: 10.85 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.6546, allocations: 55.94 kB / 0.5676 GB, free: 10.79 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008142/0.6554, allocations: 68.27 kB / 0.5677 GB, free: 10.73 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.6579, allocations: 0.84 MB / 0.5685 GB, free: 9.844 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6587, allocations: 0.8692 MB / 0.5693 GB, free: 8.949 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.6592, allocations: 163.3 kB / 0.5695 GB, free: 8.789 MB / 411.1 MB Notification: Performance of SimCode: time 1.674e-06/0.6592, allocations: 0 / 0.5695 GB, free: 8.789 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.791/3.45, allocations: 7.991 MB / 0.5773 GB, free: 0.793 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat