Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.0009819/0.000982, allocations: 92.48 kB / 17 MB, free: 6.07 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.001253/0.001252, allocations: 175.1 kB / 17.88 MB, free: 5.672 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.362/1.362, allocations: 223.2 MB / 241.9 MB, free: 308 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.2148/0.2148, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 61.94 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002189/0.1567, allocations: 1.318 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.1577, allocations: 0.6408 MB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.1577, allocations: 4 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1579, allocations: 19.91 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1582, allocations: 27.91 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.127e-06/0.1582, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1584, allocations: 39.91 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1584, allocations: 8 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.1584, allocations: 11.92 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.1585, allocations: 23.92 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1585, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.1586, allocations: 11.98 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.1586, allocations: 15.94 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.1587, allocations: 29.7 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.1588, allocations: 60.06 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1588, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1588, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1588, allocations: 4 kB / 473.9 MB, free: 11.39 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003666/0.1592, allocations: 351.2 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1593, allocations: 8.031 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.1593, allocations: 42.5 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.1593, allocations: 3.906 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1595, allocations: 178.9 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1595, allocations: 4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1595, allocations: 3.953 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1597, allocations: 129 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1597, allocations: 4 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1597, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.1598, allocations: 31.91 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.1599, allocations: 43.91 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.1606, allocations: 0.8906 MB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/0.1607, allocations: 173.1 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.1607, allocations: 80.14 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1607, allocations: 75.28 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.1608, allocations: 109.9 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1608, allocations: 3.938 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.279e-05/0.1609, allocations: 33.61 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1609, allocations: 130.7 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1611, allocations: 190 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1612, allocations: 29.7 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1613, allocations: 143.2 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-06/0.1613, allocations: 3.984 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.1613, allocations: 4 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1614, allocations: 322.8 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.1615, allocations: 35.92 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1616, allocations: 153.1 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1617, allocations: 67.92 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1617, allocations: 0 / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003083/0.1621, allocations: 197.2 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1621, allocations: 11.94 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1621, allocations: 4 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1621, allocations: 8 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1623, allocations: 35.92 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1623, allocations: 4 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.1624, allocations: 28.27 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1624, allocations: 16 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001303/0.1625, allocations: 217.5 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.1626, allocations: 108.9 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.1627, allocations: 120.8 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-05/0.1627, allocations: 180.3 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-05/0.1628, allocations: 184.2 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/0.1629, allocations: 176.3 kB / 478.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.1632, allocations: 425.2 kB / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.842e-05/0.1632, allocations: 104.9 kB / 478.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.1633, allocations: 113 kB / 479 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-05/0.1633, allocations: 184.2 kB / 479.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.1634, allocations: 180.3 kB / 479.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.075e-05/0.1635, allocations: 180.2 kB / 479.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.989e-05/0.1636, allocations: 180.3 kB / 479.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1637, allocations: 323.5 kB / 480 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1638, allocations: 190 kB / 480.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.1639, allocations: 180.2 kB / 480.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.164, allocations: 109 kB / 480.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.1641, allocations: 180.3 kB / 480.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.1641, allocations: 104.9 kB / 480.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1642, allocations: 132 kB / 480.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 4 kB / 480.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.1645, allocations: 16 kB / 480.9 MB, free: 3.824 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 (0): * Single equations (assignments): 0 * 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.0008883/0.1654, allocations: 0.8987 MB / 481.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1656, allocations: 76.11 kB / 481.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1656, allocations: 0 / 481.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.1656, allocations: 3.938 kB / 481.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.166, allocations: 0.5373 MB / 482.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.167, allocations: 0.7606 MB / 483.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1674, allocations: 0.7048 MB / 483.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.1676, allocations: 45.03 kB / 483.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.1677, allocations: 35.36 kB / 483.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1677, allocations: 0 / 483.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.1823, allocations: 1.907 MB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1826, allocations: 223.8 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.003, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat