Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.0009389/0.0009389, allocations: 92.33 kB / 17 MB, free: 6.535 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.001108/0.001108, allocations: 186.2 kB / 17.89 MB, free: 5.941 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.418/1.418, allocations: 223.2 MB / 241.9 MB, free: 304 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.213/0.213, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 12 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 61.91 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002005/0.1303, allocations: 1.321 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.1311, allocations: 0.633 MB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.1312, allocations: 4 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1314, allocations: 19.92 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1316, allocations: 31.89 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.1316, allocations: 0 / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1318, allocations: 47.83 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1318, allocations: 4 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.1319, allocations: 7.984 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.1319, allocations: 27.92 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.132, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.132, allocations: 8 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.1321, allocations: 15.92 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.1321, allocations: 33.64 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1322, allocations: 60.12 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1322, allocations: 0 / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1323, allocations: 4 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1323, allocations: 0 / 473.9 MB, free: 11.37 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004473/0.1327, allocations: 347.3 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1328, allocations: 8.031 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1328, allocations: 38.55 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1329, allocations: 3.906 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.133, allocations: 178.9 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.133, allocations: 7.984 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1331, allocations: 7.953 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1333, allocations: 129 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1333, allocations: 3.938 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1333, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.1334, allocations: 23.98 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.1334, allocations: 43.91 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.1341, allocations: 0.8945 MB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1343, allocations: 169.1 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.1343, allocations: 92.05 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.1344, allocations: 75.28 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.1344, allocations: 113.8 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1344, allocations: 0 / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.521e-05/0.1345, allocations: 33.61 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.1346, allocations: 130.7 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1348, allocations: 178.1 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1348, allocations: 25.7 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1349, allocations: 151.1 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.1349, allocations: 4 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.1349, allocations: 0 / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1351, allocations: 322.8 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1351, allocations: 35.88 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1353, allocations: 157.2 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.1354, allocations: 67.91 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1354, allocations: 0 / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003143/0.1357, allocations: 193.1 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1357, allocations: 8 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1358, allocations: 4 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1358, allocations: 11.98 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1359, allocations: 40.55 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1359, allocations: 4 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.136, allocations: 27.73 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1361, allocations: 16 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001436/0.1362, allocations: 213.5 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1363, allocations: 112.8 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.1364, allocations: 116.8 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.19e-05/0.1365, allocations: 184.2 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-05/0.1366, allocations: 180.3 kB / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.611e-05/0.1367, allocations: 180.2 kB / 478.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.137, allocations: 429.1 kB / 478.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.1371, allocations: 101 kB / 478.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.1371, allocations: 108.9 kB / 478.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-05/0.1372, allocations: 184.3 kB / 479.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.1373, allocations: 184.2 kB / 479.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.972e-05/0.1373, allocations: 180.2 kB / 479.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.579e-05/0.1374, allocations: 184.2 kB / 479.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.1376, allocations: 319.5 kB / 480 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1377, allocations: 190 kB / 480.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.1378, allocations: 180.2 kB / 480.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.1379, allocations: 105 kB / 480.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.138, allocations: 184.2 kB / 480.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.138, allocations: 108.9 kB / 480.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1382, allocations: 136.1 kB / 480.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1382, allocations: 0 / 480.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1385, allocations: 12 kB / 480.9 MB, free: 3.809 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 (0): * Single equations (assignments): 0 * 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.0007605/0.1392, allocations: 0.9116 MB / 481.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1394, allocations: 79.78 kB / 481.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1394, allocations: 0 / 481.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.1394, allocations: 0 / 481.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1398, allocations: 0.5312 MB / 482.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1409, allocations: 0.7723 MB / 483.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1413, allocations: 0.7008 MB / 483.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.1414, allocations: 49.02 kB / 483.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.1415, allocations: 27.42 kB / 483.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1415, allocations: 0 / 483.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.155, allocations: 1.9 MB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.1553, allocations: 216.6 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/1.978, allocations: 4.062 kB / 486 MB, free: 14.6 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat does not exist to compare? outputFormat=mat