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.00144/0.001441, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.3 MB / 236 MB, free: 2.918 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.000931/0.0009309, allocations: 91.78 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.797e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6996, allocations: 89.5 MB / 0.5892 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.6999, allocations: 75.95 kB / 0.5893 GB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02338/0.7233, allocations: 8.88 MB / 0.5979 GB, free: 6.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7233, allocations: 0 / 0.5979 GB, free: 6.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.7234, allocations: 12 kB / 0.598 GB, free: 6.773 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.0008263/0.7242, allocations: 0.622 MB / 0.5986 GB, free: 6.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.7243, allocations: 8.031 kB / 0.5986 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.7243, allocations: 42.55 kB / 0.5986 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/0.7244, allocations: 55.34 kB / 0.5987 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.7252, allocations: 463 kB / 0.5991 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7252, allocations: 8 kB / 0.5991 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.7253, allocations: 12 kB / 0.5991 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.7255, allocations: 126.4 kB / 0.5992 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.7255, allocations: 7.938 kB / 0.5993 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.7256, allocations: 0 / 0.5993 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7256, allocations: 4 kB / 0.5993 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.7257, allocations: 59.98 kB / 0.5993 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.7268, allocations: 0.7072 MB / 0.6 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.727, allocations: 109.2 kB / 0.6001 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.7271, allocations: 33.83 kB / 0.6001 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.7271, allocations: 4 kB / 0.6001 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.7271, allocations: 38.5 kB / 0.6002 GB, free: 4.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.7271, allocations: 0 / 0.6002 GB, free: 4.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001055/0.7282, allocations: 434.2 kB / 0.6006 GB, free: 3.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.7283, allocations: 81.11 kB / 0.6007 GB, free: 3.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7293, allocations: 0.7821 MB / 0.6014 GB, free: 2.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.7293, allocations: 33.64 kB / 0.6015 GB, free: 2.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.7296, allocations: 252.2 kB / 0.6017 GB, free: 2.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.7296, allocations: 59.19 kB / 0.6018 GB, free: 2.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.7296, allocations: 0 / 0.6018 GB, free: 2.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.7298, allocations: 370.7 kB / 0.6021 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.7299, allocations: 36.22 kB / 0.6022 GB, free: 2.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.73, allocations: 54.41 kB / 0.6022 GB, free: 2.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.7301, allocations: 51.92 kB / 0.6023 GB, free: 2.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.7301, allocations: 0 / 0.6023 GB, free: 2.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003007/0.7304, allocations: 184.9 kB / 0.6024 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.7305, allocations: 8 kB / 0.6024 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7305, allocations: 3.938 kB / 0.6024 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7305, allocations: 0 / 0.6024 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.7307, allocations: 39.97 kB / 0.6025 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7307, allocations: 0 / 0.6025 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.7309, allocations: 23.98 kB / 0.6025 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.7309, allocations: 8 kB / 0.6025 GB, free: 1.84 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 8.647e-05/0.731, allocations: 112.9 kB / 0.6026 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.7311, allocations: 55.33 kB / 0.6027 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.7316, allocations: 234.4 kB / 0.6029 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7316, allocations: 0 / 0.6029 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7316, allocations: 3.984 kB / 0.6029 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7316, allocations: 4 kB / 0.6029 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.7328, allocations: 0.81 MB / 0.6037 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7328, allocations: 3.984 kB / 0.6037 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.733, allocations: 43.92 kB / 0.6037 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.733, allocations: 3.984 kB / 0.6037 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.733, allocations: 4 kB / 0.6037 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7331, allocations: 384 / 0.6037 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7331, allocations: 4.078 kB / 0.6037 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.7335, allocations: 378.3 kB / 0.6041 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.7338, allocations: 176.4 kB / 0.6043 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.7339, allocations: 11.98 kB / 0.6043 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.7341, allocations: 16 kB / 0.6043 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.7342, allocations: 15.92 kB / 0.6043 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.7342, allocations: 8 kB / 0.6043 GB, free: 15.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007797/0.735, allocations: 0.6224 MB / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.735, allocations: 4 kB / 0.6049 GB, free: 15.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.7354, allocations: 75.94 kB / 0.605 GB, free: 15.17 MB / 426.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.001675/0.737, allocations: 1.241 MB / 0.6062 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.7373, allocations: 107.9 kB / 0.6063 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7373, allocations: 0 / 0.6063 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.7374, allocations: 63.92 kB / 0.6064 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.7379, allocations: 62.02 kB / 0.6064 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.7395, allocations: 0.8124 MB / 0.6072 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.7401, allocations: 0.8645 MB / 0.6081 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.7403, allocations: 95.45 kB / 0.6082 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.7406, allocations: 167.4 kB / 0.6083 GB, free: 11.77 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7406, allocations: 0 / 0.6083 GB, free: 11.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.7634, allocations: 8.889 MB / 0.617 GB, free: 2.957 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.7636, allocations: 189.3 kB / 0.6172 GB, free: 2.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.926, allocations: 0 / 0.6172 GB, free: 2.73 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