Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002315/0.002315, allocations: 185.2 kB / 16.41 MB, free: 5.727 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.27/2.27, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001177/0.001176, allocations: 99.33 kB / 270.9 MB, free: 8.398 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.5325/0.5325, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 8 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.6273, allocations: 87.22 MB / 0.564 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.6276, allocations: 75.94 kB / 0.5641 GB, free: 15.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03267/0.6603, allocations: 8.162 MB / 0.572 GB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6604, allocations: 0 / 0.572 GB, free: 7.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.6604, allocations: 4 kB / 0.572 GB, free: 7.145 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.001093/0.6615, allocations: 0.6366 MB / 0.5727 GB, free: 6.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.6616, allocations: 12.03 kB / 0.5727 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.6617, allocations: 35.11 kB / 0.5727 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.6618, allocations: 43.44 kB / 0.5728 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.6625, allocations: 335.2 kB / 0.5731 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6625, allocations: 0.5469 kB / 0.5731 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.6626, allocations: 8 kB / 0.5731 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.6629, allocations: 66.64 kB / 0.5731 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6629, allocations: 4 kB / 0.5732 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.6629, allocations: 3.984 kB / 0.5732 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6629, allocations: 7.891 kB / 0.5732 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.6632, allocations: 43.97 kB / 0.5732 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.6643, allocations: 452.7 kB / 0.5736 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.6645, allocations: 58.48 kB / 0.5737 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.466e-05/0.6646, allocations: 0 / 0.5737 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.6646, allocations: 39.02 kB / 0.5737 GB, free: 5.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.6646, allocations: 0 / 0.5737 GB, free: 5.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00159/0.6662, allocations: 344 kB / 0.5741 GB, free: 4.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.6663, allocations: 52.44 kB / 0.5741 GB, free: 4.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.6684, allocations: 0.7863 MB / 0.5749 GB, free: 4.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.6685, allocations: 29.7 kB / 0.5749 GB, free: 4.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.6687, allocations: 234.6 kB / 0.5751 GB, free: 3.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.6688, allocations: 27.64 kB / 0.5752 GB, free: 3.762 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.6688, allocations: 0 / 0.5752 GB, free: 3.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.669, allocations: 310.8 kB / 0.5755 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.6692, allocations: 47.97 kB / 0.5755 GB, free: 3.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.6695, allocations: 47.97 kB / 0.5755 GB, free: 3.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.6698, allocations: 47.97 kB / 0.5756 GB, free: 3.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6698, allocations: 0 / 0.5756 GB, free: 3.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005694/0.6704, allocations: 145.4 kB / 0.5757 GB, free: 3.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6704, allocations: 7.953 kB / 0.5757 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.6704, allocations: 0 / 0.5757 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6704, allocations: 0 / 0.5757 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6707, allocations: 31.98 kB / 0.5758 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.6707, allocations: 0 / 0.5758 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6709, allocations: 19.98 kB / 0.5758 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.671, allocations: 0 / 0.5758 GB, free: 3.102 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 (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 0.0004076/0.6714, allocations: 217.8 kB / 0.576 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6715, allocations: 39.53 kB / 0.576 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.6723, allocations: 213.5 kB / 0.5762 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6723, allocations: 0 / 0.5762 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6724, allocations: 4 kB / 0.5762 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.6724, allocations: 0 / 0.5762 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.674, allocations: 0.6545 MB / 0.5769 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.674, allocations: 3.953 kB / 0.5769 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.6742, allocations: 27.92 kB / 0.5769 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6742, allocations: 4 kB / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.6743, allocations: 0 / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6743, allocations: 0 / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6743, allocations: 0 / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.675, allocations: 270.9 kB / 0.5772 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.6754, allocations: 164.6 kB / 0.5773 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.6754, allocations: 0 / 0.5773 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.6757, allocations: 15.98 kB / 0.5773 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.6757, allocations: 11.98 kB / 0.5774 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.6758, allocations: 3.938 kB / 0.5774 GB, free: 1.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.6771, allocations: 0.6355 MB / 0.578 GB, free: 0.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6771, allocations: 4 kB / 0.578 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004811/0.6776, allocations: 67.92 kB / 0.578 GB, free: 0.6797 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 (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.002322/0.6799, allocations: 1.106 MB / 0.5791 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.6806, allocations: 111.9 kB / 0.5792 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6806, allocations: 0 / 0.5792 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.6809, allocations: 55.97 kB / 0.5793 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.6813, allocations: 25.89 kB / 0.5793 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.6871, allocations: 2.472 MB / 0.5817 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.6878, allocations: 0.834 MB / 0.5825 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.6881, allocations: 131.6 kB / 0.5827 GB, free: 11.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6882, allocations: 0 / 0.5827 GB, free: 11.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.821/3.509, allocations: 7.448 MB / 0.5899 GB, free: 4.465 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat