Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.0007756/0.0007758, allocations: 99.72 kB / 17 MB, free: 6.844 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.001148/0.001148, allocations: 186.7 kB / 17.89 MB, free: 6.078 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.385/1.385, allocations: 223.2 MB / 241.9 MB, free: 328 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.1987/0.1987, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002365/0.1515, allocations: 1.313 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.1523, allocations: 383.6 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.1524, allocations: 4 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1527, allocations: 91.73 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1529, allocations: 59.86 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1533, allocations: 99.56 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1535, allocations: 79.8 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1536, allocations: 23.98 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.441e-05/0.1537, allocations: 35.84 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1539, allocations: 47.83 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1539, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.154, allocations: 39.97 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.1541, allocations: 23.92 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.1541, allocations: 37.64 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1543, allocations: 92.08 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1544, allocations: 7.938 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1544, allocations: 0 / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1544, allocations: 3.938 kB / 474 MB, free: 11.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007787/0.1552, allocations: 410.9 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1552, allocations: 11.97 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.1553, allocations: 38.56 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.1554, allocations: 15.8 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1557, allocations: 202.9 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1557, allocations: 8 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1557, allocations: 11.95 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1559, allocations: 69.67 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.156, allocations: 0 / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.156, allocations: 0 / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.156, allocations: 4 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1561, allocations: 55.89 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.1567, allocations: 340.6 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1569, allocations: 70.48 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.157, allocations: 28.86 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.157, allocations: 3.984 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.1571, allocations: 34.56 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1571, allocations: 0 / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001299/0.1584, allocations: 369.5 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.1584, allocations: 55.36 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.1588, allocations: 235.1 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.1589, allocations: 29.7 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.159, allocations: 112.1 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.1591, allocations: 39.36 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.1591, allocations: 8 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.1594, allocations: 322.8 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1595, allocations: 47.97 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1596, allocations: 51.97 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1597, allocations: 50.36 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1597, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003073/0.1601, allocations: 165.5 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1601, allocations: 4 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1601, allocations: 3.984 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1601, allocations: 4 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1603, allocations: 27.92 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.1603, allocations: 7.953 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1604, allocations: 12 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1604, allocations: 4 kB / 476.8 MB, free: 8.281 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 (13): * Single equations (assignments): 13 * 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.0001796/0.1606, allocations: 130.4 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.1606, allocations: 15.81 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.1611, allocations: 199 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1611, allocations: 3.938 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1611, allocations: 0 / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.1611, allocations: 7.953 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.1619, allocations: 0.4913 MB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1619, allocations: 7.984 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.162, allocations: 23.98 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1621, allocations: 3.953 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1621, allocations: 8 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1621, allocations: 3.938 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1621, allocations: 8.031 kB / 477.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1625, allocations: 258.3 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.1626, allocations: 89 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1627, allocations: 11.95 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1627, allocations: 8 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.1628, allocations: 7.984 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1628, allocations: 4 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.163, allocations: 175.2 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.163, allocations: 0 / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1633, allocations: 28 kB / 478.2 MB, free: 6.711 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 (13): * Single equations (assignments): 13 * 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.001915/0.1652, allocations: 1.147 MB / 479.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.1655, allocations: 119.9 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1656, allocations: 4 kB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1657, allocations: 67.84 kB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1661, allocations: 23.88 kB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.1678, allocations: 0.9446 MB / 480.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.1683, allocations: 0.7238 MB / 481.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.215e-05/0.1684, allocations: 28.53 kB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.1685, allocations: 43.42 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1685, allocations: 0 / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.1848, allocations: 3.034 MB / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.1851, allocations: 230.8 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.097, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat does not exist to compare? outputFormat=mat