Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 88.22 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.18e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5399/0.7043, allocations: 88.85 MB / 0.5815 GB, free: 7.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.7046, allocations: 75.95 kB / 0.5816 GB, free: 7.445 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.7273, allocations: 8.807 MB / 0.5902 GB, free: 14.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.49e-06/0.7274, allocations: 0 / 0.5902 GB, free: 14.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.7274, allocations: 15.94 kB / 0.5902 GB, free: 14.62 MB / 410.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.0007581/0.7282, allocations: 0.6206 MB / 0.5908 GB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7283, allocations: 19.97 kB / 0.5908 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.7284, allocations: 51.34 kB / 0.5909 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.729, allocations: 467 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7291, allocations: 4 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.7291, allocations: 4 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001379/0.7292, allocations: 55.92 kB / 0.5914 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.7294, allocations: 107.1 kB / 0.5915 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7294, allocations: 4 kB / 0.5915 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.7295, allocations: 0 / 0.5915 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.7295, allocations: 0 / 0.5915 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.7304, allocations: 0.6663 MB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.7305, allocations: 101.2 kB / 0.5922 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.7306, allocations: 29.84 kB / 0.5923 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.7306, allocations: 7.953 kB / 0.5923 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.7306, allocations: 30.56 kB / 0.5923 GB, free: 12.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.7306, allocations: 0 / 0.5923 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009754/0.7316, allocations: 426.3 kB / 0.5927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.7317, allocations: 77.11 kB / 0.5928 GB, free: 11.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.7325, allocations: 0.7404 MB / 0.5935 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.7326, allocations: 25.7 kB / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.7328, allocations: 256.1 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.7328, allocations: 51.2 kB / 0.5938 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.7329, allocations: 4 kB / 0.5938 GB, free: 10.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.733, allocations: 370.8 kB / 0.5942 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.7331, allocations: 32 kB / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.7332, allocations: 52.09 kB / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.7333, allocations: 47.91 kB / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.7333, allocations: 0 / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002656/0.7336, allocations: 177.1 kB / 0.5945 GB, free: 10 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7336, allocations: 4 kB / 0.5945 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7336, allocations: 8 kB / 0.5945 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7336, allocations: 4 kB / 0.5945 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.7338, allocations: 43.91 kB / 0.5945 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.7339, allocations: 320 / 0.5945 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.734, allocations: 16.2 kB / 0.5946 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.734, allocations: 7.984 kB / 0.5946 GB, free: 9.922 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 () * 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 9.48e-05/0.7341, allocations: 112.9 kB / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002874/0.7344, allocations: 184.9 kB / 0.5949 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.7345, allocations: 51.34 kB / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.7349, allocations: 222.2 kB / 0.5951 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7349, allocations: 0 / 0.5951 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7349, allocations: 4 kB / 0.5951 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.735, allocations: 7.984 kB / 0.5951 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/0.7359, allocations: 0.7596 MB / 0.5959 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7359, allocations: 0 / 0.5959 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.7361, allocations: 39.97 kB / 0.5959 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7361, allocations: 0 / 0.5959 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.7361, allocations: 15.92 kB / 0.5959 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7361, allocations: 0 / 0.5959 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7362, allocations: 0 / 0.5959 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.7365, allocations: 363.8 kB / 0.5963 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.7367, allocations: 176.4 kB / 0.5964 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.7368, allocations: 0 / 0.5964 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.737, allocations: 19.98 kB / 0.5965 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.7371, allocations: 15.94 kB / 0.5965 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.7371, allocations: 11.98 kB / 0.5965 GB, free: 7.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006594/0.7378, allocations: 0.577 MB / 0.597 GB, free: 7.277 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7378, allocations: 4 kB / 0.597 GB, free: 7.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00039/0.7382, allocations: 67.94 kB / 0.5971 GB, free: 7.207 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 () * 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.001391/0.7396, allocations: 1.195 MB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.7398, allocations: 110.2 kB / 0.5984 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7398, allocations: 0 / 0.5984 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.74, allocations: 59.92 kB / 0.5984 GB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.7404, allocations: 74.53 kB / 0.5985 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.7418, allocations: 0.7992 MB / 0.5993 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.7423, allocations: 0.8653 MB / 0.6001 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.7425, allocations: 83.23 kB / 0.6002 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.7428, allocations: 163.3 kB / 0.6004 GB, free: 3.844 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7428, allocations: 0 / 0.6004 GB, free: 3.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.7719, allocations: 7.925 MB / 0.6081 GB, free: 11.93 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.7722, allocations: 160.1 kB / 0.6083 GB, free: 11.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.772, allocations: 0 / 0.6083 GB, free: 11.74 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat does not exist to compare? outputFormat=mat