Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.0008282/0.0008281, allocations: 98.42 kB / 17 MB, free: 6.477 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.0007999/0.0008001, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.41/1.41, allocations: 223.2 MB / 241.9 MB, free: 336 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.1887/0.1887, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004249, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003192/0.168, allocations: 1.313 MB / 473 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000874/0.1689, allocations: 375.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.169, allocations: 4 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1694, allocations: 91.75 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1696, allocations: 59.84 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1699, allocations: 75.84 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1702, allocations: 75.81 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1703, allocations: 19.98 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.1704, allocations: 35.84 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1706, allocations: 47.81 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1706, allocations: 4 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1707, allocations: 35.98 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.1708, allocations: 27.92 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.1709, allocations: 33.64 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1711, allocations: 92.14 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1711, allocations: 3.938 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1711, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1711, allocations: 0 / 473.9 MB, free: 11.36 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007378/0.1719, allocations: 414.8 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.1719, allocations: 8.031 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.172, allocations: 38.5 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.1721, allocations: 15.91 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1724, allocations: 206.8 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1724, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.1725, allocations: 11.95 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1727, allocations: 65.66 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1727, allocations: 0 / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1727, allocations: 4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1727, allocations: 4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1729, allocations: 51.84 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.1735, allocations: 320.7 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1736, allocations: 66.48 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.1737, allocations: 28.86 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.1737, allocations: 160 / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1738, allocations: 42.55 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.1738, allocations: 0 / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.1749, allocations: 328.3 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.175, allocations: 55.36 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1752, allocations: 231.2 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1752, allocations: 29.7 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1753, allocations: 120 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.1754, allocations: 43.34 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.1754, allocations: 0 / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1755, allocations: 334.8 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1757, allocations: 43.91 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.1757, allocations: 39.98 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/0.1758, allocations: 43.98 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1759, allocations: 4 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.1761, allocations: 129.6 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1761, allocations: 8 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1761, allocations: 112 / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1762, allocations: 3.938 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1763, allocations: 31.98 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1763, allocations: 7.938 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.1764, allocations: 11.94 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1764, allocations: 4 kB / 476.6 MB, free: 8.434 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.0001218/0.1765, allocations: 130.4 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1766, allocations: 19.81 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.1769, allocations: 173.9 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1769, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1769, allocations: 3.938 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.177, allocations: 7.891 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.1776, allocations: 475.2 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1776, allocations: 4 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.1777, allocations: 27.98 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1777, allocations: 3.953 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1777, allocations: 4 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1777, allocations: 7.969 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1777, allocations: 7.984 kB / 477.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.178, allocations: 248.1 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.1781, allocations: 92.92 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1782, allocations: 11.94 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1782, allocations: 4 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1783, allocations: 11.98 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1783, allocations: 11.98 kB / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1785, allocations: 171.2 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1785, allocations: 0 / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1787, allocations: 20 kB / 478 MB, free: 6.918 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.001563/0.1803, allocations: 1.126 MB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.1806, allocations: 111.9 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1806, allocations: 0 / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1807, allocations: 51.92 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1811, allocations: 23.94 kB / 479.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1826, allocations: 0.8862 MB / 480.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.183, allocations: 0.7199 MB / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.089e-05/0.1831, allocations: 24.53 kB / 481 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.1831, allocations: 39.42 kB / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1832, allocations: 0 / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1994, allocations: 2.951 MB / 483.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.1997, allocations: 229.6 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.096, allocations: 0 / 484.2 MB, free: 0.9375 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat