Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.0008728/0.0008728, allocations: 95 kB / 17 MB, free: 6.102 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.0009196/0.0009196, allocations: 182.5 kB / 17.89 MB, free: 5.684 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.355/1.355, allocations: 223.2 MB / 241.9 MB, free: 256 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.2006/0.2006, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 13.19 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002057/0.1307, allocations: 1.326 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.1315, allocations: 383.6 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.1316, allocations: 3.938 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006502/0.1322, allocations: 447.2 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1326, allocations: 239.5 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.1331, allocations: 119.3 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1334, allocations: 127.7 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1335, allocations: 19.97 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1336, allocations: 95.8 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1339, allocations: 167.7 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1339, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.134, allocations: 43.92 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1342, allocations: 83.73 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1342, allocations: 69.45 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1345, allocations: 199.9 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1345, allocations: 0 / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1345, allocations: 0 / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1345, allocations: 3.938 kB / 474.9 MB, free: 10.33 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.0006967/0.1352, allocations: 0.5934 MB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1352, allocations: 12.03 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.1353, allocations: 38.55 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1353, allocations: 47.38 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1356, allocations: 267.4 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1356, allocations: 11.94 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1357, allocations: 7.859 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1358, allocations: 57.67 kB / 476 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1358, allocations: 8 kB / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1359, allocations: 0 / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1359, allocations: 0 / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.136, allocations: 31.98 kB / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1365, allocations: 408.5 kB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1366, allocations: 46.55 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1367, allocations: 20.89 kB / 476.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1367, allocations: 4 kB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1367, allocations: 30.56 kB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.1367, allocations: 0 / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009414/0.1377, allocations: 332.3 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1377, allocations: 51.41 kB / 476.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.1385, allocations: 0.873 MB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1386, allocations: 25.7 kB / 477.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1387, allocations: 227.9 kB / 478 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1388, allocations: 19.7 kB / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1388, allocations: 8 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1389, allocations: 358.8 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.139, allocations: 27.98 kB / 478.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.1391, allocations: 27.98 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.1392, allocations: 31.98 kB / 478.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1392, allocations: 0 / 478.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002393/0.1394, allocations: 153.2 kB / 478.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1395, allocations: 8 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1395, allocations: 0 / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1395, allocations: 0 / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1396, allocations: 23.98 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1396, allocations: 3.938 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.1397, allocations: 11.89 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1397, allocations: 4 kB / 478.7 MB, free: 6.379 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 (8): * Single equations (assignments): 8 * 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.0002944/0.14, allocations: 214.3 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.1401, allocations: 47.38 kB / 478.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.1405, allocations: 169.4 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1405, allocations: 0 / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1405, allocations: 0 / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1405, allocations: 4 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.1412, allocations: 0.507 MB / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1412, allocations: 0 / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.1413, allocations: 19.98 kB / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1413, allocations: 0 / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1413, allocations: 12.03 kB / 479.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1413, allocations: 3.953 kB / 479.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1414, allocations: 3.938 kB / 479.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1416, allocations: 243.8 kB / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1417, allocations: 108.5 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1417, allocations: 8 kB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.1418, allocations: 7.984 kB / 480 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1419, allocations: 11.94 kB / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1419, allocations: 0 / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006115/0.1425, allocations: 0.6589 MB / 480.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1425, allocations: 0 / 480.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1428, allocations: 27.98 kB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001439/0.1442, allocations: 1.14 MB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1445, allocations: 79.84 kB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1445, allocations: 0 / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.1446, allocations: 35.98 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1449, allocations: 29.91 kB / 482 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.1479, allocations: 2.373 MB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1483, allocations: 0.8301 MB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1484, allocations: 12.73 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1485, allocations: 111.4 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1485, allocations: 3.938 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.1654, allocations: 5.671 MB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.1657, allocations: 233.8 kB / 491.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.04, allocations: 64 / 491.2 MB, free: 9.891 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat