Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.0008398/0.0008398, allocations: 99.62 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.0009313/0.0009314, allocations: 186.2 kB / 17.89 MB, free: 5.945 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.531/1.531, allocations: 223.2 MB / 241.9 MB, free: 308 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.2085/0.2085, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 9.25 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001787/0.1423, allocations: 1.278 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.143, allocations: 383.5 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.143, allocations: 4 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1433, allocations: 71.84 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1434, allocations: 59.8 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1437, allocations: 87.83 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1438, allocations: 67.8 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.1439, allocations: 12.19 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.144, allocations: 27.91 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.1441, allocations: 47.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1441, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-05/0.1442, allocations: 39.97 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.1442, allocations: 15.92 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1443, allocations: 37.64 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1444, allocations: 68.19 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1444, allocations: 7.984 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1444, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1445, allocations: 0 / 473.8 MB, free: 11.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004246/0.1449, allocations: 394.9 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1449, allocations: 11.97 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.145, allocations: 34.56 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.145, allocations: 11.91 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1452, allocations: 190.9 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1452, allocations: 7.938 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1452, allocations: 7.859 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1454, allocations: 57.69 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1454, allocations: 3.984 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1454, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1454, allocations: 4 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1455, allocations: 23.98 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1459, allocations: 312.8 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.146, allocations: 42.56 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1461, allocations: 24.94 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1461, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1461, allocations: 34.56 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1461, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008752/0.147, allocations: 265.3 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1471, allocations: 55.41 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1473, allocations: 210.1 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1473, allocations: 33.7 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.1474, allocations: 104 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1474, allocations: 23.66 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1474, allocations: 0 / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1476, allocations: 330.8 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1476, allocations: 31.97 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.1477, allocations: 39.92 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.1478, allocations: 35.98 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1478, allocations: 0 / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002156/0.148, allocations: 125.5 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1481, allocations: 8 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1481, allocations: 0 / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1481, allocations: 0 / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1482, allocations: 27.92 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1482, allocations: 0 / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.1483, allocations: 12 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1483, allocations: 0 / 476.2 MB, free: 8.781 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 9.264e-05/0.1484, allocations: 134.3 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1484, allocations: 7.906 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1487, allocations: 138.7 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1487, allocations: 0 / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1487, allocations: 3.984 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1487, allocations: 3.938 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.1492, allocations: 435.1 kB / 477 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1492, allocations: 0 / 477 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.1493, allocations: 24.02 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1493, allocations: 0 / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.1493, allocations: 0 / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1493, allocations: 0 / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1494, allocations: 7.953 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1496, allocations: 216.3 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.1497, allocations: 96.86 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1497, allocations: 4 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1498, allocations: 7.984 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1498, allocations: 11.94 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.1498, allocations: 0 / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1499, allocations: 159.2 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1499, allocations: 4 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1502, allocations: 20 kB / 477.5 MB, free: 7.422 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.001352/0.1515, allocations: 1.099 MB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1518, allocations: 79.95 kB / 478.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1518, allocations: 0 / 478.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.1519, allocations: 47.91 kB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1522, allocations: 19.98 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1534, allocations: 0.7875 MB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1537, allocations: 0.7041 MB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.818e-05/0.1538, allocations: 32.58 kB / 480.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.1539, allocations: 31.42 kB / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1539, allocations: 0 / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.1682, allocations: 2.624 MB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.1685, allocations: 219.4 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.029, allocations: 3.938 kB / 483.1 MB, free: 1.953 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat does not exist to compare? outputFormat=mat