Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001468/0.001468, allocations: 186 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.057/2.057, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001162/0.001162, allocations: 101.6 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.5456/0.5456, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005465, allocations: 16 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1402, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4889/0.6292, allocations: 88.36 MB / 0.5651 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.6295, allocations: 75.97 kB / 0.5652 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05714/0.6867, allocations: 9.024 MB / 0.574 GB, free: 5.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.132e-06/0.6868, allocations: 0 / 0.574 GB, free: 5.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.55e-05/0.6869, allocations: 15.94 kB / 0.574 GB, free: 5.129 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002406/0.6893, allocations: 0.7765 MB / 0.5748 GB, free: 4.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.6894, allocations: 11.97 kB / 0.5748 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.6895, allocations: 42.55 kB / 0.5748 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.6898, allocations: 59.25 kB / 0.5749 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.6916, allocations: 486.9 kB / 0.5753 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.6917, allocations: 12 kB / 0.5754 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.6918, allocations: 13.03 kB / 0.5754 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.6926, allocations: 168.2 kB / 0.5755 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.6926, allocations: 0 / 0.5755 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.6927, allocations: 7.953 kB / 0.5755 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6927, allocations: 8 kB / 0.5755 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.6936, allocations: 131.8 kB / 0.5757 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.6964, allocations: 0.7542 MB / 0.5764 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.6971, allocations: 145.1 kB / 0.5765 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.6972, allocations: 7.984 kB / 0.5766 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6973, allocations: 34.56 kB / 0.5766 GB, free: 2.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 6.052e-06/0.6973, allocations: 7.922 kB / 0.5766 GB, free: 2.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.005615/0.7029, allocations: 0.8063 MB / 0.5774 GB, free: 1.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.7031, allocations: 89.03 kB / 0.5775 GB, free: 1.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.7059, allocations: 0.8 MB / 0.5782 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.303e-05/0.7061, allocations: 29.7 kB / 0.5783 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.7065, allocations: 274.7 kB / 0.5785 GB, free: 272 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.7066, allocations: 63.09 kB / 0.5786 GB, free: 208 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.7067, allocations: 4 kB / 0.5786 GB, free: 204 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.7069, allocations: 318.8 kB / 0.5789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.7078, allocations: 127.9 kB / 0.579 GB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009302/0.7088, allocations: 145.6 kB / 0.5792 GB, free: 15.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.7097, allocations: 127.9 kB / 0.5793 GB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7097, allocations: 0 / 0.5793 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001882/0.7116, allocations: 333.5 kB / 0.5796 GB, free: 15.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.7117, allocations: 11.95 kB / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7117, allocations: 0 / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.7117, allocations: 4 kB / 0.5796 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.7125, allocations: 63.88 kB / 0.5797 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.7125, allocations: 0 / 0.5797 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/0.7133, allocations: 35.98 kB / 0.5797 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.7133, allocations: 7.984 kB / 0.5797 GB, free: 15.03 MB / 410.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0006514/0.714, allocations: 217.8 kB / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.7144, allocations: 59.98 kB / 0.58 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.7168, allocations: 441.9 kB / 0.5804 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.7169, allocations: 7.984 kB / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.7169, allocations: 0 / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.7169, allocations: 0 / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/0.7213, allocations: 1.056 MB / 0.5814 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7214, allocations: 4 kB / 0.5815 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.7221, allocations: 63.94 kB / 0.5815 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.7221, allocations: 4 kB / 0.5815 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.7222, allocations: 4.469 kB / 0.5815 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.7222, allocations: 4 kB / 0.5815 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7222, allocations: 0 / 0.5815 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.7246, allocations: 0.5541 MB / 0.5821 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.7251, allocations: 188.3 kB / 0.5822 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.7254, allocations: 4 kB / 0.5823 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.7261, allocations: 35.97 kB / 0.5823 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.7262, allocations: 19.97 kB / 0.5823 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.7263, allocations: 4 kB / 0.5823 GB, free: 12.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002053/0.7284, allocations: 0.6396 MB / 0.5829 GB, free: 11.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.7284, allocations: 0 / 0.5829 GB, free: 11.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001241/0.7297, allocations: 80 kB / 0.583 GB, free: 11.55 MB / 410.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.004585/0.7343, allocations: 1.478 MB / 0.5845 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.7362, allocations: 291.7 kB / 0.5847 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7362, allocations: 4 kB / 0.5847 GB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006583/0.7369, allocations: 151.8 kB / 0.5849 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.7377, allocations: 70.95 kB / 0.5849 GB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.747, allocations: 3.661 MB / 0.5885 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.7478, allocations: 0.8889 MB / 0.5894 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.7483, allocations: 179.4 kB / 0.5896 GB, free: 4.816 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/0.7484, allocations: 3.938 kB / 0.5896 GB, free: 4.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.864/3.612, allocations: 9.151 MB / 0.5985 GB, free: 11.66 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat