Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.001097/0.001098, allocations: 180.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.416/1.416, 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.001028/0.001028, allocations: 88.05 kB / 287 MB, free: 252 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.2108/0.2108, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.636e-05, allocations: 8.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.6123, allocations: 88.36 MB / 0.5881 GB, free: 0.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.6126, allocations: 79.94 kB / 0.5882 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.6303, allocations: 7.89 MB / 0.5959 GB, free: 8.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6303, allocations: 0 / 0.5959 GB, free: 8.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.6303, allocations: 8 kB / 0.5959 GB, free: 8.902 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.0006366/0.631, allocations: 0.5598 MB / 0.5964 GB, free: 8.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.631, allocations: 12.03 kB / 0.5964 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.6311, allocations: 30.56 kB / 0.5965 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.6312, allocations: 47.44 kB / 0.5965 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.6317, allocations: 335.2 kB / 0.5968 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.6317, allocations: 4 kB / 0.5968 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.6317, allocations: 0 / 0.5968 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.6319, allocations: 45.7 kB / 0.5969 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6319, allocations: 7.922 kB / 0.5969 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6319, allocations: 3.938 kB / 0.5969 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6319, allocations: 0 / 0.5969 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.632, allocations: 16 kB / 0.5969 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.6327, allocations: 436.7 kB / 0.5973 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.6328, allocations: 34.52 kB / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.6328, allocations: 16.86 kB / 0.5974 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.6328, allocations: 0 / 0.5974 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6329, allocations: 34.56 kB / 0.5974 GB, free: 7.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6329, allocations: 7.828 kB / 0.5974 GB, free: 7.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000585/0.6335, allocations: 236 kB / 0.5976 GB, free: 6.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.6335, allocations: 51.41 kB / 0.5977 GB, free: 6.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6348, allocations: 0.7733 MB / 0.5984 GB, free: 6.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6348, allocations: 25.7 kB / 0.5985 GB, free: 6.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.635, allocations: 220 kB / 0.5987 GB, free: 5.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.635, allocations: 19.72 kB / 0.5987 GB, free: 5.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.6351, allocations: 4 kB / 0.5987 GB, free: 5.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6352, allocations: 358.8 kB / 0.599 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.6353, allocations: 12 kB / 0.5991 GB, free: 5.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.6353, allocations: 16.08 kB / 0.5991 GB, free: 5.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.6354, allocations: 20.14 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6354, allocations: 0 / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.6355, allocations: 109.1 kB / 0.5992 GB, free: 5.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6356, allocations: 8.938 kB / 0.5992 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6356, allocations: 4 kB / 0.5992 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6356, allocations: 0 / 0.5992 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.6357, allocations: 23.98 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6357, allocations: 3.953 kB / 0.5992 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.6358, allocations: 11.98 kB / 0.5992 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.6359, allocations: 8 kB / 0.5993 GB, free: 5.23 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 (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 6.416e-05/0.6359, allocations: 105 kB / 0.5994 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.636, allocations: 43.44 kB / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.6363, allocations: 145.5 kB / 0.5995 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6363, allocations: 0 / 0.5995 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6363, allocations: 0 / 0.5995 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6363, allocations: 3.953 kB / 0.5995 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/0.6371, allocations: 0.5765 MB / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6372, allocations: 0 / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.6373, allocations: 35.91 kB / 0.6001 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6373, allocations: 144 / 0.6001 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6373, allocations: 0 / 0.6001 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6373, allocations: 7.953 kB / 0.6001 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6373, allocations: 3.984 kB / 0.6001 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.6375, allocations: 210.9 kB / 0.6003 GB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.6378, allocations: 156.6 kB / 0.6005 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.6378, allocations: 4 kB / 0.6005 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.638, allocations: 19.98 kB / 0.6005 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.638, allocations: 11.94 kB / 0.6005 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.638, allocations: 0 / 0.6005 GB, free: 3.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007177/0.6388, allocations: 0.6342 MB / 0.6011 GB, free: 3.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6388, allocations: 0 / 0.6011 GB, free: 3.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.6391, allocations: 59.91 kB / 0.6012 GB, free: 3.121 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.001307/0.6404, allocations: 1.004 MB / 0.6022 GB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.6405, allocations: 43.94 kB / 0.6022 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6406, allocations: 0 / 0.6022 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.6406, allocations: 27.94 kB / 0.6023 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.6409, allocations: 26.03 kB / 0.6023 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.6423, allocations: 0.8378 MB / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.6428, allocations: 0.8262 MB / 0.6039 GB, free: 388 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.885e-05/0.6429, allocations: 44.19 kB / 0.6039 GB, free: 344 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.6431, allocations: 111.4 kB / 0.6041 GB, free: 232 kB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6431, allocations: 4 kB / 0.6041 GB, free: 228 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.6637, allocations: 6.52 MB / 0.6104 GB, free: 9.762 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.6639, allocations: 196.7 kB / 0.6106 GB, free: 9.527 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.802, allocations: 0 / 0.6106 GB, free: 9.527 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat does not exist to compare? outputFormat=mat