Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001676/0.001675, allocations: 173 kB / 8.742 MB, free: 344 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.459/1.459, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.00109/0.00109, allocations: 96.72 kB / 281.6 MB, free: 5.328 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.1957/0.1957, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.291e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1413, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5439, allocations: 88.45 MB / 0.5811 GB, free: 7.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.5442, allocations: 71.97 kB / 0.5812 GB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.5564, allocations: 4.412 MB / 0.5855 GB, free: 3.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5565, allocations: 0 / 0.5855 GB, free: 3.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.5565, allocations: 4 kB / 0.5855 GB, free: 3.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004158/0.5569, allocations: 386.2 kB / 0.5859 GB, free: 2.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.557, allocations: 11.98 kB / 0.5859 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.557, allocations: 7.906 kB / 0.5859 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.5573, allocations: 201.3 kB / 0.5861 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5573, allocations: 7.953 kB / 0.5861 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.5573, allocations: 7.828 kB / 0.5861 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.215e-05/0.5574, allocations: 24 kB / 0.5861 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.5575, allocations: 59.91 kB / 0.5862 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.5575, allocations: 0 / 0.5862 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5575, allocations: 0 / 0.5862 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5576, allocations: 0 / 0.5862 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.558, allocations: 289.3 kB / 0.5865 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.5581, allocations: 38.56 kB / 0.5865 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.5581, allocations: 20.8 kB / 0.5865 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.5582, allocations: 3.938 kB / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.5582, allocations: 34.56 kB / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5582, allocations: 0 / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005243/0.5587, allocations: 149.5 kB / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.5588, allocations: 85.05 kB / 0.5868 GB, free: 1.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.559, allocations: 126.3 kB / 0.5869 GB, free: 1.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.559, allocations: 29.7 kB / 0.5869 GB, free: 1.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.5591, allocations: 104 kB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.5591, allocations: 15.72 kB / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.5591, allocations: 0 / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5593, allocations: 326.8 kB / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.5594, allocations: 16 kB / 0.5874 GB, free: 1.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.5594, allocations: 37.7 kB / 0.5874 GB, free: 1.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.5595, allocations: 20.22 kB / 0.5874 GB, free: 1.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5595, allocations: 4 kB / 0.5874 GB, free: 1.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001405/0.5596, allocations: 81.61 kB / 0.5875 GB, free: 1.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.5597, allocations: 8 kB / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5597, allocations: 0 / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5597, allocations: 0 / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.5599, allocations: 35.91 kB / 0.5876 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5599, allocations: 0 / 0.5876 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.56, allocations: 8 kB / 0.5876 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.56, allocations: 8 kB / 0.5876 GB, free: 1.098 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0001031/0.5601, allocations: 112.9 kB / 0.5877 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001467/0.5603, allocations: 81.58 kB / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.5603, allocations: 7.906 kB / 0.5878 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.5605, allocations: 102.2 kB / 0.5879 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5605, allocations: 4 kB / 0.5879 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5605, allocations: 0 / 0.5879 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5606, allocations: 0 / 0.5879 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.561, allocations: 351 kB / 0.5882 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.561, allocations: 0 / 0.5882 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.345e-05/0.5611, allocations: 27.92 kB / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5611, allocations: 0 / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5611, allocations: 0 / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5611, allocations: 4 kB / 0.5882 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5611, allocations: 0 / 0.5882 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.5613, allocations: 183.4 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.5614, allocations: 89.02 kB / 0.5885 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.5614, allocations: 3.984 kB / 0.5885 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.5615, allocations: 8 kB / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.5616, allocations: 11.92 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5616, allocations: 8 kB / 0.5885 GB, free: 24 kB / 394.7 MB Notification: Performance of sorting global known variables: time 9.412e-05/0.5617, allocations: 108.7 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5617, allocations: 0 / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.562, allocations: 31.95 kB / 0.5887 GB, free: 15.88 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.001155/0.5631, allocations: 0.9864 MB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.5633, allocations: 51.98 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5633, allocations: 3.938 kB / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.5634, allocations: 27.98 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5636, allocations: 20.92 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.5642, allocations: 181.7 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.5645, allocations: 0.7041 MB / 0.5906 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.443e-05/0.5646, allocations: 32.88 kB / 0.5906 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.5647, allocations: 31.36 kB / 0.5906 GB, free: 13.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5647, allocations: 0 / 0.5906 GB, free: 13.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.596, allocations: 2.26 MB / 0.5928 GB, free: 11.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.5962, allocations: 161.5 kB / 0.593 GB, free: 11.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.066, allocations: 0 / 0.593 GB, free: 11.41 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat