Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20",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.002193/0.002193, allocations: 178.4 kB / 8.362 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.149/2.149, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001126/0.001126, allocations: 85.72 kB / 262.1 MB, free: 13.88 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.2918/0.2918, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.242e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4075, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5718, allocations: 87.84 MB / 0.5518 GB, free: 11.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5721, allocations: 75.94 kB / 0.5518 GB, free: 11.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03641/0.6086, allocations: 8.309 MB / 0.56 GB, free: 2.957 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6086, allocations: 4 kB / 0.56 GB, free: 2.953 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.566e-05/0.6087, allocations: 11.94 kB / 0.56 GB, free: 2.941 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.0008346/0.6095, allocations: 0.5488 MB / 0.5605 GB, free: 2.348 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6096, allocations: 12.03 kB / 0.5605 GB, free: 2.336 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.6097, allocations: 39.48 kB / 0.5606 GB, free: 2.297 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.6105, allocations: 347.3 kB / 0.5609 GB, free: 1.918 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.6105, allocations: 4 kB / 0.5609 GB, free: 1.914 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.6106, allocations: 11.98 kB / 0.5609 GB, free: 1.902 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001897/0.6108, allocations: 52 kB / 0.561 GB, free: 1.852 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.611, allocations: 92.44 kB / 0.561 GB, free: 1.758 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6111, allocations: 3.906 kB / 0.5611 GB, free: 1.754 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6111, allocations: 0 / 0.5611 GB, free: 1.754 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6111, allocations: 7.953 kB / 0.5611 GB, free: 1.746 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.6121, allocations: 472.9 kB / 0.5615 GB, free: 1.246 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.6123, allocations: 78.56 kB / 0.5616 GB, free: 1.16 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.196e-05/0.6124, allocations: 25.08 kB / 0.5616 GB, free: 1.133 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.6124, allocations: 7.938 kB / 0.5616 GB, free: 1.125 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.6125, allocations: 34.55 kB / 0.5616 GB, free: 1.082 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.6125, allocations: 3.938 kB / 0.5617 GB, free: 1.078 MB / 395.1 MB Notification: Performance of matching and sorting (n=17): time 0.001054/0.6135, allocations: 304.6 kB / 0.5619 GB, free: 0.7734 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.6136, allocations: 59.34 kB / 0.562 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.6145, allocations: 469.2 kB / 0.5624 GB, free: 244 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.6145, allocations: 25.7 kB / 0.5625 GB, free: 212 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.6147, allocations: 238.8 kB / 0.5627 GB, free: 15.97 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.6148, allocations: 55.2 kB / 0.5628 GB, free: 15.91 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.6148, allocations: 0 / 0.5628 GB, free: 15.91 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.615, allocations: 326.7 kB / 0.5631 GB, free: 15.59 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.6151, allocations: 40 kB / 0.5631 GB, free: 15.55 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.6152, allocations: 39.12 kB / 0.5631 GB, free: 15.51 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.6154, allocations: 43.89 kB / 0.5632 GB, free: 15.47 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6154, allocations: 0 / 0.5632 GB, free: 15.47 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000358/0.6157, allocations: 129.6 kB / 0.5633 GB, free: 15.34 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.6158, allocations: 7.938 kB / 0.5633 GB, free: 15.33 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6158, allocations: 3.984 kB / 0.5633 GB, free: 15.32 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.6158, allocations: 4 kB / 0.5633 GB, free: 15.32 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.6161, allocations: 39.92 kB / 0.5634 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.6162, allocations: 4 kB / 0.5634 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.6164, allocations: 8 kB / 0.5634 GB, free: 15.27 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.6164, allocations: 7.984 kB / 0.5634 GB, free: 15.26 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.0001071/0.6165, allocations: 104.9 kB / 0.5635 GB, free: 15.15 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004309/0.617, allocations: 170.3 kB / 0.5636 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.6171, allocations: 35.53 kB / 0.5637 GB, free: 14.95 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.6177, allocations: 210.6 kB / 0.5639 GB, free: 14.73 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6177, allocations: 4 kB / 0.5639 GB, free: 14.73 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6177, allocations: 0 / 0.5639 GB, free: 14.73 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6177, allocations: 3.984 kB / 0.5639 GB, free: 14.72 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.619, allocations: 0.6118 MB / 0.5645 GB, free: 14.07 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6191, allocations: 0 / 0.5645 GB, free: 14.07 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.6193, allocations: 39.92 kB / 0.5645 GB, free: 14.03 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6194, allocations: 0 / 0.5645 GB, free: 14.03 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.6194, allocations: 8 kB / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6194, allocations: 3.953 kB / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6194, allocations: 0 / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.62, allocations: 266.4 kB / 0.5648 GB, free: 13.75 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.6202, allocations: 140.6 kB / 0.5649 GB, free: 13.59 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.6203, allocations: 11.98 kB / 0.5649 GB, free: 13.58 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.6205, allocations: 12 kB / 0.5649 GB, free: 13.57 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.6206, allocations: 11.94 kB / 0.565 GB, free: 13.55 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.6206, allocations: 4 kB / 0.565 GB, free: 13.55 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.6213, allocations: 382.9 kB / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6213, allocations: 0 / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.6219, allocations: 67.78 kB / 0.5654 GB, free: 13.11 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.002578/0.6245, allocations: 1.287 MB / 0.5666 GB, free: 11.86 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.6249, allocations: 96 kB / 0.5667 GB, free: 11.77 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6249, allocations: 0 / 0.5667 GB, free: 11.77 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.625, allocations: 59.92 kB / 0.5668 GB, free: 11.71 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.6258, allocations: 65.62 kB / 0.5669 GB, free: 11.64 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6276, allocations: 0.6474 MB / 0.5675 GB, free: 10.95 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.6282, allocations: 0.8179 MB / 0.5683 GB, free: 10.11 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.6285, allocations: 127.4 kB / 0.5684 GB, free: 9.984 MB / 411.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6286, allocations: 0 / 0.5684 GB, free: 9.984 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.039/3.668, allocations: 6.292 MB / 0.5745 GB, free: 3.684 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat