Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.0009406/0.0009406, allocations: 98.3 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.001202/0.001202, allocations: 188.6 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.461/1.461, allocations: 223.2 MB / 241.9 MB, free: 256 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.2237/0.2237, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005784, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1485, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002229/0.1508, allocations: 1.309 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.1518, allocations: 415.5 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1519, allocations: 0 / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007212/0.1526, allocations: 439.2 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.1531, allocations: 247.5 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.1537, allocations: 151.2 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.154, allocations: 131.7 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1541, allocations: 20.17 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1543, allocations: 99.78 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.1546, allocations: 167.7 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1546, allocations: 0 / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1547, allocations: 23.94 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1549, allocations: 83.75 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1549, allocations: 61.52 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1552, allocations: 207.8 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1552, allocations: 0 / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1552, allocations: 0 / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1553, allocations: 0 / 475 MB, free: 10.3 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.0008847/0.1561, allocations: 0.5833 MB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1562, allocations: 8.031 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.1563, allocations: 34.56 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.1564, allocations: 51.42 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1567, allocations: 279.4 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1567, allocations: 0 / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.1568, allocations: 15.86 kB / 475.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.157, allocations: 53.62 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.157, allocations: 3.984 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.157, allocations: 8 kB / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1571, allocations: 0 / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1572, allocations: 31.98 kB / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008255/0.158, allocations: 396.7 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1583, allocations: 54.48 kB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.1583, allocations: 20.86 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1584, allocations: 0 / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1584, allocations: 30.56 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.1584, allocations: 0 / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006995/0.1591, allocations: 264 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1592, allocations: 51.41 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009109/0.1601, allocations: 0.8691 MB / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1601, allocations: 29.64 kB / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.1603, allocations: 224.1 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1604, allocations: 15.75 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.1604, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1606, allocations: 374.7 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.1607, allocations: 23.98 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.1607, allocations: 23.98 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.1608, allocations: 27.98 kB / 478.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1608, allocations: 0 / 478.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002456/0.1611, allocations: 133 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1611, allocations: 4 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1611, allocations: 0 / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1612, allocations: 4 kB / 478.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.1612, allocations: 15.98 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1613, allocations: 4 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.1613, allocations: 4 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.1613, allocations: 0 / 478.5 MB, free: 6.473 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 (5): * Single equations (assignments): 5 * 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.0002404/0.1616, allocations: 218.2 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.1617, allocations: 43.44 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.162, allocations: 153 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.162, allocations: 0 / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.162, allocations: 4 kB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1621, allocations: 0 / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.1627, allocations: 478.7 kB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1627, allocations: 0 / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.1628, allocations: 23.98 kB / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1628, allocations: 0 / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1628, allocations: 4 kB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1628, allocations: 0 / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1629, allocations: 4 kB / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1632, allocations: 226.9 kB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.1633, allocations: 108.6 kB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1633, allocations: 4.219 kB / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1634, allocations: 15.98 kB / 479.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.1634, allocations: 0 / 479.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1635, allocations: 4 kB / 479.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007074/0.1642, allocations: 0.655 MB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1642, allocations: 0 / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1645, allocations: 23.98 kB / 480.5 MB, free: 4.426 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 (5): * Single equations (assignments): 5 * 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.00165/0.1661, allocations: 1.058 MB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1663, allocations: 67.95 kB / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1664, allocations: 0 / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.1664, allocations: 31.92 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1669, allocations: 26.3 kB / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.17, allocations: 2.357 MB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.1705, allocations: 0.8262 MB / 484.9 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.1706, allocations: 15.98 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.1708, allocations: 111.5 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1708, allocations: 0 / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.189, allocations: 5.436 MB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.1893, allocations: 227.5 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.146, allocations: 3.75 kB / 490.6 MB, free: 10.41 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat