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.001137/0.001137, allocations: 105 kB / 16.4 MB, free: 6.504 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.00129/0.00129, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2242/0.2242, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.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.001704/0.001704, allocations: 73.89 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1549, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00378/0.1587, allocations: 1.558 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.1597, allocations: 319.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1599, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.1602, allocations: 19.86 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1606, allocations: 43.83 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1609, allocations: 63.8 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1611, allocations: 55.83 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1613, allocations: 23.92 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.1613, allocations: 23.91 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.1614, allocations: 11.94 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1615, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1616, allocations: 35.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.1617, allocations: 19.91 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.1617, allocations: 15.88 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.162, allocations: 71.73 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.162, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.162, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.162, allocations: 0 / 0.4896 GB, free: 10 MB / 382.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.0005929/0.1626, allocations: 375.2 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1626, allocations: 11.89 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.1627, allocations: 34.75 kB / 0.49 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1627, allocations: 8.844 kB / 0.49 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.163, allocations: 184.2 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.163, allocations: 384 / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.1631, allocations: 12.36 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1633, allocations: 45.62 kB / 0.4902 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1633, allocations: 4 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1633, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1633, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.1634, allocations: 19.98 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1638, allocations: 284.7 kB / 0.4905 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1641, allocations: 46.56 kB / 0.4906 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1641, allocations: 16.94 kB / 0.4906 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1642, allocations: 0 / 0.4906 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1642, allocations: 34.56 kB / 0.4906 GB, free: 8.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1642, allocations: 0 / 0.4906 GB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007757/0.165, allocations: 133.4 kB / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1651, allocations: 55.41 kB / 0.4908 GB, free: 8.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1652, allocations: 146 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1653, allocations: 25.7 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.1653, allocations: 92.12 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1654, allocations: 19.66 kB / 0.4911 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1654, allocations: 17.72 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1656, allocations: 334.7 kB / 0.4914 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.1656, allocations: 11.98 kB / 0.4914 GB, free: 7.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.1657, allocations: 19.98 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1659, allocations: 53.02 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1659, allocations: 0 / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.1661, allocations: 77.52 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1661, allocations: 12 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1661, allocations: 288 / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1661, allocations: 0 / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.1662, allocations: 15.92 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1662, allocations: 0 / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.1662, allocations: 4 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.1663, allocations: 7.938 kB / 0.4916 GB, free: 7.703 MB / 382.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 8.349e-05/0.1664, allocations: 121.8 kB / 0.4917 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1664, allocations: 7.984 kB / 0.4917 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1666, allocations: 97.86 kB / 0.4918 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1667, allocations: 0 / 0.4918 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1667, allocations: 0 / 0.4918 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.1667, allocations: 4 kB / 0.4918 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1671, allocations: 338.5 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1671, allocations: 0 / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1672, allocations: 19.98 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1672, allocations: 0 / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1672, allocations: 0 / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1672, allocations: 4.125 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1672, allocations: 0 / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1675, allocations: 179.4 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1675, allocations: 81.11 kB / 0.4924 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1676, allocations: 7.984 kB / 0.4924 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.1676, allocations: 11.94 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1677, allocations: 3.938 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1677, allocations: 3.984 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.78e-05/0.1678, allocations: 107.3 kB / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1678, allocations: 0 / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1681, allocations: 20 kB / 0.4926 GB, free: 6.605 MB / 382.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.001636/0.1697, allocations: 1.008 MB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.17, allocations: 43.97 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.17, allocations: 0 / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.1701, allocations: 27.98 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1705, allocations: 19.86 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1725, allocations: 1.401 MB / 0.495 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.173, allocations: 0.6923 MB / 0.4957 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.203e-05/0.173, allocations: 11.98 kB / 0.4957 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.1731, allocations: 19.44 kB / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1731, allocations: 0 / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1947, allocations: 2.462 MB / 0.4981 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.908, allocations: 19.89 kB / 0.4981 GB, free: 0.8008 MB / 382.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