Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.0009159/0.000916, allocations: 99.38 kB / 17 MB, free: 6.418 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.0009507/0.0009508, allocations: 191.4 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.423/1.423, allocations: 223.2 MB / 241.9 MB, free: 264 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.2263/0.2263, allocations: 44.23 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003683, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001912/0.1492, allocations: 1.317 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006555/0.1498, allocations: 419.6 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.1499, allocations: 0 / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.1504, allocations: 443.1 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.1507, allocations: 239.6 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1511, allocations: 153.6 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1512, allocations: 135.7 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.1513, allocations: 15.98 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.934e-05/0.1514, allocations: 107.7 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1516, allocations: 167.7 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1517, allocations: 8 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.1517, allocations: 20 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.1518, allocations: 87.69 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.1519, allocations: 61.52 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1521, allocations: 199.9 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1521, allocations: 3.938 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1521, allocations: 0 / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1521, allocations: 4 kB / 475 MB, free: 10.26 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.0006428/0.1528, allocations: 0.5988 MB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1528, allocations: 8.031 kB / 475.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.1529, allocations: 38.56 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1529, allocations: 39.44 kB / 475.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1532, allocations: 279.3 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.1532, allocations: 0 / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1532, allocations: 15.94 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1534, allocations: 61.66 kB / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1534, allocations: 4 kB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1534, allocations: 4 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1534, allocations: 0 / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1536, allocations: 47.91 kB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1541, allocations: 412.7 kB / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1542, allocations: 50.56 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.1543, allocations: 36.92 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1543, allocations: 0 / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1544, allocations: 38.44 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1544, allocations: 0 / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008432/0.1552, allocations: 343.8 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1553, allocations: 51.48 kB / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.1561, allocations: 0.8574 MB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1561, allocations: 29.7 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1562, allocations: 212.1 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1563, allocations: 27.64 kB / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1563, allocations: 0 / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1564, allocations: 374.8 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1566, allocations: 47.95 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1567, allocations: 43.97 kB / 478.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1568, allocations: 47.97 kB / 478.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1568, allocations: 0 / 478.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002924/0.1571, allocations: 177.3 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1571, allocations: 8 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1571, allocations: 4 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1572, allocations: 0 / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1573, allocations: 27.92 kB / 478.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1573, allocations: 4 kB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.1574, allocations: 11.98 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1574, allocations: 8 kB / 478.8 MB, free: 6.172 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 (7): * Single equations (assignments): 7 * 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.0001765/0.1576, allocations: 214.3 kB / 479 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.1576, allocations: 51.36 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.158, allocations: 197.3 kB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.158, allocations: 0 / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.158, allocations: 0 / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.158, allocations: 4 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.1587, allocations: 0.5219 MB / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1587, allocations: 0 / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.307e-05/0.1588, allocations: 23.98 kB / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1588, allocations: 0 / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1588, allocations: 0 / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1588, allocations: 3.938 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1588, allocations: 4 kB / 479.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1591, allocations: 278.8 kB / 480.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.1592, allocations: 112.5 kB / 480.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1593, allocations: 11.98 kB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1594, allocations: 8 kB / 480.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1594, allocations: 7.984 kB / 480.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1594, allocations: 288 / 480.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005757/0.16, allocations: 0.655 MB / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.16, allocations: 0 / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1603, allocations: 28 kB / 480.9 MB, free: 3.961 MB / 350.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 (7): * Single equations (assignments): 7 * 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.1616, allocations: 1.118 MB / 482.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1619, allocations: 111.9 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1619, allocations: 0 / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1621, allocations: 55.91 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1624, allocations: 21.95 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.1655, allocations: 2.442 MB / 484.7 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.1658, allocations: 0.8262 MB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.1659, allocations: 20.66 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1661, allocations: 119.4 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1661, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1834, allocations: 5.54 MB / 491.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1836, allocations: 227.1 kB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.092, allocations: 4 kB / 491.4 MB, free: 9.621 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat