Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001106/0.001106, allocations: 96.55 kB / 16.98 MB, free: 5.938 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.001151/0.001151, allocations: 188.4 kB / 17.88 MB, free: 5.594 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.506/1.506, allocations: 223.2 MB / 241.8 MB, free: 380 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.1973/0.1973, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1459, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002109/0.1481, allocations: 1.259 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.1487, allocations: 355.7 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.1488, allocations: 3.938 kB / 473.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.149, allocations: 15.92 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.1492, allocations: 27.91 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1494, allocations: 82.66 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1496, allocations: 35.89 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1497, allocations: 11.98 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.1497, allocations: 15.92 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.1498, allocations: 19.86 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1498, allocations: 4 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1499, allocations: 16 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.15, allocations: 15.97 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.15, allocations: 33.64 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1501, allocations: 56.14 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1502, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1502, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1502, allocations: 0 / 473.5 MB, free: 11.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005984/0.1508, allocations: 379 kB / 473.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1508, allocations: 8.031 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1509, allocations: 38.56 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1509, allocations: 7.906 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1511, allocations: 186.9 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1512, allocations: 3.984 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.1512, allocations: 3.953 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1513, allocations: 49.69 kB / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1513, allocations: 0 / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1513, allocations: 0 / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1514, allocations: 4 kB / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.1515, allocations: 27.98 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.1519, allocations: 276.8 kB / 474.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1521, allocations: 42.56 kB / 474.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1521, allocations: 0 / 474.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.1522, allocations: 38.5 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1522, allocations: 0 / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005381/0.1527, allocations: 165.3 kB / 474.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1528, allocations: 51.41 kB / 474.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1529, allocations: 152.5 kB / 474.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1529, allocations: 25.7 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.153, allocations: 100 kB / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.153, allocations: 19.75 kB / 475 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.153, allocations: 0 / 475 MB, free: 9.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1531, allocations: 326.8 kB / 475.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1532, allocations: 23.98 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.1533, allocations: 23.92 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.1534, allocations: 23.98 kB / 475.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1534, allocations: 4 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.1535, allocations: 85.58 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1536, allocations: 4 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1536, allocations: 0 / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.1536, allocations: 0 / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.1537, allocations: 15.98 kB / 475.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1537, allocations: 4 kB / 475.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.1537, allocations: 4 kB / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1538, allocations: 8 kB / 475.5 MB, free: 9.398 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 (5): * Single equations (assignments): 5 * 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.047e-05/0.1538, allocations: 122.3 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1539, allocations: 11.89 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1541, allocations: 98.22 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1541, allocations: 352 / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1541, allocations: 4 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1542, allocations: 7.922 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.1546, allocations: 358.5 kB / 476.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1546, allocations: 0 / 476.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.1546, allocations: 15.98 kB / 476.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1546, allocations: 0 / 476.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1547, allocations: 0 / 476.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1547, allocations: 0 / 476.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.1547, allocations: 0 / 476.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1549, allocations: 191.3 kB / 476.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.155, allocations: 89 kB / 476.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.155, allocations: 0 / 476.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.1551, allocations: 11.94 kB / 476.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1551, allocations: 7.984 kB / 476.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1552, allocations: 4 kB / 476.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.924e-05/0.1552, allocations: 117.1 kB / 476.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1552, allocations: 0 / 476.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1555, allocations: 16 kB / 476.6 MB, free: 8.262 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 (5): * Single equations (assignments): 5 * 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.001238/0.1567, allocations: 1.012 MB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1569, allocations: 51.91 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1569, allocations: 4 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.157, allocations: 31.97 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1573, allocations: 10.95 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.1582, allocations: 0.5885 MB / 478.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1585, allocations: 0.6965 MB / 479 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.1586, allocations: 11.98 kB / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.1586, allocations: 23.42 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1586, allocations: 0 / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.1696, allocations: 2.068 MB / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1699, allocations: 218.2 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.9, allocations: 0 / 481.3 MB, free: 3.699 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat