Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.001223/0.001222, allocations: 179.7 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.494/1.494, allocations: 221.3 MB / 236 MB, free: 2.945 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.0008761/0.0008759, allocations: 98.12 kB / 287 MB, free: 240 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.2196/0.2196, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4e-05, allocations: 8.203 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.6143, allocations: 88.42 MB / 0.5882 GB, free: 0.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.6146, allocations: 67.97 kB / 0.5882 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.632, allocations: 7.851 MB / 0.5959 GB, free: 8.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6321, allocations: 2.953 kB / 0.5959 GB, free: 8.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.6322, allocations: 7.984 kB / 0.5959 GB, free: 8.906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007502/0.6329, allocations: 0.5559 MB / 0.5964 GB, free: 8.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.694e-05/0.633, allocations: 8.031 kB / 0.5964 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.6331, allocations: 34.55 kB / 0.5965 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.6332, allocations: 43.44 kB / 0.5965 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.6338, allocations: 331.3 kB / 0.5968 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.6338, allocations: 0 / 0.5968 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.6338, allocations: 4 kB / 0.5968 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.634, allocations: 49.62 kB / 0.5969 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.634, allocations: 4 kB / 0.5969 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.634, allocations: 0 / 0.5969 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.634, allocations: 4 kB / 0.5969 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.6341, allocations: 12 kB / 0.5969 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.6347, allocations: 432.7 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.6349, allocations: 38.52 kB / 0.5974 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.635, allocations: 16.86 kB / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.635, allocations: 0 / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.635, allocations: 38.64 kB / 0.5974 GB, free: 7.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.635, allocations: 0 / 0.5974 GB, free: 7.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004963/0.6355, allocations: 195.9 kB / 0.5976 GB, free: 6.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.6356, allocations: 51.41 kB / 0.5976 GB, free: 6.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6368, allocations: 0.781 MB / 0.5984 GB, free: 6.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.6368, allocations: 33.62 kB / 0.5984 GB, free: 6.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.637, allocations: 220.1 kB / 0.5986 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.6371, allocations: 19.81 kB / 0.5987 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6371, allocations: 4 kB / 0.5987 GB, free: 5.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6372, allocations: 358.8 kB / 0.599 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.6373, allocations: 12 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.6373, allocations: 8 kB / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.6373, allocations: 12 kB / 0.599 GB, free: 5.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6373, allocations: 4 kB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001414/0.6375, allocations: 105.2 kB / 0.5991 GB, free: 5.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6375, allocations: 5.406 kB / 0.5992 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6375, allocations: 4 kB / 0.5992 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6376, allocations: 0 / 0.5992 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.6376, allocations: 15.98 kB / 0.5992 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.6377, allocations: 3.953 kB / 0.5992 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.6377, allocations: 4 kB / 0.5992 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.6378, allocations: 8 kB / 0.5992 GB, free: 5.312 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 (5): * Single equations (assignments): 5 * 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 7.497e-05/0.6378, allocations: 105 kB / 0.5993 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.6379, allocations: 39.53 kB / 0.5993 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.6382, allocations: 120.9 kB / 0.5994 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6382, allocations: 144 / 0.5994 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6382, allocations: 3.984 kB / 0.5994 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.6382, allocations: 7.938 kB / 0.5994 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.639, allocations: 0.5609 MB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.639, allocations: 0 / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.639, allocations: 19.92 kB / 0.6 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6391, allocations: 0 / 0.6 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6391, allocations: 0 / 0.6 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.6391, allocations: 3.953 kB / 0.6 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6391, allocations: 0 / 0.6 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.6393, allocations: 199 kB / 0.6002 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.6395, allocations: 156.6 kB / 0.6004 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.6395, allocations: 256 / 0.6004 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.6396, allocations: 15.92 kB / 0.6004 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.6397, allocations: 7.953 kB / 0.6004 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.6397, allocations: 8 kB / 0.6004 GB, free: 3.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007633/0.6405, allocations: 0.6303 MB / 0.601 GB, free: 3.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6405, allocations: 0 / 0.601 GB, free: 3.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.6408, allocations: 59.94 kB / 0.6011 GB, free: 3.277 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 (5): * Single equations (assignments): 5 * 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.001376/0.6422, allocations: 0.9869 MB / 0.602 GB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.6423, allocations: 31.94 kB / 0.6021 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6423, allocations: 0 / 0.6021 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.6424, allocations: 16 kB / 0.6021 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.6427, allocations: 41.05 kB / 0.6021 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.644, allocations: 0.8113 MB / 0.6029 GB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.6445, allocations: 0.8331 MB / 0.6037 GB, free: 0.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.757e-05/0.6445, allocations: 40.02 kB / 0.6038 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.6447, allocations: 115.3 kB / 0.6039 GB, free: 440 kB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6447, allocations: 0 / 0.6039 GB, free: 440 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.6651, allocations: 6.423 MB / 0.6101 GB, free: 10.06 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.6653, allocations: 190 kB / 0.6103 GB, free: 9.832 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.827, allocations: 0 / 0.6103 GB, free: 9.832 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat