Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001137/0.001137, allocations: 180.3 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.567/1.567, allocations: 221.3 MB / 236 MB, free: 2.957 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.001167/0.001167, allocations: 95.72 kB / 287 MB, free: 248 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.2331/0.2331, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.616e-05, allocations: 8.156 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6129, allocations: 91.13 MB / 0.5908 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.6131, allocations: 71.97 kB / 0.5909 GB, free: 14.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02523/0.6384, allocations: 9.72 MB / 0.6004 GB, free: 4.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6384, allocations: 4 kB / 0.6004 GB, free: 4.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.124e-05/0.6385, allocations: 16.16 kB / 0.6004 GB, free: 4.312 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009227/0.6394, allocations: 0.5638 MB / 0.6009 GB, free: 3.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6395, allocations: 12.03 kB / 0.6009 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/0.6396, allocations: 42.56 kB / 0.601 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.6398, allocations: 47.31 kB / 0.601 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.6405, allocations: 353.1 kB / 0.6014 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6405, allocations: 4 kB / 0.6014 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.6406, allocations: 16 kB / 0.6014 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.6409, allocations: 117.6 kB / 0.6015 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.6409, allocations: 0 / 0.6015 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.6409, allocations: 4 kB / 0.6015 GB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6409, allocations: 4 kB / 0.6015 GB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6411, allocations: 71.97 kB / 0.6016 GB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.6421, allocations: 0.5392 MB / 0.6021 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.6423, allocations: 106.5 kB / 0.6022 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.6424, allocations: 32.81 kB / 0.6022 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.6424, allocations: 7.984 kB / 0.6022 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.6425, allocations: 30.56 kB / 0.6023 GB, free: 2.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.6425, allocations: 4 kB / 0.6023 GB, free: 2.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001057/0.6435, allocations: 382.7 kB / 0.6026 GB, free: 1.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.6436, allocations: 55.41 kB / 0.6027 GB, free: 1.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.6444, allocations: 495.1 kB / 0.6032 GB, free: 1.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.6444, allocations: 25.7 kB / 0.6032 GB, free: 1.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.6446, allocations: 204.3 kB / 0.6034 GB, free: 1.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.6447, allocations: 59.19 kB / 0.6034 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.6447, allocations: 4 kB / 0.6034 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.6449, allocations: 350.8 kB / 0.6038 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.645, allocations: 59.89 kB / 0.6038 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.6451, allocations: 57.39 kB / 0.6039 GB, free: 0.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.6452, allocations: 69.42 kB / 0.6039 GB, free: 444 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6453, allocations: 0 / 0.6039 GB, free: 444 kB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003909/0.6456, allocations: 209.1 kB / 0.6041 GB, free: 228 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.6457, allocations: 4 kB / 0.6041 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6457, allocations: 0 / 0.6041 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.6457, allocations: 4 kB / 0.6042 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.6459, allocations: 39.98 kB / 0.6042 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.646, allocations: 3.938 kB / 0.6042 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.6461, allocations: 11.98 kB / 0.6042 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.6461, allocations: 4 kB / 0.6042 GB, free: 160 kB / 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 (17): * Single equations (assignments): 17 * 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.000121/0.6463, allocations: 112.9 kB / 0.6043 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/0.6464, allocations: 39.53 kB / 0.6044 GB, free: 0 / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.6469, allocations: 266 kB / 0.6046 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.647, allocations: 7.938 kB / 0.6046 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.647, allocations: 0 / 0.6046 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.647, allocations: 0 / 0.6046 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.648, allocations: 0.7139 MB / 0.6053 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6481, allocations: 4 kB / 0.6053 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.6482, allocations: 31.98 kB / 0.6053 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6482, allocations: 7.984 kB / 0.6054 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.6482, allocations: 8 kB / 0.6054 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6482, allocations: 0 / 0.6054 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6483, allocations: 0 / 0.6054 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.6487, allocations: 316 kB / 0.6057 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.6489, allocations: 144.6 kB / 0.6058 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.649, allocations: 8 kB / 0.6058 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6491, allocations: 11.98 kB / 0.6058 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.6492, allocations: 11.98 kB / 0.6058 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.6492, allocations: 4 kB / 0.6058 GB, free: 14.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005415/0.6497, allocations: 401.1 kB / 0.6062 GB, free: 14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6498, allocations: 0 / 0.6062 GB, free: 14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.6501, allocations: 67.94 kB / 0.6063 GB, free: 13.93 MB / 426.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 (17): * Single equations (assignments): 17 * 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.002167/0.6523, allocations: 1.369 MB / 0.6076 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.6526, allocations: 150.6 kB / 0.6078 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6526, allocations: 0 / 0.6078 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.6527, allocations: 79.92 kB / 0.6078 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.6532, allocations: 76.47 kB / 0.6079 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6545, allocations: 0.659 MB / 0.6086 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.6549, allocations: 0.8299 MB / 0.6094 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.6551, allocations: 73.95 kB / 0.6094 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.6553, allocations: 131.3 kB / 0.6096 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6553, allocations: 0 / 0.6096 GB, free: 10.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.6777, allocations: 7.121 MB / 0.6165 GB, free: 3.641 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.6779, allocations: 191 kB / 0.6167 GB, free: 3.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.926, allocations: 0 / 0.6167 GB, free: 3.41 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat