Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",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.0009928/0.0009929, allocations: 99.83 kB / 17.01 MB, free: 6.105 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.001284/0.001284, allocations: 179 kB / 17.89 MB, free: 5.688 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.472/1.472, allocations: 223.2 MB / 241.9 MB, free: 264 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.2393/0.2393, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 8.219 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.001797/0.1307, allocations: 1.334 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.1313, allocations: 387.6 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.1313, allocations: 3.938 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1316, allocations: 51.86 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1317, allocations: 47.89 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.132, allocations: 119.3 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1322, allocations: 55.84 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.1323, allocations: 19.97 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.1323, allocations: 27.86 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.1324, allocations: 31.84 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1324, allocations: 4 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.1325, allocations: 35.97 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.1326, allocations: 23.92 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.1326, allocations: 37.64 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1328, allocations: 80.09 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1328, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1328, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1328, allocations: 0 / 473.9 MB, free: 11.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00049/0.1333, allocations: 399 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1334, allocations: 15.97 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1334, allocations: 30.56 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.1335, allocations: 19.89 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1337, allocations: 186.9 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1337, allocations: 7.938 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.1337, allocations: 11.88 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1339, allocations: 65.67 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1339, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1339, allocations: 8 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1339, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1341, allocations: 43.97 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1345, allocations: 316.6 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1347, allocations: 58.55 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.531e-05/0.1348, allocations: 28.97 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1348, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1349, allocations: 42.59 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1349, allocations: 0 / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001408/0.1363, allocations: 464.8 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1363, allocations: 55.36 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1366, allocations: 188.5 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1366, allocations: 29.7 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1367, allocations: 100.1 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.1367, allocations: 39.45 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1367, allocations: 3.938 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1369, allocations: 326.8 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.137, allocations: 47.97 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1372, allocations: 47.97 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1373, allocations: 60.25 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1373, allocations: 0 / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003056/0.1376, allocations: 157.5 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1377, allocations: 11.94 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1377, allocations: 0 / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1377, allocations: 0 / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1378, allocations: 27.98 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1378, allocations: 7.984 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.1379, allocations: 19.94 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1379, allocations: 4 kB / 476.7 MB, free: 8.383 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 (11): * Single equations (assignments): 11 * 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.000114/0.138, allocations: 130.3 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.1381, allocations: 11.81 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.1384, allocations: 174.3 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1385, allocations: 7.984 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1385, allocations: 3.938 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1385, allocations: 4 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.1391, allocations: 488.5 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1392, allocations: 0 / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/0.1393, allocations: 35.92 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1393, allocations: 4 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1393, allocations: 7.953 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1393, allocations: 11.92 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1393, allocations: 0 / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1396, allocations: 261.2 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1397, allocations: 89 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1397, allocations: 0 / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.1398, allocations: 23.94 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1399, allocations: 11.92 kB / 477.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.1399, allocations: 4 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.14, allocations: 143.2 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.14, allocations: 0 / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1403, allocations: 27.91 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001615/0.1419, allocations: 1.161 MB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.1422, allocations: 115.9 kB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1422, allocations: 3.938 kB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1424, allocations: 64.03 kB / 479.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1427, allocations: 27.59 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1441, allocations: 0.8489 MB / 480.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1444, allocations: 0.7041 MB / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.078e-05/0.1445, allocations: 24.39 kB / 481 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.1446, allocations: 35.36 kB / 481 MB, free: 3.953 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1446, allocations: 0 / 481 MB, free: 3.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.1589, allocations: 2.801 MB / 483.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.1591, allocations: 219.2 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.024, allocations: 0 / 484.1 MB, free: 1.031 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat does not exist to compare? outputFormat=mat