Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001812/0.001812, allocations: 109.8 kB / 16.46 MB, free: 6.375 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.001546/0.001546, allocations: 188.2 kB / 17.39 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 207.6 MB / 225.8 MB, free: 11.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3545/0.3545, allocations: 44.24 MB / 319.9 MB, free: 12.85 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003688/0.003688, allocations: 69.3 kB / 453.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1663, allocations: 61 MB / 0.5025 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003655/0.17, allocations: 1.557 MB / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.1707, allocations: 319.5 kB / 0.5043 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.1708, allocations: 3.938 kB / 0.5043 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.1711, allocations: 27.84 kB / 0.5043 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1713, allocations: 39.8 kB / 0.5044 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1716, allocations: 71.83 kB / 0.5044 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1718, allocations: 51.84 kB / 0.5045 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1719, allocations: 15.98 kB / 0.5045 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.1719, allocations: 19.86 kB / 0.5045 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.172, allocations: 23.84 kB / 0.5045 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.172, allocations: 0 / 0.5045 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1721, allocations: 35.98 kB / 0.5046 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1722, allocations: 7.938 kB / 0.5046 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.1722, allocations: 23.88 kB / 0.5046 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.1725, allocations: 75.66 kB / 0.5047 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1725, allocations: 0 / 0.5047 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1725, allocations: 4 kB / 0.5047 GB, free: 9.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1725, allocations: 0 / 0.5047 GB, free: 9.766 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005653/0.173, allocations: 375 kB / 0.505 GB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.1731, allocations: 15.89 kB / 0.505 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.1731, allocations: 30.75 kB / 0.5051 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1732, allocations: 8.891 kB / 0.5051 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1734, allocations: 196.1 kB / 0.5053 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1734, allocations: 4.312 kB / 0.5053 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1735, allocations: 384 / 0.5053 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1736, allocations: 57.62 kB / 0.5053 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1736, allocations: 0 / 0.5053 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.1736, allocations: 0 / 0.5053 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1736, allocations: 0 / 0.5053 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/0.1737, allocations: 31.91 kB / 0.5054 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1741, allocations: 268.9 kB / 0.5056 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1744, allocations: 38.56 kB / 0.5056 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.1744, allocations: 20.92 kB / 0.5057 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1745, allocations: 3.938 kB / 0.5057 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1745, allocations: 34.56 kB / 0.5057 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1745, allocations: 0 / 0.5057 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005902/0.1751, allocations: 141.4 kB / 0.5058 GB, free: 8.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1751, allocations: 55.41 kB / 0.5059 GB, free: 8.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1753, allocations: 142.1 kB / 0.506 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1753, allocations: 25.7 kB / 0.5061 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.1754, allocations: 96.12 kB / 0.5061 GB, free: 8.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1754, allocations: 15.8 kB / 0.5062 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1754, allocations: 25.7 kB / 0.5062 GB, free: 7.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1756, allocations: 322.8 kB / 0.5065 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.1757, allocations: 23.92 kB / 0.5065 GB, free: 7.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.1757, allocations: 15.98 kB / 0.5065 GB, free: 7.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1759, allocations: 44.83 kB / 0.5066 GB, free: 7.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1759, allocations: 0 / 0.5066 GB, free: 7.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001902/0.1761, allocations: 85.56 kB / 0.5067 GB, free: 7.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1761, allocations: 4 kB / 0.5067 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1761, allocations: 0 / 0.5067 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1761, allocations: 0 / 0.5067 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.1762, allocations: 15.98 kB / 0.5067 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1762, allocations: 0 / 0.5067 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.1762, allocations: 7.984 kB / 0.5067 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1762, allocations: 7.938 kB / 0.5067 GB, free: 7.461 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.1763, allocations: 121.8 kB / 0.5068 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.1764, allocations: 7.953 kB / 0.5068 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1766, allocations: 98.08 kB / 0.5069 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1766, allocations: 4 kB / 0.5069 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1766, allocations: 0 / 0.5069 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1766, allocations: 0 / 0.5069 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.1771, allocations: 338.5 kB / 0.5072 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1771, allocations: 4 kB / 0.5072 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.1771, allocations: 11.98 kB / 0.5072 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1771, allocations: 0 / 0.5072 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1771, allocations: 7.938 kB / 0.5073 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1771, allocations: 3.938 kB / 0.5073 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.1772, allocations: 4 kB / 0.5073 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1774, allocations: 175.5 kB / 0.5074 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1775, allocations: 85.06 kB / 0.5075 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1775, allocations: 0 / 0.5075 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.1775, allocations: 7.938 kB / 0.5075 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1776, allocations: 3.984 kB / 0.5075 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1776, allocations: 4 kB / 0.5075 GB, free: 6.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.1777, allocations: 111.2 kB / 0.5076 GB, free: 6.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 0.5076 GB, free: 6.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.178, allocations: 12 kB / 0.5076 GB, free: 6.371 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001979/0.1799, allocations: 1.008 MB / 0.5086 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1801, allocations: 47.97 kB / 0.5087 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1801, allocations: 0 / 0.5087 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.1802, allocations: 27.92 kB / 0.5087 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1806, allocations: 15.92 kB / 0.5087 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1824, allocations: 1.409 MB / 0.5101 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1827, allocations: 0.6924 MB / 0.5108 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1828, allocations: 8.25 kB / 0.5108 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.1828, allocations: 23.42 kB / 0.5108 GB, free: 3.062 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1828, allocations: 0 / 0.5108 GB, free: 3.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.2076, allocations: 2.462 MB / 0.5132 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.28, allocations: 11.91 kB / 0.5132 GB, free: 0.5742 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches