Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001203/0.001203, allocations: 178.6 kB / 14.15 MB, free: 1.168 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.536/1.536, allocations: 221.3 MB / 236 MB, free: 2.949 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.001147/0.001146, allocations: 102.3 kB / 287 MB, free: 228 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.2552/0.2552, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.654e-05, allocations: 8.156 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.565, allocations: 88.94 MB / 0.5887 GB, free: 312 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5653, allocations: 71.95 kB / 0.5887 GB, free: 240 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.5771, allocations: 4.585 MB / 0.5932 GB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5771, allocations: 0 / 0.5932 GB, free: 11.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.5772, allocations: 7.938 kB / 0.5932 GB, free: 11.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004143/0.5776, allocations: 406.2 kB / 0.5936 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5776, allocations: 12.03 kB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.5777, allocations: 34.55 kB / 0.5936 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.5777, allocations: 7.906 kB / 0.5936 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.578, allocations: 203.4 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5781, allocations: 0 / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5781, allocations: 7.828 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.5782, allocations: 65.62 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5783, allocations: 3.906 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5783, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5783, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.5784, allocations: 27.98 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.5789, allocations: 332.7 kB / 0.5943 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.5791, allocations: 50.56 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.5791, allocations: 16.98 kB / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.5791, allocations: 0 / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5792, allocations: 34.56 kB / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.5792, allocations: 0 / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006581/0.5798, allocations: 249 kB / 0.5946 GB, free: 10.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.5799, allocations: 55.41 kB / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.5801, allocations: 156.7 kB / 0.5948 GB, free: 9.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5801, allocations: 25.7 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.5802, allocations: 100.1 kB / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.5802, allocations: 39.45 kB / 0.595 GB, free: 9.648 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.5802, allocations: 8 kB / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5804, allocations: 318.8 kB / 0.5953 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.5804, allocations: 39.92 kB / 0.5953 GB, free: 9.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.5805, allocations: 32 kB / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.5806, allocations: 46.92 kB / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5806, allocations: 0 / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001848/0.5807, allocations: 121.6 kB / 0.5955 GB, free: 9.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5808, allocations: 5.094 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5808, allocations: 4 kB / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5808, allocations: 7.938 kB / 0.5955 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5809, allocations: 31.97 kB / 0.5955 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.581, allocations: 15.83 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.581, allocations: 12.36 kB / 0.5956 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.581, allocations: 4 kB / 0.5956 GB, free: 9.004 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.205e-05/0.5811, allocations: 112.9 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.5812, allocations: 15.81 kB / 0.5957 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.5815, allocations: 154.2 kB / 0.5958 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5815, allocations: 4 kB / 0.5958 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5815, allocations: 0 / 0.5958 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5815, allocations: 3.953 kB / 0.5958 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.5821, allocations: 480 kB / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5821, allocations: 0 / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.5822, allocations: 27.98 kB / 0.5963 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5822, allocations: 7.953 kB / 0.5963 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5822, allocations: 0 / 0.5963 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.5822, allocations: 0 / 0.5963 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5822, allocations: 11.92 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.5825, allocations: 256.5 kB / 0.5966 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.5826, allocations: 93 kB / 0.5967 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.5826, allocations: 0 / 0.5967 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5827, allocations: 27.97 kB / 0.5967 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5828, allocations: 7.984 kB / 0.5967 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.5828, allocations: 4 kB / 0.5967 GB, free: 7.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.5829, allocations: 134.5 kB / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5829, allocations: 0 / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.5831, allocations: 35.94 kB / 0.5969 GB, free: 7.531 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001357/0.5845, allocations: 1.244 MB / 0.5981 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.5847, allocations: 99.86 kB / 0.5982 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5847, allocations: 3.938 kB / 0.5982 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.5848, allocations: 47.92 kB / 0.5982 GB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.585, allocations: 19.84 kB / 0.5983 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.5856, allocations: 285 kB / 0.5985 GB, free: 5.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5859, allocations: 0.716 MB / 0.5992 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.586, allocations: 40.38 kB / 0.5993 GB, free: 5.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.5861, allocations: 35.42 kB / 0.5993 GB, free: 5.062 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5861, allocations: 0 / 0.5993 GB, free: 5.062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.6006, allocations: 2.913 MB / 0.6022 GB, free: 2.23 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.6008, allocations: 182.9 kB / 0.6023 GB, free: 2.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.314, allocations: 0 / 0.6023 GB, free: 2.008 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat