Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",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.00114/0.00114, allocations: 95.34 kB / 15.68 MB, free: 488 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.001443/0.001443, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.742/1.742, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4022/0.4022, allocations: 43.55 MB / 314.5 MB, free: 9.035 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.00056/0.0005603, allocations: 20 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1414, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002737/0.1442, allocations: 1.618 MB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1455, allocations: 0.546 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.1456, allocations: 4 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.1461, allocations: 231.4 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.1465, allocations: 175.6 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.1474, allocations: 403.2 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.1478, allocations: 179.6 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.148, allocations: 52.98 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1481, allocations: 103.6 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1483, allocations: 139.5 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1484, allocations: 7.938 kB / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1485, allocations: 43.92 kB / 446.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1486, allocations: 79.72 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.1487, allocations: 61.52 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.149, allocations: 231.5 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.149, allocations: 0 / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.149, allocations: 0 / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.149, allocations: 0 / 446.7 MB, free: 9.336 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.0008608/0.1499, allocations: 0.5912 MB / 447.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.15, allocations: 15.95 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.15, allocations: 42.56 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.1501, allocations: 43.48 kB / 447.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1505, allocations: 301.3 kB / 447.7 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1505, allocations: 8 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1506, allocations: 8 kB / 447.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1508, allocations: 117.5 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1509, allocations: 0 / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.1509, allocations: 7.984 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1509, allocations: 7.953 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.1511, allocations: 67.95 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.1519, allocations: 0.4925 MB / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.1521, allocations: 98.36 kB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1521, allocations: 4 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.1522, allocations: 34.56 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1522, allocations: 4 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001009/0.1532, allocations: 387.9 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.1533, allocations: 67.34 kB / 449 MB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.1539, allocations: 0.537 MB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.154, allocations: 25.92 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1541, allocations: 204.3 kB / 449.7 MB, free: 6.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.1542, allocations: 67.03 kB / 449.8 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.1542, allocations: 4 kB / 449.8 MB, free: 6.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1544, allocations: 350.8 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1545, allocations: 47.98 kB / 450.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1546, allocations: 59.91 kB / 450.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1548, allocations: 59.42 kB / 450.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1548, allocations: 0 / 450.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003324/0.1551, allocations: 205.1 kB / 450.5 MB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1552, allocations: 4 kB / 450.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1552, allocations: 4 kB / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1552, allocations: 0 / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1554, allocations: 31.98 kB / 450.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1554, allocations: 3.938 kB / 450.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.1555, allocations: 23.94 kB / 450.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1555, allocations: 4 kB / 450.6 MB, free: 5.223 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.0001945/0.1557, allocations: 169.8 kB / 450.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.1558, allocations: 43.52 kB / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.1562, allocations: 249.3 kB / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1562, allocations: 4 kB / 451 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1563, allocations: 0 / 451 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1563, allocations: 0 / 451 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.1571, allocations: 0.6309 MB / 451.6 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1571, allocations: 4 kB / 451.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1573, allocations: 35.97 kB / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1573, allocations: 0 / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1573, allocations: 7.953 kB / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1573, allocations: 0 / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1573, allocations: 0 / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1577, allocations: 310.3 kB / 452 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1578, allocations: 124.6 kB / 452.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1579, allocations: 0 / 452.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.158, allocations: 31.81 kB / 452.2 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.158, allocations: 7.984 kB / 452.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1581, allocations: 8 kB / 452.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.1585, allocations: 407.1 kB / 452.6 MB, free: 3.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1585, allocations: 0 / 452.6 MB, free: 3.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1588, allocations: 55.89 kB / 452.6 MB, free: 3.062 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.002255/0.1611, allocations: 1.436 MB / 454.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1614, allocations: 139.9 kB / 454.2 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1614, allocations: 0 / 454.2 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1616, allocations: 79.91 kB / 454.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.162, allocations: 65.45 kB / 454.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2219/0.384, allocations: 1.914 MB / 456.2 MB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3843, allocations: 0.8146 MB / 457.1 MB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.3845, allocations: 42.88 kB / 457.1 MB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3846, allocations: 126.5 kB / 457.2 MB, free: 45.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3846, allocations: 4.562 kB / 457.2 MB, free: 45.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.4034, allocations: 6.539 MB / 463.8 MB, free: 44.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.4036, allocations: 217.8 kB / 464 MB, free: 44.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.269, allocations: 0 / 464 MB, free: 44.68 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat