Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.00085/0.00085, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 177 kB / 16.58 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 222.8 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3766/0.3766, allocations: 43.54 MB / 314.6 MB, free: 9.059 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005402, allocations: 16 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002784/0.1324, allocations: 1.61 MB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1339, allocations: 0.6319 MB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.134, allocations: 0 / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.1346, allocations: 243.4 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.135, allocations: 171.5 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1361, allocations: 411.3 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1365, allocations: 235.3 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1367, allocations: 56.97 kB / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1369, allocations: 107.5 kB / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.1371, allocations: 155.4 kB / 446.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1371, allocations: 4 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1373, allocations: 55.92 kB / 446.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1374, allocations: 79.72 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1375, allocations: 65.52 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1378, allocations: 223.5 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1378, allocations: 0 / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1378, allocations: 0 / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1379, allocations: 0 / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008531/0.1387, allocations: 0.599 MB / 447.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.1388, allocations: 11.97 kB / 447.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.1388, allocations: 46.55 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.1389, allocations: 43.48 kB / 447.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.1393, allocations: 293.3 kB / 447.9 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1394, allocations: 15.92 kB / 447.9 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1394, allocations: 8 kB / 447.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.1397, allocations: 109.5 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1397, allocations: 7.984 kB / 448 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1397, allocations: 4 kB / 448 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1398, allocations: 7.953 kB / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.14, allocations: 71.95 kB / 448.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.1407, allocations: 0.4886 MB / 448.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1409, allocations: 94.42 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.141, allocations: 36.84 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.141, allocations: 0 / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1411, allocations: 38.56 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1411, allocations: 0 / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009756/0.1421, allocations: 400 kB / 449.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.1421, allocations: 63.34 kB / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.1428, allocations: 0.537 MB / 449.7 MB, free: 6.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1428, allocations: 25.7 kB / 449.8 MB, free: 6.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.143, allocations: 208.3 kB / 450 MB, free: 5.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.1431, allocations: 63.09 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1431, allocations: 0 / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.1433, allocations: 350.8 kB / 450.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1434, allocations: 51.98 kB / 450.4 MB, free: 5.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1436, allocations: 59.91 kB / 450.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1437, allocations: 59.42 kB / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1437, allocations: 0 / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003619/0.1441, allocations: 205.1 kB / 450.7 MB, free: 5.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1442, allocations: 4 kB / 450.7 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1442, allocations: 0 / 450.7 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.1442, allocations: 7.984 kB / 450.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1444, allocations: 35.92 kB / 450.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.1444, allocations: 3.953 kB / 450.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.1445, allocations: 15.98 kB / 450.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1445, allocations: 8 kB / 450.8 MB, free: 4.988 MB / 382.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 (17): * Single equations (assignments): 17 * 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.0002537/0.1448, allocations: 169.8 kB / 451 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.1449, allocations: 39.52 kB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.1454, allocations: 257.3 kB / 451.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1454, allocations: 0 / 451.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1454, allocations: 4 kB / 451.3 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1454, allocations: 3.953 kB / 451.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/0.1464, allocations: 0.6305 MB / 451.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1464, allocations: 0 / 451.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1465, allocations: 39.97 kB / 451.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1465, allocations: 3.953 kB / 451.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1466, allocations: 4 kB / 451.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1466, allocations: 0 / 451.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1466, allocations: 4 kB / 452 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.147, allocations: 302.9 kB / 452.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/0.1471, allocations: 124.5 kB / 452.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1471, allocations: 7.953 kB / 452.4 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.1472, allocations: 15.98 kB / 452.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1473, allocations: 11.98 kB / 452.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1473, allocations: 4 kB / 452.4 MB, free: 3.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.1477, allocations: 411.1 kB / 452.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1477, allocations: 0 / 452.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.1481, allocations: 55.89 kB / 452.9 MB, free: 2.828 MB / 382.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 (17): * Single equations (assignments): 17 * 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.00212/0.1502, allocations: 1.428 MB / 454.3 MB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1505, allocations: 139.9 kB / 454.4 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1505, allocations: 0 / 454.4 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1507, allocations: 79.91 kB / 454.5 MB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.1512, allocations: 65.45 kB / 454.6 MB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2116/0.3627, allocations: 1.965 MB / 456.5 MB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3631, allocations: 0.8091 MB / 457.3 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.3633, allocations: 47.19 kB / 457.4 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.3634, allocations: 122.7 kB / 457.5 MB, free: 45.18 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3634, allocations: 0 / 457.5 MB, free: 45.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.3809, allocations: 6.571 MB / 464.1 MB, free: 44.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.3812, allocations: 221.7 kB / 464.3 MB, free: 44.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.164, allocations: 0 / 464.3 MB, free: 44.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat