Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008316, allocations: 98.25 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008627/0.0008628, allocations: 187.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 9.031 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.001798/0.1241, allocations: 1.318 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1253, allocations: 0.961 MB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.1254, allocations: 4 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1256, allocations: 11.92 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1257, allocations: 39.84 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.126, allocations: 111.4 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1261, allocations: 55.83 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.1262, allocations: 16.12 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.1263, allocations: 19.86 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1264, allocations: 27.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1264, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1265, allocations: 47.92 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.1266, allocations: 11.98 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1266, allocations: 33.58 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1268, allocations: 76.09 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1268, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1268, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1268, allocations: 8 kB / 474.4 MB, free: 10.89 MB / 350.1 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.0004688/0.1273, allocations: 383.1 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1273, allocations: 12.03 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.1274, allocations: 34.56 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1274, allocations: 7.906 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1276, allocations: 190.9 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.1276, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1276, allocations: 19.86 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1278, allocations: 75.38 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.1278, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1278, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1278, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.128, allocations: 47.91 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.1283, allocations: 292.8 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1285, allocations: 50.55 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.1286, allocations: 28.94 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1286, allocations: 0 / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1286, allocations: 34.56 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1286, allocations: 0 / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006949/0.1293, allocations: 241.2 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1294, allocations: 77.19 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1295, allocations: 140.9 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1295, allocations: 25.7 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1296, allocations: 104.1 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1296, allocations: 27.61 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1296, allocations: 0 / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1298, allocations: 322.8 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.1299, allocations: 35.98 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.13, allocations: 61.67 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1301, allocations: 40.22 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1301, allocations: 4.031 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002407/0.1304, allocations: 117.6 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1304, allocations: 11.94 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1304, allocations: 4 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1304, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1305, allocations: 27.92 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1305, allocations: 0 / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.1306, allocations: 19.89 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.1306, allocations: 4 kB / 476.8 MB, free: 8.262 MB / 350.1 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 () * Number of clocked 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 9.073e-05/0.1307, allocations: 130.2 kB / 476.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1308, allocations: 4 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.1311, allocations: 146.2 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.1311, allocations: 0 / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1311, allocations: 3.938 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1311, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.1316, allocations: 402.5 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1316, allocations: 4 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.1317, allocations: 23.92 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1317, allocations: 7.984 kB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1317, allocations: 0 / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1317, allocations: 4 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1317, allocations: 0 / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.132, allocations: 231.3 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1321, allocations: 93 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1321, allocations: 0 / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.1322, allocations: 15.98 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1322, allocations: 4.281 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1323, allocations: 4 kB / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.1323, allocations: 111.2 kB / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1326, allocations: 20 kB / 477.9 MB, free: 6.977 MB / 350.1 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 () * Number of clocked 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.001371/0.134, allocations: 1.112 MB / 479.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1343, allocations: 87.89 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1343, allocations: 4 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1344, allocations: 51.91 kB / 479.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1347, allocations: 11.98 kB / 479.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1358, allocations: 0.6473 MB / 479.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1361, allocations: 0.6887 MB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.016e-05/0.1362, allocations: 21.11 kB / 480.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.1362, allocations: 27.42 kB / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1362, allocations: 0 / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.1494, allocations: 2.54 MB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.1496, allocations: 231.8 kB / 483.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.97, allocations: 3.5 kB / 483.4 MB, free: 1.746 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat does not exist to compare? outputFormat=mat