Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001161/0.001162, allocations: 93.92 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.001399/0.001399, allocations: 186.9 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 384 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.2298/0.2298, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003478, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001985/0.139, allocations: 1.322 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.1397, allocations: 383.5 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.1398, allocations: 0 / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.1404, allocations: 435.2 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1407, allocations: 243.5 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.1411, allocations: 119.2 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1413, allocations: 115.7 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1414, allocations: 19.97 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1416, allocations: 103.7 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1418, allocations: 139.8 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1419, allocations: 3.938 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.142, allocations: 31.98 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1421, allocations: 79.73 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.1421, allocations: 73.45 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1424, allocations: 199.9 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1424, allocations: 4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1424, allocations: 0 / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1425, allocations: 0 / 474.8 MB, free: 10.41 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.001001/0.1435, allocations: 0.591 MB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.086e-05/0.1435, allocations: 8.031 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.1436, allocations: 34.56 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.1437, allocations: 43.44 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.1441, allocations: 275.4 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1441, allocations: 7.938 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1441, allocations: 15.86 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1443, allocations: 57.67 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1444, allocations: 0 / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1444, allocations: 0 / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1444, allocations: 0 / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1445, allocations: 27.98 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.145, allocations: 412.5 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1452, allocations: 42.56 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1452, allocations: 4 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1452, allocations: 38.59 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1452, allocations: 0 / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009571/0.1462, allocations: 324 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1462, allocations: 51.41 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.1471, allocations: 0.8691 MB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1471, allocations: 29.7 kB / 477.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1473, allocations: 231.9 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1473, allocations: 19.7 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1474, allocations: 4 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1475, allocations: 366.7 kB / 478.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.1476, allocations: 27.98 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.1477, allocations: 31.98 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.1478, allocations: 27.98 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1478, allocations: 0 / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002347/0.148, allocations: 145.3 kB / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.148, allocations: 12 kB / 478.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.148, allocations: 80 / 478.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1481, allocations: 0 / 478.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1482, allocations: 23.98 kB / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1482, allocations: 3.984 kB / 478.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.1483, allocations: 11.92 kB / 478.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1483, allocations: 7.953 kB / 478.5 MB, free: 6.488 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.0001996/0.1485, allocations: 214.3 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.1485, allocations: 43.44 kB / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.1489, allocations: 169.8 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1489, allocations: 0 / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1489, allocations: 4 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1489, allocations: 3.984 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.1496, allocations: 0.5031 MB / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1496, allocations: 0 / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.1497, allocations: 24.02 kB / 479.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1497, allocations: 0 / 479.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1497, allocations: 8 kB / 479.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1497, allocations: 0 / 479.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1497, allocations: 3.953 kB / 479.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.15, allocations: 257.5 kB / 479.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.1501, allocations: 116.5 kB / 479.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1501, allocations: 4 kB / 479.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.1502, allocations: 7.953 kB / 479.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1503, allocations: 11.92 kB / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1503, allocations: 8 kB / 479.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006374/0.1509, allocations: 0.655 MB / 480.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 0 / 480.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1512, allocations: 28 kB / 480.5 MB, free: 4.324 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.001588/0.1528, allocations: 1.21 MB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.153, allocations: 79.92 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.153, allocations: 0 / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.1531, allocations: 43.98 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1534, allocations: 21.95 kB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.1564, allocations: 2.283 MB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.1569, allocations: 0.834 MB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.157, allocations: 20.42 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1571, allocations: 103.4 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1571, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.1734, allocations: 5.654 MB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.1736, allocations: 235.8 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.95, allocations: 0 / 491 MB, free: 10.01 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat does not exist to compare? outputFormat=mat