Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.0008655/0.0008655, allocations: 96.31 kB / 16.99 MB, free: 6.402 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.0008562/0.0008561, allocations: 179.1 kB / 17.88 MB, free: 5.957 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.399/1.399, allocations: 223.2 MB / 241.8 MB, free: 396 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.2159/0.2159, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003262, allocations: 15.98 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002015/0.1454, allocations: 1.321 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.1461, allocations: 403.5 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1462, allocations: 0 / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.1468, allocations: 435.2 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1471, allocations: 239.5 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1475, allocations: 158.7 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1477, allocations: 119.8 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1478, allocations: 23.97 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1479, allocations: 103.8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1481, allocations: 139.7 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1482, allocations: 4 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.1482, allocations: 35.92 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.1484, allocations: 87.67 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.1484, allocations: 65.52 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1487, allocations: 200 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1487, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1487, allocations: 4 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1487, allocations: 0 / 474.8 MB, free: 10.34 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.0006917/0.1494, allocations: 0.5988 MB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1495, allocations: 11.97 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.1495, allocations: 38.56 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1496, allocations: 39.44 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1499, allocations: 279.3 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1499, allocations: 4 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1499, allocations: 3.953 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1501, allocations: 69.61 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1501, allocations: 0 / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1501, allocations: 3.938 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1501, allocations: 4 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1502, allocations: 43.97 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1508, allocations: 412.5 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1509, allocations: 46.56 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.151, allocations: 11.98 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.151, allocations: 30.66 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.151, allocations: 0 / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009451/0.1519, allocations: 336 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.152, allocations: 55.41 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007802/0.1528, allocations: 0.8691 MB / 477.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1528, allocations: 29.64 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.153, allocations: 235.9 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.153, allocations: 23.64 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.153, allocations: 4 kB / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1532, allocations: 354.8 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.1533, allocations: 39.97 kB / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.1534, allocations: 32.06 kB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.1534, allocations: 48.11 kB / 478.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1535, allocations: 0 / 478.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002493/0.1537, allocations: 153.1 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1537, allocations: 4 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1537, allocations: 0 / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1538, allocations: 4 kB / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1539, allocations: 23.92 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1539, allocations: 0 / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.154, allocations: 8 kB / 478.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.154, allocations: 11.95 kB / 478.6 MB, free: 6.336 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.0001934/0.1542, allocations: 218.2 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1542, allocations: 43.44 kB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1546, allocations: 177.5 kB / 479 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1546, allocations: 0 / 479 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1546, allocations: 0 / 479 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1546, allocations: 432 / 479 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.1552, allocations: 0.5342 MB / 479.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1553, allocations: 7.875 kB / 479.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.1553, allocations: 16 kB / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1553, allocations: 0 / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1554, allocations: 4 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1554, allocations: 3.984 kB / 479.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1554, allocations: 7.938 kB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1557, allocations: 265.6 kB / 479.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.1558, allocations: 112.5 kB / 480 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1558, allocations: 8 kB / 480 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.1559, allocations: 19.89 kB / 480 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1559, allocations: 7.984 kB / 480 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1559, allocations: 4 kB / 480 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005696/0.1565, allocations: 0.6511 MB / 480.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1565, allocations: 0 / 480.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1568, allocations: 32 kB / 480.7 MB, free: 4.121 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.00149/0.1583, allocations: 1.22 MB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1585, allocations: 83.89 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1586, allocations: 0 / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.1587, allocations: 47.92 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.159, allocations: 30.23 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.1619, allocations: 2.339 MB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.1623, allocations: 0.8418 MB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.1624, allocations: 24.72 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.1626, allocations: 119.4 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1626, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.1806, allocations: 5.738 MB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.181, allocations: 224.8 kB / 491.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.007, allocations: 7.938 kB / 491.4 MB, free: 9.602 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat